diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-09-23 21:50:01 +0000 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-09-23 21:50:01 +0000 |
commit | 236b54df92a81f71db95e76141660a69fa1079e2 (patch) | |
tree | ef42f9451234c0c54fa272fa8743284177b97a67 | |
parent | b5f967167c1dd80b2845874f0fc704a5c4838005 (diff) |
flushing stdout
-rw-r--r-- | client.c | 1 | ||||
-rwxr-xr-x | snowcast_control | bin | 14416 -> 18592 bytes |
2 files changed, 1 insertions, 0 deletions
@@ -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 Binary files differindex a934032..48df5df 100755 --- a/snowcast_control +++ b/snowcast_control |