Updating the screen immediately when a message is posted on the status bar.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5609 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
6829241433
Коммит
cc2d37053c
@ -1,6 +1,8 @@
|
||||
2016-02-06 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/files.c (write_file): Remove the --nofollow option that hasn't
|
||||
been working for a dozen years.
|
||||
* src/winio.c (statusbar): Update the screen immediately whenever a
|
||||
message has been posted on the status bar.
|
||||
|
||||
2016-02-05 Benno Schulenberg <bensberg@justemail.net>
|
||||
* doc/texinfo/nano.texi: Condense the descriptions of command-key
|
||||
|
@ -1106,7 +1106,6 @@ void no_current_file_name_warning(void)
|
||||
beep();
|
||||
|
||||
/* Ensure that we see the warning. */
|
||||
doupdate();
|
||||
napms(1800);
|
||||
|
||||
curs_set(1);
|
||||
|
@ -2874,7 +2874,6 @@ void do_spell(void)
|
||||
|
||||
blank_bottombars();
|
||||
statusbar(_("Invoking spell checker, please wait"));
|
||||
doupdate();
|
||||
|
||||
spell_msg = (alt_speller != NULL) ? do_alt_speller(temp) :
|
||||
do_int_speller(temp);
|
||||
@ -2946,7 +2945,6 @@ void do_linter(void)
|
||||
|
||||
blank_bottombars();
|
||||
statusbar(_("Invoking linter, please wait"));
|
||||
doupdate();
|
||||
|
||||
/* Set up an argument list to pass to execvp(). */
|
||||
if (lintargs == NULL) {
|
||||
@ -3253,7 +3251,6 @@ void do_formatter(void)
|
||||
|
||||
blank_bottombars();
|
||||
statusbar(_("Invoking formatter, please wait"));
|
||||
doupdate();
|
||||
|
||||
endwin();
|
||||
|
||||
|
@ -2149,6 +2149,9 @@ void statusbar(const char *msg, ...)
|
||||
|
||||
disable_cursorpos = TRUE;
|
||||
|
||||
/* Push the message to the screen straightaway. */
|
||||
doupdate();
|
||||
|
||||
/* If we're doing quick statusbar blanking, and constant cursor
|
||||
* position display is off, blank the statusbar after only one
|
||||
* keystroke. Otherwise, blank it after twenty-six keystrokes, as
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user