Kaynağa Gözat

faux-getch: More suitable output

Serj Kalichev 4 yıl önce
ebeveyn
işleme
966c6cf60c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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);