From 97558ad621a035dfdd208d8f629c0a81cdcd636f Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 7 Apr 2026 20:33:53 +0200 Subject: [PATCH] fix(gui): default to .beam cursor in gui until idle rendering is more efficient --- src/tui/tui.zig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tui/tui.zig b/src/tui/tui.zig index d457819d..54896607 100644 --- a/src/tui/tui.zig +++ b/src/tui/tui.zig @@ -2174,7 +2174,12 @@ pub fn get_cursor_shape() renderer.CursorShape { default_cursor else default_cursor; - const shape = if (self.rdr_.vx.caps.multi_cursor and shape_ == .default) .beam_blink else shape_; + const shape = if (build_options.gui and shape_ == .default) + .beam + else if (self.rdr_.vx.caps.multi_cursor and shape_ == .default) + .beam_blink + else + shape_; return switch (shape) { .default => .default, .block_blink => .block_blink,