diff --git a/src/ui/widgets/editor.rs b/src/ui/widgets/editor.rs index af8ac93..e8e8ec4 100644 --- a/src/ui/widgets/editor.rs +++ b/src/ui/widgets/editor.rs @@ -49,7 +49,7 @@ impl InnerEditorState { Self { idx: text.len(), col: 0, - last_width: 0, + last_width: u16::MAX, text, } }