Date: Fri, 26 Nov 2021 19:56:49 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260069] vt: selected text not cleared upon screen clear Message-ID: <bug-260069-227-nfNQJXgEw3@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260069-227@https.bugs.freebsd.org/bugzilla/> References: <bug-260069-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260069 --- Comment #1 from Ed Maste <emaste@freebsd.org> --- Similar issue noted in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211922#c7 Reproduction steps: 1. Run `jot 500 | less` 2. Left click, highlight some text 3. Page down - note marked area cleared, as expected 4. Left click, highlight some text 5. Page up or scroll up 1 line at a time, observe marked area not cleared (remains at same location on screen) pg dn in less produces: ^[[K^M^[[K ^[[KESC^H^H^HESC^[[K[^H[^[[K6^H6^[[K~^H~^M^[[K67^M ("67" here is the first line of the new screen) So this emits some characters (":", "ESC"), moves the cursor back over them, clears to end of line, etc., but eventually just prints each of the followi= ng lines in sequence, letting the window scroll up line by line. pg up in less produces: ^[[K^M^[[K ^[[KESC^H^H^HESC^[[K[^H[^[[K5^H5^[[K~^H~^M^[[K^[[H^[M198^M ^[[H^[M197^M ^[[H^[M196^M ^[[H^[M195^M This emits the line that will end up at the bottom of the screen ("198"), scrolls down one line, emits the second-from-last line ("197"), and so on. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260069-227-nfNQJXgEw3>