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:
Kevin Easton
2018-12-10 23:29:45 +11:00
parent 902ee7c455
commit 9524f8996c
3 changed files with 4 additions and 4 deletions

View File

@@ -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);