aboutsummaryrefslogtreecommitdiff
path: root/src/index.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-01-01 18:28:49 -0800
committerJoe Wilm <joe@jwilm.com>2017-01-01 18:28:49 -0800
commit82bfc41af7d6eff384bdf95cedaf0d62b5450979 (patch)
treed49059a741b4d751d424f15cf3d33cd8042aaa14 /src/index.rs
parenta86dfd1a113f62fb6c40ebf5fe80f30a60cdff99 (diff)
downloadalacritty-82bfc41af7d6eff384bdf95cedaf0d62b5450979.tar.gz
alacritty-82bfc41af7d6eff384bdf95cedaf0d62b5450979.zip
Add support for SGR mouse reporting
According to: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking
Diffstat (limited to 'src/index.rs')
-rw-r--r--src/index.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.rs b/src/index.rs
index 7cb6ee24..c80589da 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -62,7 +62,7 @@ pub struct Line(pub usize);
impl fmt::Display for Line {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- write!(f, "Line({})", self.0)
+ write!(f, "{}", self.0)
}
}
@@ -74,7 +74,7 @@ pub struct Column(pub usize);
impl fmt::Display for Column {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- write!(f, "Column({})", self.0)
+ write!(f, "{}", self.0)
}
}