Fix typo in comment

This commit is contained in:
Johannes Altmanninger 2024-11-02 09:54:19 +01:00
parent 85404bf7a9
commit f42beec42e

View File

@ -759,7 +759,7 @@ impl Screen {
(term.cursor_right.as_ref(), term.parm_right_cursor.as_ref())
};
// Use the bulk ('multi') zelf.output for cursor movement if it is supported and it would be shorter
// Use the bulk ('multi') output for cursor movement if it is supported and it would be shorter
// Note that this is required to avoid some visual glitches in iTerm (issue #1448).
let use_multi = multi_str.is_some_and(|ms| !ms.as_bytes().is_empty())
&& x_steps.abs_diff(0) * s.map_or(0, |s| s.as_bytes().len())