Embedded shell : cursor movement/history

Any wishes
Locked
don
Posts: 134
Joined: Sat Jul 18, 2015 11:03 am
Location: Sydney, AU

Embedded shell : cursor movement/history

Post by don » Mon Jan 16, 2017 12:00 am

Good day,

I do like the feature of the embedded command line right below the panels - use it a lot.

With the current set up, only typing goes there. Would it be possible to extend with the following:

- Arrows - to be able to move back and forth
- <Modifier> + Left/Right Arrows - to be able to jump to the beginning and end of the typed line
- <Modifier> + Up/Down Arrows - to be able to scroll through the command history?

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Embedded shell : cursor movement/history

Post by mike » Mon Jan 23, 2017 6:19 am

Hi don,
don wrote:
Mon Jan 16, 2017 12:00 am
- Arrows - to be able to move back and forth
How would NC distinguish between arrow strokes for file panels and for command line?
don wrote:
Mon Jan 16, 2017 12:00 am
- <Modifier> + Left/Right Arrows - to be able to jump to the beginning and end of the typed line
- <Modifier> + Up/Down Arrows - to be able to scroll through the command history?
I hope to get into this feature somewhere in 1.2.x, it requires some quite nasty and obscure heuristics to implement, which might take a lot of time.

Locked