tweaks: rename a function, to better state what it does

This commit is contained in:
Benno Schulenberg 2018-07-11 11:02:45 +02:00
parent 18f13c3a75
commit 769504c495
3 changed files with 4 additions and 4 deletions

View File

@ -2696,8 +2696,8 @@ int main(int argc, char **argv)
errno = 0;
focusing = TRUE;
/* Forget any earlier statusbar x position. */
reinit_statusbar_x();
/* Forget any earlier cursor position at the prompt. */
put_cursor_at_end_of_answer();
/* Read in and interpret keystrokes. */
do_input(TRUE);

View File

@ -378,7 +378,7 @@ size_t get_statusbar_page_start(size_t base, size_t column)
}
/* Reinitialize the cursor position in the answer. */
void reinit_statusbar_x(void)
void put_cursor_at_end_of_answer(void)
{
typing_x = HIGHEST_POSITIVE;
}

View File

@ -462,7 +462,7 @@ void do_statusbar_next_word(void);
void do_statusbar_verbatim_input(void);
size_t statusbar_xplustabs(void);
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);
int do_prompt(bool allow_tabs, bool allow_files,
int menu, const char *curranswer, filestruct **history_list,