On Wed, Nov 10, 2021 at 12:31:17PM +0100, Vincent Lefevre wrote: > On 2021-11-10 12:12:59 +0100, Vincent Lefevre wrote: > > Tested with xterm and GNOME Terminal. > > And same buggy behavior with Sakura. > > > Note: with mlterm and rxvt, the scrollback buffer is still there, but > > this is just because the "clear" command doesn't clear it with these > > terminals (whether the main screen is the alternate screen or not). > ^^^^^^^^^^^ I meant "current screen" here. >
ncurses is doing the right thing: using documented, common features of the given terminals to do common operations. None of the terminals you are likely to encounter (i.e., none that you have not modified) will do the feature that you're describing. -- Thomas E. Dickey <dic...@invisible-island.net> https://invisible-island.net ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature