From b4fc29e2957a8741829bbef74a596918810e951e Mon Sep 17 00:00:00 2001 From: dzaima Date: Mon, 26 Dec 2022 17:56:29 +0200 Subject: [PATCH] don't use [2K for clearing lines for whatever reason, it sets the line width to the screen width, causing ugliness on terminal resizing --- build/src/build.bqn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/src/build.bqn b/build/src/build.bqn index ce5c7003..f0eeb7c0 100755 --- a/build/src/build.bqn +++ b/build/src/build.bqn @@ -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 ↩ ⟨⟩