Compare commits
No commits in common. "4eda1fec0c1b2f78f799ea2474b392e9004f6892" and "3d90b199ad90e1b7f272411eb04a4f1293ed8c73" have entirely different histories.
4eda1fec0c
...
3d90b199ad
2 changed files with 1 additions and 3 deletions
|
|
@ -225,7 +225,6 @@
|
||||||
"select": {
|
"select": {
|
||||||
"name": "SELECT",
|
"name": "SELECT",
|
||||||
"inherit": "normal",
|
"inherit": "normal",
|
||||||
"cursor": "block",
|
|
||||||
"press": [
|
"press": [
|
||||||
["left", "select_left"],
|
["left", "select_left"],
|
||||||
["right", "select_right"],
|
["right", "select_right"],
|
||||||
|
|
|
||||||
|
|
@ -1455,8 +1455,7 @@ fn set_terminal_style(self: *Self) void {
|
||||||
|
|
||||||
pub fn get_cursor_shape() renderer.CursorShape {
|
pub fn get_cursor_shape() renderer.CursorShape {
|
||||||
const self = current();
|
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) {
|
return switch (shape) {
|
||||||
.default => .default,
|
.default => .default,
|
||||||
.block_blink => .block_blink,
|
.block_blink => .block_blink,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue