mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 03:36:42 +01:00
This commit is contained in:
parent
e839096cf3
commit
7fd6c91643
1 changed files with 0 additions and 1 deletions
|
|
@ -27,7 +27,6 @@ impl TuiKey {
|
||||||
let mut modifiers = KeyModifiers::NONE;
|
let mut modifiers = KeyModifiers::NONE;
|
||||||
let mut tokens = symbol[1..].split(Self::SPLIT).peekable();
|
let mut tokens = symbol[1..].split(Self::SPLIT).peekable();
|
||||||
while let Some(token) = tokens.next() {
|
while let Some(token) = tokens.next() {
|
||||||
println!("{token}");
|
|
||||||
if tokens.peek().is_some() {
|
if tokens.peek().is_some() {
|
||||||
match token {
|
match token {
|
||||||
"ctrl" | "Ctrl" | "c" | "C" => modifiers |= KeyModifiers::CONTROL,
|
"ctrl" | "Ctrl" | "c" | "C" => modifiers |= KeyModifiers::CONTROL,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue