mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 12:23:46 +03:00
optimize change to column 0 as CR
Optimize a `Change::CursorPosition { x: Absolute(0), y: Relative(0) }` as CR.
This commit is contained in:
parent
6ef1ad3a56
commit
4ca7214ae2
@ -448,6 +448,12 @@ impl TerminfoRenderer {
|
||||
} => {
|
||||
out.by_ref().write_all(b"\r\n")?;
|
||||
}
|
||||
Change::CursorPosition {
|
||||
x: Position::Absolute(0),
|
||||
y: Position::Relative(0),
|
||||
} => {
|
||||
out.by_ref().write_all(b"\r")?;
|
||||
}
|
||||
Change::CursorPosition {
|
||||
x: Position::Absolute(0),
|
||||
y: Position::Absolute(0),
|
||||
|
Loading…
Reference in New Issue
Block a user