This commit is contained in:
MeexReay 2025-03-21 21:29:05 +03:00
parent 75a084b465
commit 457de8659e

View File

@ -89,6 +89,10 @@ async function main(args) {
setStdinFlag(ENABLE_STDIN) setStdinFlag(ENABLE_STDIN)
setStdinFlag(SILENT_STDIN) setStdinFlag(SILENT_STDIN)
screen_length -= status_length
status_length = 1 + command.length
screen_length += status_length
if (command == "w") { if (command == "w") {
// save // save
@ -99,10 +103,6 @@ async function main(args) {
break break
} }
screen_length -= status_length
status_length = 1 + command.length
screen_length += status_length
} else if (event.char == "i") { } else if (event.char == "i") {
mode = "insert" mode = "insert"
} }