mirror of
https://github.com/MeexReay/poshlostios.git
synced 2025-06-24 10:32:59 +03:00
cursor fix
This commit is contained in:
parent
98fd4760d0
commit
d73fe415b1
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user