summaryrefslogtreecommitdiff
path: root/ui_vaxis.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-03 17:33:05 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commitf3b62fe53b19e36f21f8020831718cbf095d6a7b (patch)
treecdfd008869bb5f5aeb69f0ef30584fec86f6f95b /ui_vaxis.zig
parent6b4b1f76bb6bf969fb5106f95fb3f9ad077fac08 (diff)
downloadpardes-f3b62fe53b19e36f21f8020831718cbf095d6a7b.tar.gz
pardes-f3b62fe53b19e36f21f8020831718cbf095d6a7b.zip
performance pass
Diffstat (limited to 'ui_vaxis.zig')
-rw-r--r--ui_vaxis.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui_vaxis.zig b/ui_vaxis.zig
index 61bf51ca..1a3ce0af 100644
--- a/ui_vaxis.zig
+++ b/ui_vaxis.zig
@@ -31,3 +31,8 @@ pub const Event = vaxis.Event;
pub const Capabilities = vaxis.Capabilities;
pub const Options = vaxis.Options;
pub const CursorShape = vaxis.Cell.CursorShape;
+pub const supports_terminal_prepaint = true;
+
+pub fn adoptAltScreen(vx: *Vaxis) void {
+ vx.state.alt_screen = true;
+}