core: add meta key
Some applications have features (like typing Unicode codepoints in foot) that can only be used with key presses. Add a Meta key to allow the user to always send a keypress.
This commit is contained in:
parent
0ebf6a8d5b
commit
f3ba955ae4
3 changed files with 28 additions and 6 deletions
|
|
@ -97,7 +97,7 @@ struct Label<'a> {
|
|||
small: bool,
|
||||
}
|
||||
|
||||
const LABELS: [Label; 21] = [
|
||||
const LABELS: [Label; 22] = [
|
||||
Label { label: "Alt",
|
||||
secondary: true, small: true, },
|
||||
Label { label: "Ctrl",
|
||||
|
|
@ -112,6 +112,8 @@ const LABELS: [Label; 21] = [
|
|||
secondary: true, small: true, },
|
||||
Label { label: "Ins",
|
||||
secondary: true, small: true, },
|
||||
Label { label: "Meta",
|
||||
secondary: true, small: true, },
|
||||
Label { label: "\u{2190}", // LEFTWARDS ARROW
|
||||
secondary: true, small: false, },
|
||||
Label { label: "\u{2191}", // UPWARDS ARROW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue