internal async void HandleKeyboardShortcut(KeyboardShortcuts keyboardShortcut) { LOG.DebugFormat("HandleKeyboardShortcut - KeyboardShortcut: {0}", keyboardShortcut); if (keyboardShortcut == KeyboardShortcuts.NewTab) { await StartNewProcess(); } else if (keyboardShortcut == KeyboardShortcuts.NextTab) { ProcessTabs.NextTab(); } else if (keyboardShortcut == KeyboardShortcuts.PreviousTab) { ProcessTabs.PreviousTab(); } else if (keyboardShortcut == KeyboardShortcuts.CloseTab) { CloseTab(ProcessTabs.SelectedTab); } else { LOG.ErrorFormat("Unhandled keyboard shortcut - KeyboardShortcut: {0}", keyboardShortcut); } }