Fix execute to print UTF-8 command correctly
execute() prints the UTF-8 command as normal text, which messes up
non-ASCII characters. Broken in commit 2cc44bb1
, v4.2.21.
This commit is contained in:
parent
b464b0fcc2
commit
d3899f5732
1 changed files with 3 additions and 1 deletions
|
@ -262,7 +262,9 @@ execute(void)
|
||||||
failed = 1;
|
failed = 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
pr("\nExecute : %s\n", buf);
|
pr("\nExecute : ");
|
||||||
|
uprnf(buf);
|
||||||
|
pr("\n");
|
||||||
if (redir) {
|
if (redir) {
|
||||||
pr("Execute : redirection not supported\n");
|
pr("Execute : redirection not supported\n");
|
||||||
failed = 1;
|
failed = 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue