less: disable _ command, it's useless bloat
This commit is contained in:
parent
bdd2d8f178
commit
7b32e8f0bf
@ -1211,6 +1211,7 @@ static void flag_change(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef BLOAT
|
||||||
static void show_flag_status(void)
|
static void show_flag_status(void)
|
||||||
{
|
{
|
||||||
int keypress;
|
int keypress;
|
||||||
@ -1246,6 +1247,8 @@ static void show_flag_status(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* ENABLE_FEATURE_LESS_DASHCMD */
|
||||||
|
|
||||||
static void save_input_to_file(void)
|
static void save_input_to_file(void)
|
||||||
{
|
{
|
||||||
const char *msg = "";
|
const char *msg = "";
|
||||||
@ -1450,10 +1453,12 @@ static void keypress_process(int keypress)
|
|||||||
flag_change();
|
flag_change();
|
||||||
buffer_print();
|
buffer_print();
|
||||||
break;
|
break;
|
||||||
|
#ifdef BLOAT
|
||||||
case '_':
|
case '_':
|
||||||
show_flag_status();
|
show_flag_status();
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#if ENABLE_FEATURE_LESS_BRACKETS
|
#if ENABLE_FEATURE_LESS_BRACKETS
|
||||||
case '{': case '(': case '[':
|
case '{': case '(': case '[':
|
||||||
match_right_bracket(keypress);
|
match_right_bracket(keypress);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user