tweaks: remove a pointless updating of the title bar
A possible change in filename won't be pushed to the screen until a doupdate() is done, and that won't happen until nano is waiting for a keystroke again. So... just let it be.
This commit is contained in:
@@ -1537,9 +1537,6 @@ bool write_file(const char *name, FILE *f_open, bool tmp,
|
|||||||
if (*name == '\0')
|
if (*name == '\0')
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if (!tmp)
|
|
||||||
titlebar(NULL);
|
|
||||||
|
|
||||||
realname = real_dir_from_tilde(name);
|
realname = real_dir_from_tilde(name);
|
||||||
|
|
||||||
#ifdef ENABLE_OPERATINGDIR
|
#ifdef ENABLE_OPERATINGDIR
|
||||||
|
|||||||
Reference in New Issue
Block a user