From bb9b47fd1af11b1f9b623599e32a3433e9725115 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 2 Dec 2023 09:32:02 -0800 Subject: [PATCH] bugfix: loading a file with text selected --- 0127-one_time_load | 1 + 1 file changed, 1 insertion(+) diff --git a/0127-one_time_load b/0127-one_time_load index a74e3ad..f7af8fb 100644 --- a/0127-one_time_load +++ b/0127-one_time_load @@ -1,5 +1,6 @@ one_time_load = function() print('loading '..Current_pane.filename) + edit.clear(Current_pane.editor_state) Current_pane.editor_state.filename = Directory..Current_pane.filename load_from_disk(Current_pane.editor_state) Text.redraw_all(Current_pane.editor_state)