The shell can now print %.
This commit is contained in:
parent
2b032b0414
commit
1f4dc3d0b5
|
@ -44,7 +44,7 @@ void command()
|
||||||
if ( commandsize <= commandused && codepoint != '\n' ) { continue; }
|
if ( commandsize <= commandused && codepoint != '\n' ) { continue; }
|
||||||
|
|
||||||
char msg[2]; msg[0] = codepoint; msg[1] = '\0';
|
char msg[2]; msg[0] = codepoint; msg[1] = '\0';
|
||||||
printf(msg);
|
printf("%s", msg);
|
||||||
|
|
||||||
if ( codepoint == '\n' ) { command[commandused] = '\0'; break; }
|
if ( codepoint == '\n' ) { command[commandused] = '\0'; break; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue