Skip to content

Commit 437bf3d

Browse files
committed
PyREPL: Update changed line planning for WSL
1 parent e19dc47 commit 437bf3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/_pyrepl/unix_console.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ def __plan_changed_line(
835835
planned_cells = diff.new_cells
836836
changed_cell = visible_new_cells[0]
837837
return LineUpdate(
838-
kind="insert_char",
838+
kind=("replace_char" if start_x == oldline.width else "insert_char"),
839839
y=y,
840840
start_cell=start_cell,
841841
start_x=start_x,

0 commit comments

Comments
 (0)