From 92fb3e17aa413046dff0a004ab5d790d45ef90f5 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 3 Aug 2024 12:20:54 +0200 Subject: add cursor shape handling --- src/widgets/luaeditor/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/luaeditor') 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(), }) } } -- cgit v1.2.3-70-g09d2