Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jan 26, 2025
1 parent 5b73bc3 commit 02c84bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontends/rioterm/src/screen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,11 @@ impl Screen<'_> {
}

// Mask `Alt` modifier from input when we won't send esc.
let mods = if self.alt_send_esc(&key, text) { mods } else { mods & !ModifiersState::ALT };
let mods = if self.alt_send_esc(key, text) {
mods
} else {
mods & !ModifiersState::ALT
};

let build_key_sequence = Self::should_build_sequence(key, text, mode, mods);

Expand Down

0 comments on commit 02c84bc

Please sign in to comment.