Browse Source

faux-getch: More suitable output

Serj Kalichev 3 years ago
parent
commit
966c6cf60c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/faux-getch.c

+ 1 - 1
utils/faux-getch.c

@@ -17,7 +17,7 @@ int main(void)
 		tcsetattr( STDIN_FILENO, TCSANOW, &newt);
 
 		c = getchar();
-		printf("%u 0x%x\n", (unsigned char)c, (unsigned char)c);
+		printf(" %u 0x%x\n", (unsigned char)c, (unsigned char)c);
 
 		// Restore terminal
 		tcsetattr( STDIN_FILENO, TCSANOW, &oldt);