Support meta key for keybindings

This commit is contained in:
FelixSe committed 2018-04-22 12:45:30 +02:00
1 parent f502303426
commit 7f7f15ea03
8 files changed
+51 -2

No files matched your search

@@ -25,6 +25,19 @@ namespace FluentTerminal.App.ViewModels.Settings
public event EventHandler Edited;
public bool Meta
{
get => Model.Meta;
set
{
if (Model.Meta != value)
{
Model.Meta = value;
RaisePropertyChanged();
}
}
}
public bool Alt
{
get => Model.Alt;
@@ -92,6 +105,7 @@ namespace FluentTerminal.App.ViewModels.Settings
Alt = dialog.KeyBinding.Alt;
Ctrl = dialog.KeyBinding.Ctrl;
Shift = dialog.KeyBinding.Shift;
Meta = dialog.KeyBinding.Meta;
Key = dialog.KeyBinding.Key;
Edited?.Invoke(this, EventArgs.Empty);