diff options
Diffstat (limited to 'ui_sdl.zig')
| -rw-r--r-- | ui_sdl.zig | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"); |
