sexe icon indicating copy to clipboard operation
sexe copied to clipboard

Allow for cursor movement within input boxes

Open z2oh opened this issue 5 years ago • 4 comments

Currently, text can only be appended to the strings in the input boxes. Any changes earlier in the string must be made by backspacing to the point of desired change and then re-typed after change. There should be a way to change position within the input box without having to delete any text.

With this change, it becomes more important to show the location of the cursor within the input box. Displaying the cursor's location in the box may also be sufficient for #3.

What keys do we use to move around within the box? The left and right keys are hardcoded to move between boxes. Perhaps we require the user to press enter to select a box and then enter an input mode where left and right mean move within the box?

z2oh avatar Oct 02 '18 15:10 z2oh

Should you use tab? As it is natural to use tab to move between input box

ridho9 avatar Oct 02 '18 15:10 ridho9

That's a good idea. It may be annoying though to have the option to only move one way. Maybe tab cycles forward between the input boxes (wrapping at the last box), and then Ctrl+left and Ctrl+right allow for more fine tuned movement between boxes?

z2oh avatar Oct 02 '18 17:10 z2oh

Tab should move forward, and shift+tab should move backward I think

ridho9 avatar Oct 02 '18 23:10 ridho9

Ah shift+tab is good, I didn't think of that.

z2oh avatar Oct 02 '18 23:10 z2oh