diff --git a/README.md b/README.md index 617eb2045..a5389d45e 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ set to 80x24 with 3500 lines of scrollback. `alacritty` has no scrollback. | xterm | 9.863 | | Gnome Terminal | 2.391 | | Terminator 1.91 | 2.319 | -| wezterm | 0.996 | +| wezterm | 0.940 | | kitty | 0.899 | | urxvt | 0.615 | | alacritty | 0.421 | diff --git a/term/src/cell.rs b/term/src/cell.rs index 62de28e16..367ca3e63 100644 --- a/term/src/cell.rs +++ b/term/src/cell.rs @@ -138,7 +138,7 @@ impl Default for Cell { Cell { len: 1, bytes, - attrs: CellAttributes::default() + attrs: CellAttributes::default(), } } } diff --git a/term/src/terminalstate.rs b/term/src/terminalstate.rs index 17c914b82..96d1d6a12 100644 --- a/term/src/terminalstate.rs +++ b/term/src/terminalstate.rs @@ -1076,10 +1076,8 @@ impl vte::Perform for TerminalState { } if x + print_width < width { - self.set_cursor_pos( - &Position::Relative(print_width as i64), - &Position::Relative(0), - ); + self.cursor.x += print_width; + self.wrap_next = false; } else { self.wrap_next = true; }