curses input box with mouse-support enters test 588 589 whenever terminal window focus changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcurses-ui-perl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
In gnome terminal shell run: /usr/share/
The text: 588
will be immediately entered into the document
If you switch focus to another application then the text: 589
will be entered into the document
Every time you switch back to the gnome-terminal "588" will be entered and switching back will enter "589"
If you save the document, these will be part of the document proving that it isn't text that escaped, e.g. via stderr
If (from another terminal) I disable focus reporting (https:/
CSI ? 1004 h
CSI ? 1004 l
Like this:
$ ps -fade | grep examples/
user 361460 283761 0 14:29 pts/3 00:00:00 /usr/bin/perl -w /usr/share/
$ printf '\x1b[?1004l' > /dev/pts/3
then it stops misbehaving.
Perhaps the bug is really in libcurses-perl or even libncurses6
A colleague with a fresh Ubuntu 23.10 installation has confirmed this bug, so marking as confirmed