diff --git a/src/tui/terminal_view.zig b/src/tui/terminal_view.zig index 5c379a60..fe9da1eb 100644 --- a/src/tui/terminal_view.zig +++ b/src/tui/terminal_view.zig @@ -388,6 +388,12 @@ pub fn render(self: *Self, theme: *const Widget.Theme) bool { std.log.err("terminal_view: draw failed: {}", .{e}); }; + if (!software_cursor and self.focused and tui.terminal_has_focus()) { + const scr = &tui.rdr().vx.screen; + if (scr.cursor_vis) + tui.rdr().cursor_enable(@intCast(scr.cursor.row), @intCast(scr.cursor.col), scr.cursor_shape) catch {}; + } + return false; }