Commit 3e1d2b90 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tabbing: make sure to refresh the edit window when returning to it

Since commit 41ed6907, cancelling a prompt after tabbing would sometimes
leave the list of file names on the screen.  When testing this first,
it worked fine -- I was fooled again by 'edit_refresh_needed' already
being TRUE when nano has just started up and sits waiting for the first
key stroke.  I have to hunt this down and kill it.
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -2888,6 +2888,7 @@ char *input_tab(char *buf, bool allow_files, size_t *place,
}
wnoutrefresh(edit);
edit_refresh_needed = TRUE;
listed = TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment