okbob / pspg

Unix pager (with very rich functionality) designed for work with tables. Designed for PostgreSQL, but MySQL is supported too. Works well with pgcli too. Can be used as CSV or TSV viewer too. It supports searching, selecting rows, columns, or block and export selected area to clipboard.
BSD 2-Clause "Simplified" License
2.43k stars 85 forks source link

How do you exit the menu? #238

Closed dsedivec closed 5 months ago

dsedivec commented 6 months ago

Hi! Thanks for making pspg! It's great.

When I hit F9 to enter the menu, how do I exit the menu without selecting an option? ESC doesn't seem to work, neither does F9.

okbob commented 6 months ago

Double ESC - this is different from MSDOS, but usual in Unix - Double ESC ~ ESC, ESC and some number is equivalent of FN

okbob commented 6 months ago

you can set --esc-delay=NUM. When you use 0, then behaviour of ESC will be similar to MSDOS, or maybe 500 - it is equivalent of 0.5 sec, so after small delay, the ESC will be processed like on MSDOS

dsedivec commented 6 months ago

Double ESC - this is different from MSDOS, but usual in Unix - Double ESC ~ ESC, ESC and some number is equivalent of FN

Thanks for the reply. I have tried one ESC, two ESC, and many ESC, none work. I have tried two ESC, with significant delay between (up to 3 seconds) just for good measure. I have tried Ctrl[ as well, for kicks. I cannot exit the menu.

The only way out of the menu is F10 (quit) or selecting an option from the menu. Ever seen this before?

FWIW I am on latest macOS, using iTerm2, using pspg from psql inside tmux. All parts have been installed via Homebrew.

okbob commented 6 months ago

ne 18. 2. 2024 v 20:36 odesílatel Dale Sedivec @.***> napsal:

Double ESC - this is different from MSDOS, but usual in Unix - Double ESC ~ ESC, ESC and some number is equivalent of FN

Thanks for the reply. I have tried one ESC, two ESC, and many ESC, and none work. I have tried two ESC, with significant delay between (up to 3 seconds) just for good measure. I have tried Ctrl[ as well, for kicks. I cannot exit the menu.

The only way out of the menu is F10 (quit) or selecting an option from the menu. Ever seen this before?

FWIW I am on latest macOS, using iTerm2, using pspg from psql inside tmux.

Maybe ESC is processed by some application before pspg? Can you check midnight commander (mc) ? Does ESC work there?

Maybe macos sends different escape code on your computer. Please, can me send log?

run pspg with option --log

./pspg -f tests/test6.csv --csv --log=logfile.txt

and try to press escape just without menu (inside pspg). It should to log the key sequence

cat logfile.txt

Po, 19 úno 2024 07:13:25 +0100 [70704] started Po, 19 úno 2024 07:13:25 +0100 [70704] with utf8 support Po, 19 úno 2024 07:13:25 +0100 [70704] esc delay = -1 Po, 19 úno 2024 07:13:25 +0100 [70704] read input 9 rows Po, 19 úno 2024 07:13:25 +0100 [70704] terminal size by TIOCGWINSZ rows: 40, cols: 144 Po, 19 úno 2024 07:13:25 +0100 [70704] ncurses started Po, 19 úno 2024 07:13:25 +0100 [70704] kmous=\E[<, TERM=xterm-256color Po, 19 úno 2024 07:13:25 +0100 [70704] xterm mouse mode 1002 will be used Po, 19 úno 2024 07:13:25 +0100 [70704] xterm mouse mode 1002 activated Po, 19 úno 2024 07:13:25 +0100 [70704] initial stdscr size - maxy: 40, maxx: 144 Po, 19 úno 2024 07:13:27 +0100 [70704] new screen size 40 144 Po, 19 úno 2024 07:13:27 +0100 [70704] releasing cmd bar Po, 19 úno 2024 07:13:27 +0100 [70704] process command: ShowMenu Po, 19 úno 2024 07:13:27 +0100 [70704] init menu Po, 19 úno 2024 07:13:30 +0100 [70704] new screen size 40 144 Po, 19 úno 2024 07:13:30 +0100 [70704] releasing cmd bar Po, 19 úno 2024 07:13:31 +0100 [70704] process command: Escape Po, 19 úno 2024 07:13:31 +0100 [70704] For quit press "q" (or use on-sigint-exit option). Po, 19 úno 2024 07:13:32 +0100 [70704] process command: Quit Po, 19 úno 2024 07:13:32 +0100 [70704] releasing cmd bar before end Po, 19 úno 2024 07:13:32 +0100 [70704] releasing menu bar before end Po, 19 úno 2024 07:13:32 +0100 [70704] xterm mouse mode 1002 is deactivated Po, 19 úno 2024 07:13:32 +0100 [70704] ncurses ended Po, 19 úno 2024 07:13:32 +0100 [70704] correct quit

you can try to do inside menu too - maybe there will be some notice about some error or unprocessed escape sequence

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-1951424503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO4YH5QUVGXZ5RR4XZT3YUJJ2HAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGQZDINJQGM . You are receiving this because you commented.Message ID: @.***>

okbob commented 6 months ago

if is possible, you can compile pspg with DEBUG_PIPE symbol. Edit pspg.h and define DEBUG_PIPE with correct path to named pipe. Then watch this pipe, and start pspg. With DEBUG_PIPE pspg writes all input keycodes:

#ifdef DEBUG_PIPE

    fprintf(debug_pipe, "*** keycode: %d, err: %d\n", nced->keycode, errno);

#endif
okbob commented 5 months ago

@dsedivec did you do some tests?

Marek77 commented 4 months ago

Hi, I have exactly the same issue, I'm running pspg built from git (commit 463ab29b596c316c153acfbfc9a584fe6668073f) on Debian 9.13 (Stretch). I'm accessing mysql inside tmux which is running over ssh inside yakuake (konsole):

$ echo $TERM
tmux-256color
$ mysql --sigint-ignore --pager="pspg --style=18 --force-uniborder --highlight-odd-rec --reprint-on-exit --quit-if-one-screen --esc-delay=500"

Here is the log:

Tue, 16 Apr 2024 11:00:32 +0200 [2774629] started
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] with utf8 support
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] esc delay = 500
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] DataDesc is initialized
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] next row will be desc row
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] read rows 310
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] read input 310 rows
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] terminal size by TIOCGWINSZ rows: 80, cols: 361
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] ncurses started
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] without xterm mouse mode support
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] initial stdscr size - maxy: 80, maxx: 361
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:32 +0200 [2774629] the terminal doesn't allow to change of color
Tue, 16 Apr 2024 11:00:33 +0200 [2774629] new screen size 80 361
Tue, 16 Apr 2024 11:00:33 +0200 [2774629] releasing cmd bar
Tue, 16 Apr 2024 11:00:33 +0200 [2774629] process command: ShowMenu
Tue, 16 Apr 2024 11:00:33 +0200 [2774629] init menu
Tue, 16 Apr 2024 11:00:41 +0200 [2774629] new screen size 80 361
Tue, 16 Apr 2024 11:00:41 +0200 [2774629] releasing cmd bar
Tue, 16 Apr 2024 11:00:41 +0200 [2774629] process command: CSSearchSet
Tue, 16 Apr 2024 11:00:42 +0200 [2774629] exit main loop: F10
Tue, 16 Apr 2024 11:00:42 +0200 [2774629] releasing cmd bar before end
Tue, 16 Apr 2024 11:00:42 +0200 [2774629] releasing menu bar before end
Tue, 16 Apr 2024 11:00:42 +0200 [2774629] xterm mouse mode 1002 is not active
Tue, 16 Apr 2024 11:00:42 +0200 [2774629] ncurses ended
Tue, 16 Apr 2024 11:00:42 +0200 [2774629] correct quit

I pressed ESC many times, sometimes with delay, between 11:00:33 & 11:00:42, only quit using F10.

Marek77 commented 4 months ago

FYI, the ESC key works fine in vim inside the same tmux session. Also when I press F7 to search in pspg, ESC cancels it. So it seems the problem is exiting the menu.

okbob commented 4 months ago

út 16. 4. 2024 v 15:00 odesílatel Marek Schimara @.***> napsal:

FYI, the ESC key works fine in vim inside the same tmux session.

Unfortunately, I cannot reproduce it. I tested konsole, I tested tmux, mysql (but mariadb) and without any problem

What is result of pspg --info ?

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2059035464, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO4ZOGOC6WVNWDXEEKALY5UOFJAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGAZTKNBWGQ . You are receiving this because you modified the open/close state.Message ID: @.***>

okbob commented 4 months ago

út 16. 4. 2024 v 20:28 odesílatel Pavel Stehule @.***> napsal:

út 16. 4. 2024 v 15:00 odesílatel Marek Schimara @.***> napsal:

FYI, the ESC key works fine in vim inside the same tmux session.

Unfortunately, I cannot reproduce it. I tested konsole, I tested tmux, mysql (but mariadb) and without any problem

What is result of pspg --info ?

plus, please, can you check a40cc320a2f4d6b6f21ec662a3d894614e249596

with this change, I have more info in log about codes of pressed keys

St, 17 dub 2024 05:13:53 +0200 [135519] the terminal doesn't allow to change of color St, 17 dub 2024 05:13:55 +0200 [135519] keycode: 27, err: 0 St, 17 dub 2024 05:13:55 +0200 [135519] keycode: 27, err: 0 St, 17 dub 2024 05:13:55 +0200 [135519] process command: Escape St, 17 dub 2024 05:13:55 +0200 [135519] For quit press "q" (or use on-sigint-exit option). St, 17 dub 2024 05:13:56 +0200 [135519] *** keycode: 113, err: 0

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2059035464, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO4ZOGOC6WVNWDXEEKALY5UOFJAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGAZTKNBWGQ . You are receiving this because you modified the open/close state.Message ID: @.***>

Marek77 commented 4 months ago
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] started
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] with utf8 support
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] esc delay = 500
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] DataDesc is initialized
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] next row will be desc row
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] read rows 310
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] read input 310 rows
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] terminal size by TIOCGWINSZ rows: 80, cols: 361
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] ncurses started
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] without xterm mouse mode support
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] initial stdscr size - maxy: 80, maxx: 361
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:09 +0200 [3202636] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:11 +0200 [3202636] process command: CursorDown
Wed, 17 Apr 2024 08:25:11 +0200 [3202636] process command: CursorDown
Wed, 17 Apr 2024 08:25:11 +0200 [3202636] process command: CursorDown
Wed, 17 Apr 2024 08:25:11 +0200 [3202636] new screen size 80 361
Wed, 17 Apr 2024 08:25:11 +0200 [3202636] releasing cmd bar
Wed, 17 Apr 2024 08:25:11 +0200 [3202636] process command: ShowMenu
Wed, 17 Apr 2024 08:25:11 +0200 [3202636] init menu
Wed, 17 Apr 2024 08:25:40 +0200 [3202636] new screen size 80 361
Wed, 17 Apr 2024 08:25:40 +0200 [3202636] releasing cmd bar
Wed, 17 Apr 2024 08:25:40 +0200 [3202636] process command: Quit
Wed, 17 Apr 2024 08:25:40 +0200 [3202636] releasing cmd bar before end
Wed, 17 Apr 2024 08:25:40 +0200 [3202636] releasing menu bar before end
Wed, 17 Apr 2024 08:25:40 +0200 [3202636] xterm mouse mode 1002 is not active
Wed, 17 Apr 2024 08:25:40 +0200 [3202636] ncurses ended
Wed, 17 Apr 2024 08:25:40 +0200 [3202636] correct quit

Wed, 17 Apr 2024 08:25:59 +0200 [3202856] started
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] with utf8 support
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] esc delay = 500
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] DataDesc is initialized
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] next row will be desc row
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] read rows 310
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] read input 310 rows
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] terminal size by TIOCGWINSZ rows: 80, cols: 361
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] ncurses started
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] without xterm mouse mode support
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] initial stdscr size - maxy: 80, maxx: 361
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:25:59 +0200 [3202856] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:26:01 +0200 [3202856] new screen size 80 361
Wed, 17 Apr 2024 08:26:01 +0200 [3202856] releasing cmd bar
Wed, 17 Apr 2024 08:26:01 +0200 [3202856] process command: ShowMenu
Wed, 17 Apr 2024 08:26:01 +0200 [3202856] init menu
Wed, 17 Apr 2024 08:26:10 +0200 [3202856] new screen size 80 361
Wed, 17 Apr 2024 08:26:10 +0200 [3202856] releasing cmd bar
Wed, 17 Apr 2024 08:26:10 +0200 [3202856] process command: ForwardSearch
Wed, 17 Apr 2024 08:26:10 +0200 [3202856] history loaded
Wed, 17 Apr 2024 08:26:10 +0200 [3202856] input string prompt - "/"
Wed, 17 Apr 2024 08:26:10 +0200 [3202856] xterm mouse mode 1002 is not active
Wed, 17 Apr 2024 08:26:14 +0200 [3202856] xterm mouse mode 1002 is not activated
Wed, 17 Apr 2024 08:26:14 +0200 [3202856] input string - "NULL"
Wed, 17 Apr 2024 08:26:14 +0200 [3202856] new screen size 80 361
Wed, 17 Apr 2024 08:26:14 +0200 [3202856] releasing cmd bar
Wed, 17 Apr 2024 08:26:14 +0200 [3202856] process command: SearchNext
Wed, 17 Apr 2024 08:26:16 +0200 [3202856] process command: ForwardSearch
Wed, 17 Apr 2024 08:26:16 +0200 [3202856] input string prompt - "/"
Wed, 17 Apr 2024 08:26:16 +0200 [3202856] xterm mouse mode 1002 is not active
Wed, 17 Apr 2024 08:26:19 +0200 [3202856] xterm mouse mode 1002 is not activated
Wed, 17 Apr 2024 08:26:19 +0200 [3202856] input string - ""
Wed, 17 Apr 2024 08:26:19 +0200 [3202856] new screen size 80 361
Wed, 17 Apr 2024 08:26:19 +0200 [3202856] releasing cmd bar
Wed, 17 Apr 2024 08:26:20 +0200 [3202856] process command: CursorDown
Wed, 17 Apr 2024 08:26:20 +0200 [3202856] process command: CursorDown
Wed, 17 Apr 2024 08:26:20 +0200 [3202856] process command: CursorDown
Wed, 17 Apr 2024 08:26:21 +0200 [3202856] process command: CursorDown
Wed, 17 Apr 2024 08:26:21 +0200 [3202856] process command: CursorDown
Wed, 17 Apr 2024 08:26:21 +0200 [3202856] process command: CursorDown
Wed, 17 Apr 2024 08:26:21 +0200 [3202856] process command: CursorDown
Wed, 17 Apr 2024 08:26:22 +0200 [3202856] exit main loop: F10
Wed, 17 Apr 2024 08:26:22 +0200 [3202856] releasing cmd bar before end
Wed, 17 Apr 2024 08:26:22 +0200 [3202856] releasing menu bar before end
Wed, 17 Apr 2024 08:26:22 +0200 [3202856] xterm mouse mode 1002 is not active
Wed, 17 Apr 2024 08:26:22 +0200 [3202856] ncurses ended
Wed, 17 Apr 2024 08:26:22 +0200 [3202856] correct quit

This line in the log is when I tried to search with "/" and then cancelled it with ESC: Wed, 17 Apr 2024 08:26:19 +0200 [3202856] input string - ""

As previously, ESC doesn't quit the menu.

 $ pspg --info
pspg-5.8.2
with readline (version: 0x0700)
with integrated menu
ncurses version: 6.0, patch: 20161126
without wide char support
ncurses widechar num: 1
wchar_t width: 4, max: 2147483647
with ncurses extended functions support no: 20161126
without ncurses extended colors
without postgres client
with inotify support
without kqueue support
Linux ded8017 4.19.248 #6 SMP Thu Jun 23 14:14:47 CDT 2022 x86_64

More precise info about my workflow: my laptop is Fedora 39 with KDE Plasma, I use yakuake from which I ssh to a Debian machine running tmux (v 3.3a). Inside tmux I run the mysql cli with pspg. I built pspg like this:

export PREFIX="$HOME"/local
./configure --prefix=$PREFIX && make && make install
Marek77 commented 4 months ago

I tested outside tmux, I have the same issue. Again, nothing in the log about ESC keypresses.

$ echo $TERM
xterm-256color
okbob commented 4 months ago

st 17. 4. 2024 v 8:45 odesílatel Marek Schimara @.***> napsal:

I tested outside tmux, I have the same issue. Again, nothing in the log about ESC keypresses.

please, can you check current master branch?

$ echo $TERM xterm-256color

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2060496062, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO43YY4L2XRNEZIPHQILY5YLA5AVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRQGQ4TMMBWGI . You are receiving this because you modified the open/close state.Message ID: @.***>

Marek77 commented 4 months ago
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] started
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] with utf8 support
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] esc delay = 500
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] DataDesc is initialized
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] next row will be desc row
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] read rows 310
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] read input 310 rows
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] terminal size by TIOCGWINSZ rows: 80, cols: 361
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] ncurses started
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] without xterm mouse mode support
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] initial stdscr size - maxy: 80, maxx: 361
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color
Wed, 17 Apr 2024 08:56:11 +0200 [3214430] *** keycode: 273, err: 0
Wed, 17 Apr 2024 08:56:11 +0200 [3214430] new screen size 80 361
Wed, 17 Apr 2024 08:56:11 +0200 [3214430] releasing cmd bar
Wed, 17 Apr 2024 08:56:11 +0200 [3214430] process command: ShowMenu
Wed, 17 Apr 2024 08:56:11 +0200 [3214430] init menu
Wed, 17 Apr 2024 08:56:12 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:12 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:13 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:13 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:13 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:13 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:13 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:13 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:13 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:13 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:13 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:13 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:14 +0200 [3214430] *** keycode: 261, err: 0
Wed, 17 Apr 2024 08:56:14 +0200 [3214430] *** keycode: 261, err: 0
Wed, 17 Apr 2024 08:56:14 +0200 [3214430] *** keycode: 261, err: 0
Wed, 17 Apr 2024 08:56:15 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:15 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:15 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:15 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:15 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:15 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:15 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:15 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:15 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:15 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:16 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:17 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:17 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:17 +0200 [3214430] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:56:17 +0200 [3214430] *** keycode: -1, err: 0
Wed, 17 Apr 2024 08:56:18 +0200 [3214430] *** keycode: 274, err: 0
Wed, 17 Apr 2024 08:56:18 +0200 [3214430] exit main loop: F10
Wed, 17 Apr 2024 08:56:18 +0200 [3214430] releasing cmd bar before end
Wed, 17 Apr 2024 08:56:18 +0200 [3214430] releasing menu bar before end
Wed, 17 Apr 2024 08:56:18 +0200 [3214430] xterm mouse mode 1002 is not active
Wed, 17 Apr 2024 08:56:18 +0200 [3214430] ncurses ended
Wed, 17 Apr 2024 08:56:18 +0200 [3214430] correct quit

I also installed pspg v5.8.1 from Fedora repo, tunnelled the mysql port to my local machine and when accessing mysql directly the ESC works. Maybe this has something to do with ssh.

Marek77 commented 4 months ago

This is the log when pressing ESC over ssh:

Wed, 17 Apr 2024 08:59:41 +0200 [3215456] *** keycode: 27, err: 0
Wed, 17 Apr 2024 08:59:41 +0200 [3215456] *** keycode: -1, err: 0

I built pspg on your latest commit also locally, this is the log when ESC works (pressed 2x) - running DIRECTLY, not in ssh session:

Wed, 17 Apr 2024 09:05:07 +0200 [10382] init menu
Wed, 17 Apr 2024 09:05:08 +0200 [10382] *** keycode: 27, err: 0
Wed, 17 Apr 2024 09:05:08 +0200 [10382] *** keycode: 0, err: 0
Wed, 17 Apr 2024 09:05:08 +0200 [10382] *** keycode: 27, err: 0
Wed, 17 Apr 2024 09:05:08 +0200 [10382] *** keycode: 0, err: 0
Wed, 17 Apr 2024 09:05:08 +0200 [10382] new screen size 81 361
Wed, 17 Apr 2024 09:05:08 +0200 [10382] releasing cmd bar
okbob commented 4 months ago

st 17. 4. 2024 v 8:59 odesílatel Marek Schimara @.***> napsal:

Wed, 17 Apr 2024 08:56:09 +0200 [3214430] started Wed, 17 Apr 2024 08:56:09 +0200 [3214430] with utf8 support Wed, 17 Apr 2024 08:56:09 +0200 [3214430] esc delay = 500 Wed, 17 Apr 2024 08:56:09 +0200 [3214430] DataDesc is initialized Wed, 17 Apr 2024 08:56:09 +0200 [3214430] next row will be desc row Wed, 17 Apr 2024 08:56:09 +0200 [3214430] read rows 310 Wed, 17 Apr 2024 08:56:09 +0200 [3214430] read input 310 rows Wed, 17 Apr 2024 08:56:09 +0200 [3214430] terminal size by TIOCGWINSZ rows: 80, cols: 361 Wed, 17 Apr 2024 08:56:09 +0200 [3214430] ncurses started Wed, 17 Apr 2024 08:56:09 +0200 [3214430] without xterm mouse mode support Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] initial stdscr size - maxy: 80, maxx: 361 Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:09 +0200 [3214430] the terminal doesn't allow to change of color Wed, 17 Apr 2024 08:56:11 +0200 [3214430] keycode: 273, err: 0 Wed, 17 Apr 2024 08:56:11 +0200 [3214430] new screen size 80 361 Wed, 17 Apr 2024 08:56:11 +0200 [3214430] releasing cmd bar Wed, 17 Apr 2024 08:56:11 +0200 [3214430] process command: ShowMenu Wed, 17 Apr 2024 08:56:11 +0200 [3214430] init menu Wed, 17 Apr 2024 08:56:12 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:12 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:13 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:13 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:13 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:13 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:13 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:13 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:13 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:13 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:13 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:13 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:14 +0200 [3214430] keycode: 261, err: 0 Wed, 17 Apr 2024 08:56:14 +0200 [3214430] keycode: 261, err: 0 Wed, 17 Apr 2024 08:56:14 +0200 [3214430] keycode: 261, err: 0 Wed, 17 Apr 2024 08:56:15 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:15 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:15 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:15 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:15 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:15 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:15 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:15 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:15 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:15 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:16 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:17 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:17 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:17 +0200 [3214430] keycode: 27, err: 0 Wed, 17 Apr 2024 08:56:17 +0200 [3214430] keycode: -1, err: 0 Wed, 17 Apr 2024 08:56:18 +0200 [3214430] *** keycode: 274, err: 0 Wed, 17 Apr 2024 08:56:18 +0200 [3214430] exit main loop: F10 Wed, 17 Apr 2024 08:56:18 +0200 [3214430] releasing cmd bar before end Wed, 17 Apr 2024 08:56:18 +0200 [3214430] releasing menu bar before end Wed, 17 Apr 2024 08:56:18 +0200 [3214430] xterm mouse mode 1002 is not active Wed, 17 Apr 2024 08:56:18 +0200 [3214430] ncurses ended Wed, 17 Apr 2024 08:56:18 +0200 [3214430] correct quit

I also installed pspg v5.8.1 from Fedora repo, tunnelled the mysql port to my local machine and when accessing mysql directly the ESC works. Maybe this has something to do with ssh.

I tested konsole -> ssh -> tmux -> mariadb -> pspg and this way is working on direction FC39->FC40

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2060517202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO45V4EZ2IHWOPFM23ZTY5YMVJAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRQGUYTOMRQGI . You are receiving this because you modified the open/close state.Message ID: @.***>

okbob commented 4 months ago

st 17. 4. 2024 v 9:06 odesílatel Marek Schimara @.***> napsal:

This is the log when pressing ESC over ssh:

Wed, 17 Apr 2024 08:59:41 +0200 [3215456] keycode: 27, err: 0 Wed, 17 Apr 2024 08:59:41 +0200 [3215456] keycode: -1, err: 0

please can me send an output of pspg --info?

what is your setting of LANG ?

keycode -1 is strange - it signals an error from input on ncurses level - and it invalidates previously pressed ESC :-/

looks so on your system, the function get_wch doesn't works correctly

can you compare environment of local and ssh login? I think so this issue is probably related to something wrong in environment when you use ssh. ncurses are very sensitive to LANG variable

I built pspg on your latest commit also locally, this is the log when ESC works (pressed 2x):

Wed, 17 Apr 2024 09:05:07 +0200 [10382] init menu Wed, 17 Apr 2024 09:05:08 +0200 [10382] keycode: 27, err: 0 Wed, 17 Apr 2024 09:05:08 +0200 [10382] keycode: 0, err: 0 Wed, 17 Apr 2024 09:05:08 +0200 [10382] keycode: 27, err: 0 Wed, 17 Apr 2024 09:05:08 +0200 [10382] keycode: 0, err: 0 Wed, 17 Apr 2024 09:05:08 +0200 [10382] new screen size 81 361 Wed, 17 Apr 2024 09:05:08 +0200 [10382] releasing cmd bar

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2060529076, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO42KZEFJKTE3E457SFLY5YNQDAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRQGUZDSMBXGY . You are receiving this because you modified the open/close state.Message ID: @.***>

Marek77 commented 4 months ago

Debian (where tmux is running and ESC doesn't quit the menu):

$ echo $LANG
en_US.UTF-8

Fedora (ESC works):

$ echo $LANG
en_GB.UTF-8

I exported $LANG on the Debian machine to match Fedora but that did not change anything.

okbob commented 4 months ago

po 22. 4. 2024 v 9:15 odesílatel Marek Schimara @.***> napsal:

Debian (where tmux is running and ESC doesn't quit the menu):

$ echo $LANG en_US.UTF-8

Fedora (ESC works):

$ echo $LANG en_GB.UTF-8

I exported $LANG on the Debian machine to match Fedora but that did not change anything.

When you don't use tmux, then it is working?

There is something wrong - what breaks doble pressing of ESC on your system, but I have no idea what. And unfortunately, ncurses doesn't do more info about an error.

can you check if there is not different binding to keys

any differences between outputs bind -p

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2068654114, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO47MT6GXOACS5LQI5W3Y6S2HRAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYGY2TIMJRGQ . You are receiving this because you modified the open/close state.Message ID: @.***>

Marek77 commented 4 months ago

I have the same issue when not using tmux, so we can rule it out. There are quite a few differences in bind -p; attached.

bindp.fedora.txt bindp.debian.txt

Marek77 commented 4 months ago

Fedora (working) pspg --info both from-repo and built from sources:

$ pspg --info
pspg-5.8.1
with readline (version: 0x0802)
with integrated menu
ncurses version: 6.4, patch: 20230520
ncurses with wide char support
ncurses widechar num: 1
wchar_t width: 4, max: 2147483647
with ncurses extended functions support no: 20230520
with ncurses extended colors no: 20230520
without postgres client
with inotify support
without kqueue support
Linux fedora 6.8.6-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Apr 13 15:14:23 UTC 2024 x86_64

$ $HOME/local/bin/pspg --info
pspg-5.8.4
without readline
with integrated menu
ncurses version: 6.4, patch: 20230520
ncurses with wide char support
ncurses widechar num: 1
wchar_t width: 4, max: 2147483647
with ncurses extended functions support no: 20230520
with ncurses extended colors no: 20230520
without postgres client
with inotify support
without kqueue support
Linux fedora 6.8.6-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Apr 13 15:14:23 UTC 2024 x86_64

Debian, built from sources:

$ $HOME/local/bin/pspg --info
pspg-5.8.4
with readline (version: 0x0700)
with integrated menu
ncurses version: 6.0, patch: 20161126
without wide char support
ncurses widechar num: 1
wchar_t width: 4, max: 2147483647
with ncurses extended functions support no: 20161126
without ncurses extended colors
without postgres client
with inotify support
without kqueue support
Linux ded8017 4.19.248 #6 SMP Thu Jun 23 14:14:47 CDT 2022 x86_64

It looks like quite an old ncurses version from 2016 on Debian side...

okbob commented 4 months ago

po 22. 4. 2024 v 11:31 odesílatel Marek Schimara @.***> napsal:

I have the same issue when not using tmux, so we can rule it out. There are quite a few differences in bind -p; attached.

bindp.fedora.txt https://github.com/okbob/pspg/files/15060649/bindp.fedora.txt bindp.debian.txt https://github.com/okbob/pspg/files/15060653/bindp.debian.txt

On your Debian is

"\e\e[D": backward-word

Theoretically, it can eat double escape There are two other \e\e sequences

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2068926351, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO46NVORBHLFACA3P373Y6TKGHAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYHEZDMMZVGE . You are receiving this because you modified the open/close state.Message ID: @.***>

okbob commented 4 months ago

po 22. 4. 2024 v 11:41 odesílatel Marek Schimara @.***> napsal:

Fedora (working) pspg --info both from-repo and built from sources:

$ pspg --info pspg-5.8.1 with readline (version: 0x0802) with integrated menu ncurses version: 6.4, patch: 20230520 ncurses with wide char support ncurses widechar num: 1 wchar_t width: 4, max: 2147483647 with ncurses extended functions support no: 20230520 with ncurses extended colors no: 20230520 without postgres client with inotify support without kqueue support Linux fedora 6.8.6-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Apr 13 15:14:23 UTC 2024 x86_64

$ $HOME/local/bin/pspg --info pspg-5.8.4 without readline with integrated menu ncurses version: 6.4, patch: 20230520 ncurses with wide char support ncurses widechar num: 1 wchar_t width: 4, max: 2147483647 with ncurses extended functions support no: 20230520 with ncurses extended colors no: 20230520 without postgres client with inotify support without kqueue support Linux fedora 6.8.6-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Apr 13 15:14:23 UTC 2024 x86_64

Debian, built from sources:

$ $HOME/local/bin/pspg --info pspg-5.8.4 with readline (version: 0x0700) with integrated menu ncurses version: 6.0, patch: 20161126 without wide char support ncurses widechar num: 1 wchar_t width: 4, max: 2147483647 with ncurses extended functions support no: 20161126 without ncurses extended colors without postgres client with inotify support without kqueue support Linux ded8017 4.19.248 #6 SMP Thu Jun 23 14:14:47 CDT 2022 x86_64

On Debian there is old ncurses - lot of bugs was fixed from 2016

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2068947984, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO45PHYW2KWDAJXACEHTY6TLOBAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYHE2DOOJYGQ . You are receiving this because you modified the open/close state.Message ID: @.***>

Marek77 commented 4 months ago

I removed all the "\e\e" bindings:

$ bind -p | grep '\\e\\e'
"\e\e[D": backward-word
"\e\e": complete
"\e\e[C": forward-word

$ bind -r "\e\e[D"
$ bind -r "\e\e[C"
$ bind -r "\e\e"

$ bind -p | grep '\\e\\e'
$

(the last one \e\e is also present on Fedora)

The problem persists, tested within tmux and in a standalone ssh session.

Marek77 commented 4 months ago

I found a "key test" at https://stackoverflow.com/a/4028974, compiled with

gcc -o ncurses_key -lncurses ncurses_key.c

It's working on both Debian & Fedora, as far as I can tell it has the same output for the same keys. Output from Debian (2x 27 is when I pressed ESC twice, there is no -1 code):

No key pressed yet...
No key pressed yet...
Key pressed! It was: 27
No key pressed yet...
No key pressed yet...
Key pressed! It was: 27
Key pressed! It was: 27
No key pressed yet...
No key pressed yet...
No key pressed yet...
No key pressed yet...
Key pressed! It was: 10
No key pressed yet...
No key pressed yet...
No key pressed yet...
Key pressed! It was: 97
Key pressed! It was: 122
No key pressed yet...
No key pressed yet...
No key pressed yet...
Key pressed! It was: 27
Key pressed! It was: 79
Key pressed! It was: 80
No key pressed yet...
Key pressed! It was: 27
Key pressed! It was: 79
Key pressed! It was: 81
Key pressed! It was: 27
Key pressed! It was: 79
Key pressed! It was: 82
Key pressed! It was: 27
Key pressed! It was: 79
Key pressed! It was: 83
No key pressed yet...
No key pressed yet...
No key pressed yet...
Key pressed! It was: 27
Key pressed! It was: 79
Key pressed! It was: 80
okbob commented 4 months ago

po 22. 4. 2024 v 12:37 odesílatel Marek Schimara @.***> napsal:

I found a "key test" at https://stackoverflow.com/a/4028974, compiled with

gcc -o ncurses_key -lncurses ncurses_key.c

It's working on both Debian & Fedora, as far as I can tell it has the same output for the same keys. Output from Debian (2x 27 is when I pressed ESC twice, there is no -1 code):

No key pressed yet... No key pressed yet... Key pressed! It was: 27 No key pressed yet... No key pressed yet... Key pressed! It was: 27 Key pressed! It was: 27 No key pressed yet... No key pressed yet... No key pressed yet... No key pressed yet... Key pressed! It was: 10 No key pressed yet... No key pressed yet... No key pressed yet... Key pressed! It was: 97 Key pressed! It was: 122 No key pressed yet... No key pressed yet... No key pressed yet... Key pressed! It was: 27 Key pressed! It was: 79 Key pressed! It was: 80 No key pressed yet... Key pressed! It was: 27 Key pressed! It was: 79 Key pressed! It was: 81 Key pressed! It was: 27 Key pressed! It was: 79 Key pressed! It was: 82 Key pressed! It was: 27 Key pressed! It was: 79 Key pressed! It was: 83 No key pressed yet... No key pressed yet... No key pressed yet... Key pressed! It was: 27 Key pressed! It was: 79 Key pressed! It was: 80

pspg has richer setting

https://github.com/okbob/pspg/blob/a40cc320a2f4d6b6f21ec662a3d894614e249596/src/pspg.c#L3148C1-L3160C24

But maybe some option does an issue

+ timeout(0); set_escdelay(1);

can you check it?

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2069055676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO46HRDEGSY7N4LEF7NTY6TR5BAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGA2TKNRXGY . You are receiving this because you modified the open/close state.Message ID: @.***>

okbob commented 4 months ago

po 22. 4. 2024 v 13:00 odesílatel Pavel Stehule @.***> napsal:

po 22. 4. 2024 v 12:37 odesílatel Marek Schimara @.***> napsal:

I found a "key test" at https://stackoverflow.com/a/4028974, compiled with

gcc -o ncurses_key -lncurses ncurses_key.c

It's working on both Debian & Fedora, as far as I can tell it has the same output for the same keys. Output from Debian (2x 27 is when I pressed ESC twice, there is no -1 code):

No key pressed yet... No key pressed yet... Key pressed! It was: 27 No key pressed yet... No key pressed yet... Key pressed! It was: 27 Key pressed! It was: 27 No key pressed yet... No key pressed yet... No key pressed yet... No key pressed yet... Key pressed! It was: 10 No key pressed yet... No key pressed yet... No key pressed yet... Key pressed! It was: 97 Key pressed! It was: 122 No key pressed yet... No key pressed yet... No key pressed yet... Key pressed! It was: 27 Key pressed! It was: 79 Key pressed! It was: 80 No key pressed yet... Key pressed! It was: 27 Key pressed! It was: 79 Key pressed! It was: 81 Key pressed! It was: 27 Key pressed! It was: 79 Key pressed! It was: 82 Key pressed! It was: 27 Key pressed! It was: 79 Key pressed! It was: 83 No key pressed yet... No key pressed yet... No key pressed yet... Key pressed! It was: 27 Key pressed! It was: 79 Key pressed! It was: 80

pspg has richer setting

https://github.com/okbob/pspg/blob/a40cc320a2f4d6b6f21ec662a3d894614e249596/src/pspg.c#L3148C1-L3160C24

But maybe some option does an issue

+ timeout(0); set_escdelay(1);

can you check it?

but it cannot to work to easy, because pspg uses own event loop - it uses poll function :-/ so it is harder to emulate it.

if you want to play with this, then key part is function get_pspg_event - and some is processed differently

It can be related to https://github.com/okbob/pspg/issues/204

can you try to change the constant in set_escdelay to -1, 0, and 2000?

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2069055676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO46HRDEGSY7N4LEF7NTY6TR5BAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGA2TKNRXGY . You are receiving this because you modified the open/close state.Message ID: @.***>

okbob commented 4 months ago

st 17. 4. 2024 v 9:06 odesílatel Marek Schimara @.***> napsal:

This is the log when pressing ESC over ssh:

Wed, 17 Apr 2024 08:59:41 +0200 [3215456] keycode: 27, err: 0 Wed, 17 Apr 2024 08:59:41 +0200 [3215456] keycode: -1, err: 0

is the sequence

for 2 x press of ESC

27 -1 27 -1

or just

27 -1

??

Maybe it can be same problem like on MacOS - and it can be related to some older ncurses

I built pspg on your latest commit also locally, this is the log when ESC

works (pressed 2x):

Wed, 17 Apr 2024 09:05:07 +0200 [10382] init menu Wed, 17 Apr 2024 09:05:08 +0200 [10382] keycode: 27, err: 0 Wed, 17 Apr 2024 09:05:08 +0200 [10382] keycode: 0, err: 0 Wed, 17 Apr 2024 09:05:08 +0200 [10382] keycode: 27, err: 0 Wed, 17 Apr 2024 09:05:08 +0200 [10382] keycode: 0, err: 0 Wed, 17 Apr 2024 09:05:08 +0200 [10382] new screen size 81 361 Wed, 17 Apr 2024 09:05:08 +0200 [10382] releasing cmd bar

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2060529076, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO42KZEFJKTE3E457SFLY5YNQDAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRQGUZDSMBXGY . You are receiving this because you modified the open/close state.Message ID: @.***>

Marek77 commented 4 months ago

pspg started, I pressed F9 to enter the menu, ESC once (nothing happened), F10 to quit:

Mon, 22 Apr 2024 13:54:07 +0200 [1504773] started
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] with utf8 support
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] esc delay = 500
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] DataDesc is initialized
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] next row will be desc row
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] read rows 310
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] read input 310 rows
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] terminal size by TIOCGWINSZ rows: 80, cols: 361
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] ncurses started
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] without xterm mouse mode support
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] initial stdscr size - maxy: 80, maxx: 361
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color
Mon, 22 Apr 2024 13:54:09 +0200 [1504773] *** keycode: 273, err: 0
Mon, 22 Apr 2024 13:54:09 +0200 [1504773] new screen size 80 361
Mon, 22 Apr 2024 13:54:09 +0200 [1504773] releasing cmd bar
Mon, 22 Apr 2024 13:54:09 +0200 [1504773] process command: ShowMenu
Mon, 22 Apr 2024 13:54:09 +0200 [1504773] init menu
Mon, 22 Apr 2024 13:54:10 +0200 [1504773] *** keycode: 27, err: 0
Mon, 22 Apr 2024 13:54:10 +0200 [1504773] *** keycode: -1, err: 0
Mon, 22 Apr 2024 13:54:11 +0200 [1504773] *** keycode: 274, err: 0
Mon, 22 Apr 2024 13:54:11 +0200 [1504773] exit main loop: F10
Mon, 22 Apr 2024 13:54:11 +0200 [1504773] releasing cmd bar before end
Mon, 22 Apr 2024 13:54:11 +0200 [1504773] releasing menu bar before end
Mon, 22 Apr 2024 13:54:11 +0200 [1504773] xterm mouse mode 1002 is not active
Mon, 22 Apr 2024 13:54:11 +0200 [1504773] ncurses ended
Mon, 22 Apr 2024 13:54:11 +0200 [1504773] correct quit

another test, I pressed ESC twice as fast as I could, nothing happened again

Mon, 22 Apr 2024 13:55:58 +0200 [1505546] *** keycode: 27, err: 0
Mon, 22 Apr 2024 13:55:58 +0200 [1505546] *** keycode: -1, err: 0
Mon, 22 Apr 2024 13:55:58 +0200 [1505546] *** keycode: 27, err: 0
Mon, 22 Apr 2024 13:55:58 +0200 [1505546] *** keycode: -1, err: 0
okbob commented 4 months ago

po 22. 4. 2024 v 13:57 odesílatel Marek Schimara @.***> napsal:

pspg started, I pressed F9 to enter the menu, ESC once (nothing happened), F10 to quit:

Mon, 22 Apr 2024 13:54:07 +0200 [1504773] started Mon, 22 Apr 2024 13:54:07 +0200 [1504773] with utf8 support Mon, 22 Apr 2024 13:54:07 +0200 [1504773] esc delay = 500 Mon, 22 Apr 2024 13:54:07 +0200 [1504773] DataDesc is initialized Mon, 22 Apr 2024 13:54:07 +0200 [1504773] next row will be desc row Mon, 22 Apr 2024 13:54:07 +0200 [1504773] read rows 310 Mon, 22 Apr 2024 13:54:07 +0200 [1504773] read input 310 rows Mon, 22 Apr 2024 13:54:07 +0200 [1504773] terminal size by TIOCGWINSZ rows: 80, cols: 361 Mon, 22 Apr 2024 13:54:07 +0200 [1504773] ncurses started Mon, 22 Apr 2024 13:54:07 +0200 [1504773] without xterm mouse mode support Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] initial stdscr size - maxy: 80, maxx: 361 Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:07 +0200 [1504773] the terminal doesn't allow to change of color Mon, 22 Apr 2024 13:54:09 +0200 [1504773] keycode: 273, err: 0 Mon, 22 Apr 2024 13:54:09 +0200 [1504773] new screen size 80 361 Mon, 22 Apr 2024 13:54:09 +0200 [1504773] releasing cmd bar Mon, 22 Apr 2024 13:54:09 +0200 [1504773] process command: ShowMenu Mon, 22 Apr 2024 13:54:09 +0200 [1504773] init menu Mon, 22 Apr 2024 13:54:10 +0200 [1504773] keycode: 27, err: 0 Mon, 22 Apr 2024 13:54:10 +0200 [1504773] keycode: -1, err: 0 Mon, 22 Apr 2024 13:54:11 +0200 [1504773] keycode: 274, err: 0 Mon, 22 Apr 2024 13:54:11 +0200 [1504773] exit main loop: F10 Mon, 22 Apr 2024 13:54:11 +0200 [1504773] releasing cmd bar before end Mon, 22 Apr 2024 13:54:11 +0200 [1504773] releasing menu bar before end Mon, 22 Apr 2024 13:54:11 +0200 [1504773] xterm mouse mode 1002 is not active Mon, 22 Apr 2024 13:54:11 +0200 [1504773] ncurses ended Mon, 22 Apr 2024 13:54:11 +0200 [1504773] correct quit

another test, I pressed ESC twice as fast as I could, nothing happened again

Mon, 22 Apr 2024 13:55:58 +0200 [1505546] keycode: 27, err: 0 Mon, 22 Apr 2024 13:55:58 +0200 [1505546] keycode: -1, err: 0 Mon, 22 Apr 2024 13:55:58 +0200 [1505546] keycode: 27, err: 0 Mon, 22 Apr 2024 13:55:58 +0200 [1505546] keycode: -1, err: 0

please, can you check if

Esc q or ALT-q is working?

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2069208233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO442JQIL6BQCAXXYMYTY6T3JVAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGIYDQMRTGM . You are receiving this because you modified the open/close state.Message ID: @.***>

Marek77 commented 4 months ago

This patch fixes the issue for me:

diff --git a/src/pspg.c b/src/pspg.c
index 5fff17c..e294047 100644
--- a/src/pspg.c
+++ b/src/pspg.c
@@ -3131,7 +3131,7 @@ reinit_theme:

 #if NCURSES_EXT_FUNCS

-       set_escdelay(1);
+       set_escdelay(500);

 #elif !defined PDCURSES

Higher values also work, 1000 made delay exiting the menu a bit too long, and 100 is too low.

Marek77 commented 4 months ago

please, can you check if Esc q or ALT-q is working?

Neither works to quit the menu, tested on Debian & Fedora.

okbob commented 4 months ago

po 22. 4. 2024 v 14:19 odesílatel Marek Schimara @.***> napsal:

please, can you check if Esc q or ALT-q is working?

Neither works to quit the menu.

it should to quit pspg

can you show me log

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2069252427, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO47DCPB2I4JNHCNHHR3Y6T55DAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGI2TENBSG4 . You are receiving this because you modified the open/close state.Message ID: @.***>

Marek77 commented 4 months ago

po 22. 4. 2024 v 14:19 odesílatel Marek Schimara @.> napsal: please, can you check if Esc q or ALT-q is working? Neither works to quit the menu. it should to quit pspg can you show me log — Reply to this email directly, view it on GitHub <#238 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO47DCPB2I4JNHCNHHR3Y6T55DAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGI2TENBSG4 . You are receiving this because you modified the open/close state.Message ID: @.>

I misunderstood. They both work to quit pspg, I was testing exiting the menu.

okbob commented 4 months ago

po 22. 4. 2024 v 14:15 odesílatel Marek Schimara @.***> napsal:

This patch fixes the issue for me:

diff --git a/src/pspg.c b/src/pspg.c index 5fff17c..e294047 100644 --- a/src/pspg.c +++ b/src/pspg.c @@ -3131,7 +3131,7 @@ reinit_theme:

if NCURSES_EXT_FUNCS

  • set_escdelay(1);
  • set_escdelay(500);

    elif !defined PDCURSES

Higher values also work, 1000 made delay exiting the menu a bit too long, and 100 is too low.

native esc delay was disabled because it has own event poll and it does other problems, but looks so some older workaround for https://github.com/okbob/pspg/issues/204

doesn't work correctly

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2069244606, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO45PFE5LT7MEMVVPVHDY6T5O5AVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGI2DINRQGY . You are receiving this because you modified the open/close state.Message ID: @.***>

okbob commented 4 months ago

po 22. 4. 2024 v 14:22 odesílatel Marek Schimara @.***> napsal:

po 22. 4. 2024 v 14:19 odesílatel Marek Schimara @.

> napsal: please, can you check if Esc q or ALT-q is working? Neither works to quit the menu. it should to quit pspg can you show me log … <#m3266634271965700697> — Reply to this email directly, view it on GitHub <#238 (comment) https://github.com/okbob/pspg/issues/238#issuecomment-2069252427>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO47DCPB2I4JNHCNHHR3Y6T55DAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGI2TENBSG4 https://github.com/notifications/unsubscribe-auth/AAEFO47DCPB2I4JNHCNHHR3Y6T55DAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGI2TENBSG4 . You are receiving this because you modified the open/close state.Message ID: @.>

I misunderstood. They both work to quit pspg, I was testing exiting the menu.

ok - so problem is just double escaping

Pavel

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2069258860, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO43HNABCP5TGDYYFDLTY6T6JDAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGI2TQOBWGA . You are receiving this because you modified the open/close state.Message ID: @.***>

Marek77 commented 4 months ago

I also tested set_escdelay(-1) - it's acting strangely on the Debian machine, F9 needs to be pressed 2x and ESC 3x (!) to work. F10, Alt-q, ESC q, /, F7 work as usual.

Marek77 commented 4 months ago

So I'm voting for 500 :-)

okbob commented 4 months ago

po 22. 4. 2024 v 14:31 odesílatel Marek Schimara @.***> napsal:

So I'm voting for 500 :-)

I hope so I'll find different workable solution - unfortunately some platforms has compatibility issues

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2069275959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO442F5MDHMILQBNNXULY6T7IRAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGI3TKOJVHE . You are receiving this because you modified the open/close state.Message ID: @.***>

okbob commented 4 months ago

po 22. 4. 2024 v 14:37 odesílatel Pavel Stehule @.***> napsal:

po 22. 4. 2024 v 14:31 odesílatel Marek Schimara @.***> napsal:

So I'm voting for 500 :-)

I hope so I'll find different workable solution - unfortunately some platforms has compatibility issues

please, can you try 5d288935ce3a9356ce7e49097591ae37d9129199

can you check ESC ESC from menu (necessary is double escape) or with --esc-delay=500 just one

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2069275959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO442F5MDHMILQBNNXULY6T7IRAVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGI3TKOJVHE . You are receiving this because you modified the open/close state.Message ID: @.***>

Marek77 commented 4 months ago

Great work, I confirm this works on both of my machines. Thanks a lot! :-)

okbob commented 4 months ago

út 23. 4. 2024 v 9:57 odesílatel Marek Schimara @.***> napsal:

Great work, I confirm this works on both of my machines. Thanks a lot! :-)

super, thank you for check

It was working a few years ago, but when I did port to pdcurses I broke it. Unfortunately, I have no platform with this behaviour, so I had no idea, so this is broken.

Regards

Pavel

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/238#issuecomment-2071663221, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO4YTMJGRRNHY4O4GDVTY6YH67AVCNFSM6AAAAABDNUDSD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGY3DGMRSGE . You are receiving this because you modified the open/close state.Message ID: @.***>