← index #3879PR #3887
Likely Duplicate · medium · value 0.953
QUERY · ISSUE

REPL edit of wrapped command line is scrambled

openby rolandvsopened 2018-06-19updated 2018-06-20

I noticed that when the terminal window is set such that a full line will wrap to the next, editing the line when using REPL obscures the output/buffer.
Even though walking the entire command line up and down to the next line goes OK, adding a char is OK, but when a backspace is entered or a new character is entered in the first line the cursor position is the beginning of the next line.

Would be nice if this would work correctly

CANDIDATE · PULL REQUEST

windows: Improve line wrapping behaviour on the REPL

closedby stinosopened 2018-06-21updated 2019-05-23

This enables going back to previous wrapped lines using backspace
or left arrow: instead of just sticking to the beginning of a line,
the cursor will move a line up.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied