mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 22:29:42 +03:00
tweaks: rename a function, to better state what it does
This commit is contained in:
parent
18f13c3a75
commit
769504c495
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user