diff options
| author | EverythingWindows <[email protected]> | 2022-11-17 11:44:01 +0700 |
|---|---|---|
| committer | EverythingWindows <[email protected]> | 2022-11-17 11:44:01 +0700 |
| commit | 9d0b741e7b1ced233cd791f51e1c975b60d43acd (patch) | |
| tree | c946d787509201ada3a34553c01a275f2f17969e /ShiftOS-TheRevival/MainForms | |
| parent | dc8ddb780f10e7c8372c558ad4dec5fd171b8cc8 (diff) | |
| download | shiftos-therevival-old-9d0b741e7b1ced233cd791f51e1c975b60d43acd.tar.gz shiftos-therevival-old-9d0b741e7b1ced233cd791f51e1c975b60d43acd.tar.bz2 shiftos-therevival-old-9d0b741e7b1ced233cd791f51e1c975b60d43acd.zip | |
Added KeyboardHandler to handle shortcuts and key input to make it universally used
Diffstat (limited to 'ShiftOS-TheRevival/MainForms')
| -rw-r--r-- | ShiftOS-TheRevival/MainForms/Console.vb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/ShiftOS-TheRevival/MainForms/Console.vb b/ShiftOS-TheRevival/MainForms/Console.vb index 5e8ef82..5dca6dc 100644 --- a/ShiftOS-TheRevival/MainForms/Console.vb +++ b/ShiftOS-TheRevival/MainForms/Console.vb @@ -98,16 +98,8 @@ Public Class Console Private Sub txtterm_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown KeyInput = e.KeyData - Select Case e.KeyData - Case (Keys.Control + Keys.Q) - If CurrentInterpreter = "terminal" Then - Else - TerminateApp(KeyInput) - TextRebind() - End If - Case Else - CaptureKeyBinding(KeyInput) - End Select + InputKey = e.KeyData + ShortcutHandle() If ReleaseCursor = True Then Else |
