|
| From: | Bill Gray |
| Subject: | Re: ripoffline() behavior with resizable windows |
| Date: | Wed, 4 Oct 2023 20:10:52 -0400 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
Ah, sorry, I wasn't as clear as I should have been. I don't see any issues with the SLK lines (in either ncurses or PDCursesMod). The problems only occur with "other", non-SLK ripped-off lines. If you run my test code as, say,If I then shrink to (say) 77 columns and then return to 80, the last three columns are wiped out.I'm using the E/e options in the ncurses test-program - there may be some logic for repainting that I'm forgetting, but that program doesn't lose any text. > Retesting with your sample program, I get the same result - if I shrink the screen so that there's not enough room, then the labels are hidden until I restore the screen-width.
./ripoff s1 b t band then do the resizing, the SLK labels do indeed redraw properly. But the other two ripped-off lines at the bottom and the one at the top don't : when the screen shrinks horizontally, the 'lost' columns stay that way when it's expanded.
Incidentally, another (slightly) odd bit : if you rearrange the command-line arguments to read
./ripoff b s1 b tthen the SLK labels appear in between the two ripped-from-the-bottom lines :
https://projectpluto.com/temp/z.pngWhich actually makes sense to me, since the SLK labels are just re-using the ripped-off-line functionality.
-- Bill
| [Prev in Thread] | Current Thread | [Next in Thread] |