Hi,
I am looking for a way to move the cursor into a completed suggestion.
For example, if I type p and it completes to play(""), I would like the cursor to be positioned right after the first ".
I tried adding an ANSI escape sequence \033[2D (move cursor back 2x) but it is not being interpreted. An alternative could be to have a post complete func and a way to tell the *State that a cursor move is requested (programmatic CtrlB).
Before working on such a feature, I would like to have some feedback on this.
Thx,
Ernest
Hi,
I am looking for a way to move the cursor into a completed suggestion.
For example, if I type
pand it completes toplay(""), I would like the cursor to be positioned right after the first".I tried adding an ANSI escape sequence
\033[2D(move cursor back 2x) but it is not being interpreted. An alternative could be to have a post complete func and a way to tell the *State that a cursor move is requested (programmatic CtrlB).Before working on such a feature, I would like to have some feedback on this.
Thx,
Ernest