tweaks: rename a function, to better state what it does
parent
18f13c3a75
commit
769504c495
|
@ -2696,8 +2696,8 @@ int main(int argc, char **argv)
|
||||||
errno = 0;
|
errno = 0;
|
||||||
focusing = TRUE;
|
focusing = TRUE;
|
||||||
|
|
||||||
/* Forget any earlier statusbar x position. */
|
/* Forget any earlier cursor position at the prompt. */
|
||||||
reinit_statusbar_x();
|
put_cursor_at_end_of_answer();
|
||||||
|
|
||||||
/* Read in and interpret keystrokes. */
|
/* Read in and interpret keystrokes. */
|
||||||
do_input(TRUE);
|
do_input(TRUE);
|
||||||
|
|
|
@ -378,7 +378,7 @@ size_t get_statusbar_page_start(size_t base, size_t column)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reinitialize the cursor position in the answer. */
|
/* Reinitialize the cursor position in the answer. */
|
||||||
void reinit_statusbar_x(void)
|
void put_cursor_at_end_of_answer(void)
|
||||||
{
|
{
|
||||||
typing_x = HIGHEST_POSITIVE;
|
typing_x = HIGHEST_POSITIVE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -462,7 +462,7 @@ void do_statusbar_next_word(void);
|
||||||
void do_statusbar_verbatim_input(void);
|
void do_statusbar_verbatim_input(void);
|
||||||
size_t statusbar_xplustabs(void);
|
size_t statusbar_xplustabs(void);
|
||||||
size_t get_statusbar_page_start(size_t start_col, size_t column);
|
size_t get_statusbar_page_start(size_t start_col, size_t column);
|
||||||
void reinit_statusbar_x(void);
|
void put_cursor_at_end_of_answer(void);
|
||||||
void add_or_remove_pipe_symbol_from_answer(void);
|
void add_or_remove_pipe_symbol_from_answer(void);
|
||||||
int do_prompt(bool allow_tabs, bool allow_files,
|
int do_prompt(bool allow_tabs, bool allow_files,
|
||||||
int menu, const char *curranswer, filestruct **history_list,
|
int menu, const char *curranswer, filestruct **history_list,
|
||||||
|
|
Loading…
Reference in New Issue