From 82bfc41af7d6eff384bdf95cedaf0d62b5450979 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Sun, 1 Jan 2017 18:28:49 -0800 Subject: Add support for SGR mouse reporting According to: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking --- src/index.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/index.rs') 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) } } -- cgit v1.2.3-54-g00ecf