fix(gui): default to .beam cursor in gui until idle rendering is more efficient

This commit is contained in:
CJ van den Berg 2026-04-07 20:33:53 +02:00
parent cf496c881c
commit 97558ad621
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -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,