don't use <esc>[2K for clearing lines
for whatever reason, it sets the line width to the screen width, causing ugliness on terminal resizing
This commit is contained in:
parent
7bcee07489
commit
b4fc29e295
@ -376,7 +376,7 @@ Run ← { 𝕊:
|
||||
currLive ← ⟨⟩
|
||||
e ← @+27
|
||||
UpdateLive ← {
|
||||
•term.OutRaw (∾(0⌈¯1+≠currLive)⥊<(e∾"[2K"∾e∾"[1F")) ∾ (•ToUTF8 ∾storedOut) ∾ 1↓∾((@+10)∾•ToUTF8)¨ 𝕩
|
||||
•term.OutRaw (∾(0⌈¯1+≠currLive)⥊<(e∾(@+13)∾"[0K"∾e∾"[1F")) ∾ (•ToUTF8 ∾storedOut) ∾ 1↓∾((@+10)∾•ToUTF8)¨ 𝕩
|
||||
•term.Flush @
|
||||
currLive ↩ 𝕩
|
||||
storedOut ↩ ⟨⟩
|
||||
|
||||
Loading…
Reference in New Issue
Block a user