Bläddra i källkod

faux-getch: More suitable output

Serj Kalichev 3 år sedan
förälder
incheckning
966c6cf60c
1 ändrade filer med 1 tillägg och 1 borttagningar
  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);