cursor fix

This commit is contained in:
MeexReay 2025-03-21 18:30:11 +03:00
parent 98fd4760d0
commit d73fe415b1

View File

@ -32,6 +32,7 @@ async function readLine(on_key=(key, ctrl, alt, shift, content, pos) => [content
content = content.slice(0, pos - 1) + content.slice(pos)
pos -= 1
setTerminal(start_terminal.substring(0, terminal_text.length-length) + content)
let cursor = getCursor()
setCursor(cursor[0]-1, cursor[1])
updateTerminalWOCursor()
}