Skip to content

Commit

Permalink
Fix repl
Browse files Browse the repository at this point in the history
  • Loading branch information
Victorious3 committed Nov 24, 2023
1 parent 29cc07e commit 2516835
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/repl.pr
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ def read_input {

while lines[line][column - 1] & 0b11000000 == 0b10000000 {
column -= 1
lines[line].remove(column)
lines[line] = lines[line].remove(column)
}
column -= 1
lines[line].remove(column)
lines[line] = lines[line].remove(column)

if column < lines[line].length {
print("\x1B7")
Expand Down Expand Up @@ -235,6 +235,7 @@ def read_input {
}
}
history[history_item] = lines[line]
fflush(std::stdout())
}

var br = false
Expand Down

0 comments on commit 2516835

Please sign in to comment.