diff options
author | Joursoir <chat@joursoir.net> | 2021-12-08 21:21:02 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-12-08 21:21:02 +0300 |
commit | 168b13a1c52b925a0aebc3f1857562c4bc6e753f (patch) | |
tree | 9f73d6c26ebb2833b74018dd73a06b2cfefd1af1 /Library/UefiShellUfmCommandLib/UefiShellUfmCommandLib.c | |
parent | bbe0ce6ecd203f86cd10e5f4ed7c8362ec71e8e2 (diff) | |
download | ufm-168b13a1c52b925a0aebc3f1857562c4bc6e753f.tar.gz ufm-168b13a1c52b925a0aebc3f1857562c4bc6e753f.tar.bz2 ufm-168b13a1c52b925a0aebc3f1857562c4bc6e753f.zip |
add execution for files and text editors
Diffstat (limited to 'Library/UefiShellUfmCommandLib/UefiShellUfmCommandLib.c')
-rw-r--r-- | Library/UefiShellUfmCommandLib/UefiShellUfmCommandLib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/UefiShellUfmCommandLib/UefiShellUfmCommandLib.c b/Library/UefiShellUfmCommandLib/UefiShellUfmCommandLib.c index fb56e1b..95d4989 100644 --- a/Library/UefiShellUfmCommandLib/UefiShellUfmCommandLib.c +++ b/Library/UefiShellUfmCommandLib/UefiShellUfmCommandLib.c @@ -17,12 +17,12 @@ STATIC CONST struct shortcut shortcuts[] = { {ACTION_ROUTINE, {SCAN_UP, 0x0}, jump_up, L"Up arrow", L"Movement"}, {ACTION_ROUTINE, {SCAN_DOWN, 0x0}, jump_down, L"Down arrow", L"Movement"}, {ACTION_ROUTINE, {SCAN_NULL, CHAR_TAB}, change_panel, L"TAB", L"Movement"}, - {ACTION_ROUTINE, {SCAN_NULL, CHAR_LINEFEED}, do_nothing, L"Enter", L"Movement"}, - {ACTION_ROUTINE, {SCAN_NULL, CHAR_CARRIAGE_RETURN}, do_nothing, L"Enter", L"Movement"}, + {ACTION_ROUTINE, {SCAN_NULL, CHAR_LINEFEED}, execute, L"Enter", L"Movement"}, + {ACTION_ROUTINE, {SCAN_NULL, CHAR_CARRIAGE_RETURN}, execute, L"Enter", L"Movement"}, {ACTION_ROUTINE, {SCAN_NULL, L' '}, mark, L"Space", L"Movement"}, {ACTION_CMD, {SCAN_F1, 0x0}, do_nothing, L"1", L"Help"}, - {ACTION_CMD, {SCAN_F2, 0x0}, do_nothing, L"2", L"Edit"}, - {ACTION_CMD, {SCAN_F3, 0x0}, do_nothing, L"3", L"Hex"}, + {ACTION_CMD, {SCAN_F2, 0x0}, edit, L"2", L"Edit"}, + {ACTION_CMD, {SCAN_F3, 0x0}, hexedit, L"3", L"Hex"}, {ACTION_CMD, {SCAN_F4, 0x0}, do_nothing, L"4", L"Copy"}, {ACTION_CMD, {SCAN_F5, 0x0}, do_nothing, L"5", L"RenMov"}, {ACTION_CMD, {SCAN_F6, 0x0}, do_nothing, L"6", L"Mkdir"}, |