@@ -136,7 +136,7 @@ def __init__(self, locals_=None, config=None, stuff_a_refresh_request=lambda: No
136136 if config .cli_suggestion_width <= 0 or config .cli_suggestion_width > 1 :
137137 config .cli_suggestion_width = 1
138138
139- self .status_bar = StatusBar (banner if config .scroll_fill_terminal else '' , _ (
139+ self .status_bar = StatusBar (banner if config .curtsies_fill_terminal else '' , _ (
140140 " <%s> Rewind <%s> Save <%s> Pastebin <%s> Editor"
141141 ) % (config .undo_key , config .save_key , config .pastebin_key , config .external_editor_key ))
142142 self .rl_char_sequences = get_updated_char_sequences (key_dispatch , config )
@@ -612,14 +612,14 @@ def paint(self, about_to_exit=False):
612612 self .clean_up_current_line_for_exit () # exception to not changing state!
613613
614614 width , min_height = self .width , self .height
615- show_status_bar = bool (self .status_bar ._message ) or (self .config .scroll_fill_terminal or self .status_bar .has_focus )
615+ show_status_bar = bool (self .status_bar ._message ) or (self .config .curtsies_fill_terminal or self .status_bar .has_focus )
616616 if show_status_bar :
617617 min_height -= 1
618618
619619 current_line_start_row = len (self .lines_for_display ) - max (0 , self .scroll_offset )
620620 if self .request_paint_to_clear_screen : # or show_status_bar and about_to_exit ?
621621 self .request_paint_to_clear_screen = False
622- if self .config .scroll_fill_terminal : #TODO clean up this logic - really necessary check?
622+ if self .config .cursties_fill_terminal : #TODO clean up this logic - really necessary check?
623623 arr = FSArray (self .height - 1 + current_line_start_row , width )
624624 else :
625625 arr = FSArray (self .height + current_line_start_row , width )
@@ -683,15 +683,15 @@ def paint(self, about_to_exit=False):
683683 info_max_rows = max (visible_space_above , visible_space_below )
684684 infobox = paint .paint_infobox (info_max_rows , int (width * self .config .cli_suggestion_width ), self .matches , self .argspec , self .current_word , self .docstring , self .config )
685685
686- if visible_space_above >= infobox .height and self .config .scroll_list_above :
686+ if visible_space_above >= infobox .height and self .config .curtsies_list_above :
687687 arr [current_line_start_row - infobox .height :current_line_start_row , 0 :infobox .width ] = infobox
688688 else :
689689 arr [cursor_row + 1 :cursor_row + 1 + infobox .height , 0 :infobox .width ] = infobox
690690 logging .debug ('slamming infobox of shape %r into arr of shape %r' , infobox .shape , arr .shape )
691691
692692 logging .debug ('about to exit: %r' , about_to_exit )
693693 if show_status_bar :
694- if self .config .scroll_fill_terminal :
694+ if self .config .curtsies_fill_terminal :
695695 if about_to_exit :
696696 arr [max (arr .height , min_height ), :] = FSArray (1 , width )
697697 else :
0 commit comments