diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sc_editor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index f00ad28..4b4a601 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -644,6 +644,7 @@ static void insert_text(char *t, SCEditor *e) wrap_paragraph(para, NULL, e->cursor_frame->w - e->cursor_frame->pad_l - e->cursor_frame->pad_r); + if ( e->flow ) update_size(e); cursor_moveh(e->cursor_frame, &e->cursor_para, &e->cursor_pos, &e->cursor_trail, +1); |