input: make the macro key discoverable by giving feedback when undefined
parent
8165b20fc1
commit
2b438e6ef4
|
@ -101,8 +101,10 @@ void run_macro(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (macro_length == 0)
|
if (macro_length == 0) {
|
||||||
|
statusline(HUSH, _("Macro is empty"));
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
free(key_buffer);
|
free(key_buffer);
|
||||||
key_buffer = (int *)nmalloc(macro_length * sizeof(int));
|
key_buffer = (int *)nmalloc(macro_length * sizeof(int));
|
||||||
|
|
Loading…
Reference in New Issue