summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/textarea.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c
index 4ab62cbba..62ee05a12 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -2053,8 +2053,9 @@ bool textarea_keypress(struct textarea *ta, uint32_t key)
}
- if (caret != caret_init)
+ if (caret != caret_init || redraw)
textarea_set_caret(ta, caret);
+
//TODO:redraw only the important part
if (redraw) {
msg.ta = ta;