summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--xkbcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkbcat.c b/xkbcat.c
index b8c0109..0092317 100644
--- a/xkbcat.c
+++ b/xkbcat.c
@@ -94,10 +94,10 @@ int main(int argc, char * argv[]) {
if (printKeyUps) printf("%s",
cookie->evtype == XI_RawKeyPress ? "+" : "-");
printf("%s\n", str);
+ fflush(stdout);
break;
}
}
}
- fflush(stdout);
}
}