remove unused 'self' (clippy::unused_self)
This commit is contained in:
parent
1b53309d63
commit
5f0a0ba726
2 changed files with 8 additions and 12 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue