#247 immediate update on resize, even without keepup

closed
nobody
None
5
2008-11-23
2008-11-10
Egmont Koblinger
No

If you resize the window, the text area is immediately updated, but the top status bar suffers from a 1 second delay (unless -keepup is specified).

Having keepup disabled makes sense for slow connections as it really saves a lot of traffic. But when you resize the window, joe has to output lots of text anyway, refreshing the top status bar wouldn't increase it that much. So it would be very nice if joe immediately updated the whole screen, including the top status bar after a window resize, even when keepup is disabled.

(NB. I often use joe over ssh and always have keepup enabled, and it never caused any problem. Knowing how much Internet's speed has changed since you started developing joe, I'd also consider making -keepup the default.)

Discussion

  • Péter Szabó
    Péter Szabó
    2008-11-10

    Here is the patch:

    This patch adds the functionality to redraw the status line upon window resize
    (SIGWINCH).

    Index: tty.c

    --- tty.c (revision 25)
    +++ tty.c (working copy)
    @@ -614,6 +614,7 @@
    ttflsh();
    while (winched) {
    winched = 0;
    + dostaupd = 1;
    edupd(1);
    ttflsh();
    }

     
  • Joe Allen
    Joe Allen
    2008-11-23

    This is now fixed in CVS.

     
  • Joe Allen
    Joe Allen
    2008-11-23

    • status: open --> closed