Skip to content

Commit

Permalink
Fix overcorrection
Browse files Browse the repository at this point in the history
  • Loading branch information
Cimbali committed Jul 12, 2024
1 parent 8d907f9 commit f0fad1b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/prompt_toolkit/layout/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2163,9 +2163,6 @@ def copy_line(
# Append continuation (e.g. hyphen)
if continuation:
x, y = copy_line(continuation, lineno, x, y, is_input=False)
# Make sure to erase rest of the line
for i in range(x, width):
new_buffer_row[i + xpos] = empty_char

if wrap_replaced < 0:
return x, y
Expand Down

0 comments on commit f0fad1b

Please sign in to comment.