shithub: orca

Download patch

ref: 96f86b425c5bf44b00e3a90e80067d8bdb93ad7b
parent: f938a82d1d1b3a6c8189b6000d8ba470e9e2a741
author: cancel <cancel@cancel.fm>
date: Thu Jan 2 20:16:39 EST 2020

Fix undo not updating internal editor geometry

--- a/tui_main.c
+++ b/tui_main.c
@@ -1671,6 +1671,7 @@
         undo_history_pop(&a->undo_hist, &a->field, &a->tick_num);
       }
       ged_cursor_confine(&a->ged_cursor, a->field.height, a->field.width);
+      ged_update_internal_geometry(a);
       ged_make_cursor_visible(a);
       a->needs_remarking = true;
       a->is_draw_dirty = true;