aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-09-23 21:50:01 +0000
committersotech117 <michael_foiani@brown.edu>2023-09-23 21:50:01 +0000
commit236b54df92a81f71db95e76141660a69fa1079e2 (patch)
treeef42f9451234c0c54fa272fa8743284177b97a67 /client.c
parentb5f967167c1dd80b2845874f0fc704a5c4838005 (diff)
flushing stdout
Diffstat (limited to 'client.c')
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
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);