pkg-perl-maintainers team mailing list archive
-
pkg-perl-maintainers team
-
Mailing list archive
-
Message #04856
[Bug 2055430] [NEW] curses input box with mouse-support enters test 588 589 whenever terminal window focus changes
Public bug reported:
In gnome terminal shell run: /usr/share/doc/libcurses-ui-
perl/examples/color_editor
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://en.wikipedia.org/wiki/ANSI_escape_code#CSIsection)
CSI ? 1004 h
Enable reporting focus.
Reports whenever terminal emulator enters or exits
focus as ESC [I and ESC [O, respectively.
CSI ? 1004 l
Disable reporting focus.
Like this:
$ ps -fade | grep examples/color_editor
user 361460 283761 0 14:29 pts/3 00:00:00 /usr/bin/perl -w /usr/share/doc/libcurses-ui-perl/examples/color_editor
$ printf '\x1b[?1004l' > /dev/pts/3
then it stops misbehaving.
Perhaps the bug is really in libcurses-perl or even libncurses6
** Affects: libcurses-ui-perl (Ubuntu)
Importance: Undecided
Status: Confirmed
** Changed in: libcurses-ui-perl (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libcurses-ui-perl in Ubuntu.
https://bugs.launchpad.net/bugs/2055430
Title:
curses input box with mouse-support enters test 588 589 whenever
terminal window focus changes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcurses-ui-perl/+bug/2055430/+subscriptions
Follow ups