pudb icon indicating copy to clipboard operation
pudb copied to clipboard

Map up/down keys to command history prev/next

Open ned2 opened this issue 5 years ago • 6 comments

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

Fixes #348

ned2 avatar Jun 28 '20 01:06 ned2

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.

asmeurer avatar Jun 28 '20 04:06 asmeurer

  • Fix the help
  • Could you see if we can bind shift+up (or some such) to paging through the console scrollback?

inducer avatar Jun 28 '20 04:06 inducer

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?

ned2 avatar Jun 28 '20 10:06 ned2

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.

inducer avatar Jun 28 '20 17:06 inducer

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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

sisrfeng avatar Aug 30 '22 13:08 sisrfeng

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.

asmeurer avatar Aug 30 '22 21:08 asmeurer

This was done in #600.

inducer avatar Mar 08 '24 15:03 inducer