inducer / pudb

Full-screen console debugger for Python
https://documen.tician.de/pudb/
Other
2.97k stars 229 forks source link

Tab navigation would be nice #225

Open blueyed opened 7 years ago

blueyed commented 7 years ago

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
inducer commented 7 years ago

What happens when you press Cursor-Right?

blueyed commented 7 years ago

That works! :D

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

Should Tab go there maybe, too?

inducer commented 7 years ago

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

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

asmeurer commented 7 years ago

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