From 236b54df92a81f71db95e76141660a69fa1079e2 Mon Sep 17 00:00:00 2001 From: sotech117 Date: Sat, 23 Sep 2023 21:50:01 +0000 Subject: flushing stdout --- client.c | 1 + snowcast_control | Bin 14416 -> 18592 bytes 2 files changed, 1 insertion(+) diff --git a/client.c b/client.c index 083526f..fe6695d 100644 --- a/client.c +++ b/client.c @@ -108,6 +108,7 @@ int main(int argc, char *argv[]) char input[LINE_MAX]; printf("Enter a number to change to it's station. Click q to end stream.\n"); + fflush(stdout); while (1) { char *line = fgets(input, LINE_MAX, stdin); diff --git a/snowcast_control b/snowcast_control index a934032..48df5df 100755 Binary files a/snowcast_control and b/snowcast_control differ -- cgit v1.2.3-70-g09d2