Rename clear_screen() to input_clear_screen()
This matches input_unclear_screen(), and avoids a clash with the clear_screen identifier defined in terminfo's <term.h>.
This commit is contained in:
@@ -1300,10 +1300,10 @@ BUILT_IN_KEYBINDING(type_text)
|
||||
}
|
||||
|
||||
/*
|
||||
* clear_screen: the CLEAR_SCREEN function for BIND. Clears the screen and
|
||||
* input_clear_screen: the CLEAR_SCREEN function for BIND. Clears the screen and
|
||||
* starts it if it is held
|
||||
*/
|
||||
BUILT_IN_KEYBINDING(clear_screen)
|
||||
BUILT_IN_KEYBINDING(input_clear_screen)
|
||||
{
|
||||
set_hold_mode(NULL, OFF, 1);
|
||||
clear_window_by_refnum(0);
|
||||
|
||||
Reference in New Issue
Block a user