inducer / pudb

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

Map up/down keys to command history prev/next #392

Closed ned2 closed 8 months ago

ned2 commented 4 years ago

Map up/down keys to command history prev/next when command line is focused

Fixes #348

asmeurer commented 4 years ago

It's not obvious, but you can still arrow up through the history items with this by pressing "right" to select the "" button, then arrowing up.

inducer commented 4 years ago
ned2 commented 4 years ago

Oops yes the help, I forgot about that. done.

With the console scrollback paging, @inducer, do you mean navigating forward/back through blocks of history commands of size greater than 1, or something else?

inducer commented 4 years ago

With the console scrollback paging, @inducer, do you mean navigating forward/back through blocks of history commands of size greater than 1, or something else?

Just navigating somehow. Since this takes away cursor up/down as a canonical way to do scrollback navigation, I'd like for something somewhat easy to remember to be put in place. And @asmeurer's go-right-then-up thing is cute, but doesn't count: it's not convenient, obvious, or easy-to-remember.

sisrfeng commented 2 years ago

Any update? Or how could I make small changes to my own fork for this purpose?

Agree, this is super annoying. It's really messing up my muscle memory.

Me too!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

asmeurer commented 2 years ago

I think if these two things are addressed this is fine https://github.com/inducer/pudb/pull/392#issuecomment-650694840. I would suggest making a new PR for this, since no work has happened on this one in a while.

inducer commented 8 months ago

This was done in #600.