-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
report_clear() efficiency plus clear after grep
2b384f6 introduced a performance regression due to use of wclear(), which dirties the entire screen. The core issue being addressed in 2b384f6 is that readline can leave an incorrect cursor position in virtual window newscr. So, explicitly reset the newscr cursor position post-readline, which enables switching to the much more efficient werase() for erasing the status area. Incidentally fix the missed case of report_clear() after a grep prompt.
- Loading branch information
1 parent
809a2af
commit fdf3cd7
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters