mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
script: Let script handle empty custom input
This commit is contained in:
parent
82f9605c30
commit
528419269e
1 changed files with 1 additions and 2 deletions
|
@ -341,8 +341,7 @@ static ModeMode script_mode_result(Mode *sw, int mretv, char **input,
|
|||
new_list =
|
||||
execute_executor(sw, rmpd->cmd_list[selected_line].entry, &new_length,
|
||||
1, &(rmpd->cmd_list[selected_line]));
|
||||
} else if ((mretv & MENU_CUSTOM_INPUT) && *input != NULL &&
|
||||
*input[0] != '\0') {
|
||||
} else if ((mretv & MENU_CUSTOM_INPUT) && *input != NULL) {
|
||||
if (rmpd->no_custom == FALSE) {
|
||||
script_mode_reset_highlight(sw);
|
||||
new_list = execute_executor(sw, *input, &new_length, 2, NULL);
|
||||
|
|
Loading…
Reference in a new issue