nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] RFC: pushing out a message rightaway


From: Mike Frysinger
Subject: Re: [Nano-devel] RFC: pushing out a message rightaway
Date: Mon, 1 Feb 2016 02:48:05 -0500

On 31 Jan 2016 15:31, Benno Schulenberg wrote:
> 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.

the hang has thrown me off before.  having it display the status
right away would be nice.
-mike

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]