From 2d55bd0326ef3a2ee1982beb327a84c7fc6371f3 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Sat, 13 Sep 2025 16:09:41 +0200 Subject: [PATCH 1/2] feat: use block cursor in flow mode select submode --- src/keybind/builtin/flow.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/keybind/builtin/flow.json b/src/keybind/builtin/flow.json index 30ddc9c..ca9a7c4 100644 --- a/src/keybind/builtin/flow.json +++ b/src/keybind/builtin/flow.json @@ -225,6 +225,7 @@ "select": { "name": "SELECT", "inherit": "normal", + "cursor": "block", "press": [ ["left", "select_left"], ["right", "select_right"], From 4eda1fec0c1b2f78f799ea2474b392e9004f6892 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Sat, 13 Sep 2025 16:09:59 +0200 Subject: [PATCH 2/2] feat: set beam_blick as the default cursor shape if we have mutil cursor support --- src/tui/tui.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tui/tui.zig b/src/tui/tui.zig index a08e55c..0577836 100644 --- a/src/tui/tui.zig +++ b/src/tui/tui.zig @@ -1455,7 +1455,8 @@ fn set_terminal_style(self: *Self) void { pub fn get_cursor_shape() renderer.CursorShape { const self = current(); - const shape = if (self.input_mode_) |mode| mode.cursor_shape orelse self.default_cursor else self.default_cursor; + const shape_ = if (self.input_mode_) |mode| mode.cursor_shape orelse self.default_cursor else self.default_cursor; + const shape = if (self.rdr_.vx.caps.multi_cursor and shape_ == .default) .beam_blink else shape_; return switch (shape) { .default => .default, .block_blink => .block_blink,