aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input.rs b/src/input.rs
index f11aec34..4be7dac5 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -267,9 +267,9 @@ impl<'a, A: ActionContext + 'a> Processor<'a, A> {
if line < Line(223) && column < Column(223) {
let msg = vec![
- '\x1b' as u8,
- '[' as u8,
- 'M' as u8,
+ b'\x1b',
+ b'[',
+ b'M',
32 + button,
32 + 1 + column.0 as u8,
32 + 1 + line.0 as u8,
@@ -443,7 +443,7 @@ impl<'a, A: ActionContext + 'a> Processor<'a, A> {
*self.ctx.received_count() = 0;
*self.ctx.suppress_chars() = false;
- if self.process_key_bindings(&mods, key) {
+ if self.process_key_bindings(mods, key) {
*self.ctx.suppress_chars() = true;
}
},