diff options
author | andmarti1424 <andmarti@gmail.com> | 2017-03-11 11:44:17 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2017-03-11 11:44:17 -0300 |
commit | 0c362d29f7dee9657adc0865e97420ebfa205f6e (patch) | |
tree | 1cb48b25931160fa1578896a4ecd7d2bdbe5425d /src/cmds_command.c | |
parent | c78bd58676b38c727c37a01bb16427afc952cc67 (diff) |
Added new unfreeze command
Diffstat (limited to 'src/cmds_command.c')
-rw-r--r-- | src/cmds_command.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmds_command.c b/src/cmds_command.c index 70cfb31..2d1a5f2 100644 --- a/src/cmds_command.c +++ b/src/cmds_command.c @@ -82,6 +82,7 @@ L"iunmap", L"load", L"load!", L"lock", +L"unfreeze", L"unlock", L"nmap", L"nnoremap", @@ -441,6 +442,10 @@ void do_commandmode(struct block * sb) { } send_to_interp(interp_line); + } else if ( ! wcsncmp(inputline, L"unfreeze", 8) ) { + wcscpy(interp_line, inputline); + send_to_interp(interp_line); + } else if ( ! wcsncmp(inputline, L"addfilter", 9) ) { wchar_t cline [BUFFERSIZE]; char line [BUFFERSIZE]; |