aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-13 23:30:56 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-13 23:42:11 -0500
commit905da12c2f7802ed842a94192f837d42f9c5f0ca (patch)
tree139efb05ae9d7dc18a179f4a7a397d9ea9126f22 /src/screen.rs
parent3bbf036e01b9c8314c1d52ea38dfa6e5a7cc9e3d (diff)
downloadvt100-rust-905da12c2f7802ed842a94192f837d42f9c5f0ca.tar.gz
vt100-rust-905da12c2f7802ed842a94192f837d42f9c5f0ca.zip
clean up clippy stuff
Diffstat (limited to 'src/screen.rs')
-rw-r--r--src/screen.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/screen.rs b/src/screen.rs
index c885242..24f461c 100644
--- a/src/screen.rs
+++ b/src/screen.rs
@@ -826,10 +826,7 @@ impl Screen {
}
}
-// unclear why putting this attribute on the individual methods doesn't work
-#[allow(clippy::unused_self)]
impl Screen {
- #[allow(clippy::too_many_lines)]
fn text(&mut self, c: char) {
let pos = self.grid().pos();
let size = self.grid().size();
@@ -1161,6 +1158,7 @@ impl Screen {
}
// CSI h
+ #[allow(clippy::unused_self)]
fn sm(&mut self, params: &vte::Params) {
// nothing, i think?
if log::log_enabled!(log::Level::Debug) {
@@ -1211,6 +1209,7 @@ impl Screen {
}
// CSI l
+ #[allow(clippy::unused_self)]
fn rm(&mut self, params: &vte::Params) {
// nothing, i think?
if log::log_enabled!(log::Level::Debug) {