diff options
author | Joe Wilm <joe@jwilm.com> | 2016-06-09 08:37:59 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-06-09 08:37:59 -0700 |
commit | 2395066318fea516bc0efbc7aecfb90a0d2548da (patch) | |
tree | b42cdf9f1b300d56337482e2fc319f2cee052e9f /src/term.rs | |
parent | 8566e17860933ef1da36a88b5d3fd839352065b8 (diff) | |
download | r-alacritty-2395066318fea516bc0efbc7aecfb90a0d2548da.tar.gz r-alacritty-2395066318fea516bc0efbc7aecfb90a0d2548da.tar.bz2 r-alacritty-2395066318fea516bc0efbc7aecfb90a0d2548da.zip |
Fix backspace
There's never a count associated with this, and it has been removed from
the Handler method to reflect as much.
Diffstat (limited to 'src/term.rs')
-rw-r--r-- | src/term.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/term.rs b/src/term.rs index 4c5e1424..3dbd94a0 100644 --- a/src/term.rs +++ b/src/term.rs @@ -281,11 +281,9 @@ impl ansi::Handler for Term { /// Backspace `count` characters #[inline] - fn backspace(&mut self, count: i64) { + fn backspace(&mut self) { println!("backspace"); - // TODO this is incorrect; count unused self.cursor.x -= 1; - self.set_char(' '); } /// Carriage return |