Closed tbabej closed 6 years ago
Migrated metadata:
Created: 2013-10-05T03:25:21Z
Modified: 2014-02-09T01:14:57Z
Scott Kostyshak on 2013-10-07T03:20:35Z says:
I should be able to get to this for 1.2. The reason why it is not straightforward is because VIT currently has no concept of cursor tracking. Thus, we need to implement the visual indication of cursor movement (this will probably just be a simple 'move' ncurses command) and make sure all of the functions that deal with the prompts input and output the cursor position correctly. Such functions include left and right movement, backspace, and \cu.
After this, we will need to test by torturing the prompt (making sure the bounds are implemented correctly, e.g. backspace has no effect when in cursor position 0; unicode characters are OK, etc.).
Scott Kostyshak on 2013-10-21T05:11:27Z says:
It's in at 619b9630.
David Patrick on 2013-10-05T03:25:21Z says:
In vit, while editing prompt text, using the right and left arrow keys should move the cursor position through the text.