mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-21 11:35:44 -05:00
immediately unsave the cursor position, as a neat trick
This commit is contained in:
parent
f83b8c999c
commit
39e9b1765d
@ -260,7 +260,7 @@ function buffer:read(...)
|
||||
-- this whole thing is a house of cards. good luck.
|
||||
io.write("\27[s\27[8m\27[6n")
|
||||
if not (self.mx or self.my) then
|
||||
io.write("\27[9999;9999H\27[6n")
|
||||
io.write("\27[9999;9999H\27[6n\27[u")
|
||||
end
|
||||
local pos, buffer, hIndex, sx, sy = 1, "", 0
|
||||
self.history = self.history or {}
|
||||
|
Loading…
Reference in New Issue
Block a user