summaryrefslogtreecommitdiff
path: root/src/widgets/luaeditor
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-08-03 12:20:54 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-08-03 12:20:54 +0200
commit92fb3e17aa413046dff0a004ab5d790d45ef90f5 (patch)
tree9dfbb3e71423abd80e65fc73e96952427e0738b8 /src/widgets/luaeditor
parent90daf295c7dd5fedc3219b8947fac110f05cc522 (diff)
add cursor shape handling
Diffstat (limited to 'src/widgets/luaeditor')
-rw-r--r--src/widgets/luaeditor/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/luaeditor/mod.rs b/src/widgets/luaeditor/mod.rs
index 4bcb5d2..0dcda9f 100644
--- a/src/widgets/luaeditor/mod.rs
+++ b/src/widgets/luaeditor/mod.rs
@@ -60,7 +60,7 @@ impl LuaEditor {
buffer.cursor().y() as u16,
buffer.cursor().x() as u16 + nr_width,
),
- style: ratatui::crossterm::cursor::SetCursorStyle::SteadyBar,
+ style: state.editor.cursor_shape.into(),
})
}
}