summaryrefslogtreecommitdiff
path: root/ui_sdl.zig
diff options
context:
space:
mode:
Diffstat (limited to 'ui_sdl.zig')
-rw-r--r--ui_sdl.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui_sdl.zig b/ui_sdl.zig
index a86d02f4..0b2a2fd2 100644
--- a/ui_sdl.zig
+++ b/ui_sdl.zig
@@ -62,10 +62,15 @@ pub const Options = struct {
// The backend struct is named `Vaxis` so `image.zig`'s `*vaxis.Vaxis` resolves.
pub const Vaxis = SdlBackend;
pub const Tty = SdlTty;
+pub const supports_terminal_prepaint = false;
pub fn Loop(comptime EventType: type) type {
return SdlLoop(EventType);
}
+pub fn adoptAltScreen(vx: *Vaxis) void {
+ _ = vx;
+}
+
const font_ttf = @embedFile("assets/AdwaitaMono-Regular.ttf");
const vert_spv_bytes = if (is_emscripten) "" else @embedFile("ui.vert.spv");
const frag_spv_bytes = if (is_emscripten) "" else @embedFile("ui.frag.spv");