[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] RFC: pushing out a message rightaway
From: |
Benno Schulenberg |
Subject: |
[Nano-devel] RFC: pushing out a message rightaway |
Date: |
Sun, 31 Jan 2016 15:31:33 +0100 |
Hi,
When nano is reading in a biiig file, the user is looking at
a blank screen for a little while, even though nano has sent
a "Reading File" message to the status bar. The user never
sees this message because the screen is only actually updated
when the file has been fully read /and/ the precalculation of
the multiline regexes has been finished.
With the attached patch, nano pushes any statusbar message out
immediately, thus providing the user with feedback, showing
that nano is active and busy.
This is not only useful for big files, but especially for files
that never end, like in https://savannah.gnu.org/bugs/?44907 .
It also has the effect that, when opening multiple files, a
quick prrrrrt of "so many lines read" will fly by over the
status bar for every file opened. I kind of like that: it
makes it visible that multiple files are being read.
The disadvantage is that during that prrrrrt the cursor is
visible in the status bar. The second patch gets rid of that.
Comments?
Benno
--
http://www.fastmail.com - Accessible with your email software
or over the web
push-message-out.patch
Description: Text Data
cursor-off.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nano-devel] RFC: pushing out a message rightaway,
Benno Schulenberg <=