Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa14bc85 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "toolbox: getevent: disable stdout buffering"

parents 9ddb1ddf 8cbf6bb5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -530,6 +530,9 @@ int getevent_main(int argc, char *argv[])
    const char *device = NULL;
    const char *device_path = "/dev/input";

    /* disable buffering on stdout */
    setbuf(stdout, NULL);

    opterr = 0;
    do {
        c = getopt(argc, argv, "tns:Sv::dpilqc:rh");