mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Fix typo in comment
This commit is contained in:
@@ -759,7 +759,7 @@ fn r#move(&mut self, new_x: usize, new_y: usize) {
|
|||||||
(term.cursor_right.as_ref(), term.parm_right_cursor.as_ref())
|
(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).
|
// 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())
|
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())
|
&& x_steps.abs_diff(0) * s.map_or(0, |s| s.as_bytes().len())
|
||||||
|
|||||||
Reference in New Issue
Block a user