Bug#1128961: xterm: selection not fully cleared after text changes
Thomas Dickey <[email protected]>
| Newsgroups | gmane.linux.debian.devel.x |
|---|---|
| Message-ID | <aea71xaPWNPUan0R__48376.4861522772$1776729209$gmane$org@prl-debianold-64.jexium-island.net> |
On Mon, Apr 20, 2026 at 10:05:24AM +0200, Vincent Lefevre wrote: > On 2026-04-19 09:29:07 -0400, Thomas Dickey wrote: > > On Sun, Apr 19, 2026 at 03:18:28AM +0200, Vincent Lefevre wrote: > [...] > > > But note that the <Down> key makes Mutt display a different mail > > > message. It happens that there are common lines, but this is just a > > > coincidence. So it is quite strange that this is seen as a scroll. > > > This may be an issue coming from ncurses. > > > > no -- ncurses can't tell if xterm (or any other terminal) has a selection > > highlighted. > > Sure, but I don't see why there is a scrolling involved and why, > when going to the next or previous Mutt message, the effect on > the selection is inconsistent. ncurses is given an old/current and new/desired screen contents, and writes the updated screen using as few characters as possible (within its repertoire of course). So it may move text that's already on the screen if moving it takes fewer characters than writing it again. -- Thomas E. Dickey <[email protected]> https://invisible-island.net
signature.asc
(application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmnmu9MACgkQzCr0RyFn vgOFIwv/YqhYQOitllaUck9xTizy6eV/lnzrKT0xU4vnMXix8W1m8Peqk1K/D4Jl onu2mxTf4VSMVXiq38/UZZiSqeMVbkvkj3NKf7ZF7m2aU9eUdRpF3SyKuCIBy1Vt xn5qpREN+BJxmejworojujmtCQBOhPcTNw2PaBMmyBIiYXZ2z0SFNogFdXRNQNRv 7k1XIXkXpFzL4UfKXDoMkk6MOrkyS/UM2EADZcuqyDkFX5nMlv5muVjGR9EqbMny ilKOknL5BTH0XSEkG9TDHKfNPclWdhKOnWVHRAaNJfTnprNk7VAfErjwA17Uar2A g1ZEhSdluo539H3xYAkSnCEIj9OCA3/cBjx/sfKJiPDSf8sxAFP28qqxQMGiGOrU Ni7+JVUF2qldG93StyriJT505kA+iw4zXksU1MpAK7353fqBZ/PV8AIrQUc9mEvO kHxjUojfwowFvoDbtgGuUC3t5QDfDoKZo3KUJjoe4OTBSkZjraPP9TQBpkcOhhYC FKYs5c1Z =JZkm -----END PGP SIGNATURE-----