matoom/frostbite

Place cursor at end of line when hitting up to populate previous commands

hennii opened this issue ยท 4 comments

Feature request ๐Ÿ™

When cycling through previous commands (using Mac version) with the "up" arrow, the cursor is placed at the start of the line. As someone used to using shells with the same functionality, it grinds against my expectation that the cursor will be at the end of the line.

Love the frontend, thanks for your hard work!

This seems to be in general the way mac handles up/down keys. I observed the same behavior in atom text editor. Technically the cursor is already being put to the end but i think macs key handling overrides that.

Good news is that it's possible to suppress default keys and i guess there's no big downsides of doing that since both up/down keys should be only assigned to command history. I'll add the fix but pending any unforeseeable issues that may occur that i can't think of right now, might have to revisit this later.

Can we cut a new release with the latest master updates? Thanks! ๐Ÿ™

No ETA on next update atm. There's another contributor working on big changes and master is inconsistent right now. I'm waiting until he's finished with refactoring tcp sessions to put in the finishing touches for the next release.

Fixed in v1.13.0 beta, thanks!