Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Flush stdout after printing "Opened a new pty:" message

Allows usage of reptry in scripts and other programs
  • Loading branch information...
commit 12513dfcce8c30539f71393d758792cdae52ccae 1 parent 44f3259
Vitaly Shukela vi authored committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  reptyr.c
1  reptyr.c
View
@@ -245,6 +245,7 @@ int main(int argc, char **argv) {
}
} else {
printf("Opened a new pty: %s\n", ptsname(pty));
+ fflush(stdout);
}
setup_raw(&saved_termios);
Please sign in to comment.
Something went wrong with that request. Please try again.