pudb icon indicating copy to clipboard operation
pudb copied to clipboard

Tab navigation would be nice

Open blueyed opened this issue 8 years ago • 4 comments

After opening the preferences with Ctrl-p I cannot close the dialog.

Pressing Enter right away toggles the first option. The cursor keys select different options, but "OK" / "Cancel" cannot be reached with it. Tab and Shift-Tab seem to not have any impact.

I need to kill the python process to get out of it.

I've tried it with both Python 3.6 and 3.5.2, different terminals (urxvt, xterm, gnome-terminal), and also with different display settings (via config file).

Used version: v2017.1.1-4-gb38148e, but tried the release from PyPI first.

-e git+http://git.tiker.net/trees/pudb.git@b38148e6b05a88f5ff43a94925e8235ea025f3e4#egg=pudb
Pygments==2.2.0
urwid==1.3.1

blueyed avatar Mar 08 '17 14:03 blueyed

What happens when you press Cursor-Right?

inducer avatar Mar 08 '17 15:03 inducer

That works! :D

I am clearly not used to using cursor keys in a terminal.

Should Tab go there maybe, too?

blueyed avatar Mar 08 '17 16:03 blueyed

Agree that this would be useful. It would likely have to be an Urwid thing though:

https://github.com/urwid/urwid/issues/143

inducer avatar Mar 08 '17 16:03 inducer

Maybe ESC, q, and Crtl-p should all close the dialog as well.

asmeurer avatar Mar 08 '17 18:03 asmeurer