remove unused 'self' (clippy::unused_self)

This commit is contained in:
Daniel Eades 2024-04-15 21:10:32 +01:00 committed by Jeremy Soller
parent 1b53309d63
commit 5f0a0ba726
2 changed files with 8 additions and 12 deletions

View file

@ -855,7 +855,7 @@ impl Terminal {
let term_lock = self.term.lock();
let mode = term_lock.mode();
if mode.contains(TermMode::SGR_MOUSE) {
self.mouse_reporter.report_sgr_mouse_wheel_scroll(
MouseReporter::report_sgr_mouse_wheel_scroll(
self,
self.size().cell_width,
self.size().cell_height,
@ -865,7 +865,7 @@ impl Terminal {
y,
);
} else {
self.mouse_reporter.report_mouse_wheel_as_arrows(
MouseReporter::report_mouse_wheel_as_arrows(
self,
self.size().cell_width,
self.size().cell_height,