Skip to content
Snippets Groups Projects
Commit 409c0009 authored by Danny Auble's avatar Danny Auble
Browse files

fix for smap to handle correctly the resolve mode when running in a command

window and not running in ncurses.
parent dfe92acf
No related branches found
No related tags found
No related merge requests found
...@@ -608,8 +608,12 @@ static int _resolve(char *com) ...@@ -608,8 +608,12 @@ static int _resolve(char *com)
xfree(ret_str); xfree(ret_str);
} }
wnoutrefresh(text_win); if (params.commandline)
doupdate(); printf("%s", error_string);
else {
wnoutrefresh(text_win);
doupdate();
}
return 1; return 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment