mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
The shell can now print %.
This commit is contained in:
parent
2b032b0414
commit
1f4dc3d0b5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue