From a1ab31eea563dc4bee81bddd8d99a861712f6230 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 9 Sep 2020 18:40:06 +0200 Subject: grid: reflow: make sure cursor is within the visible screen area MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Even though we translate the cursor position from the old grid coordinates to the new, the cursor may _still_ end up outside the visible area. Make sure it doesn’t. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index e1853345..c876632d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -114,6 +114,7 @@ **not** include `Alt`. * Clipboard (or primary selection) is now cleared when receiving an OSC-52 command with an invalid base64 encoded payload. +* Cursor position being set outside the grid when reflowing text. ### Security -- cgit v1.3