blob: e4b8967bf11fa10c98a77f165e671c0d4322d552 (
plain) (
tree)
|
|
--- a/sftp.c 2014-10-24 10:32:15.793544472 +0500
+++ b/sftp.c 2014-10-24 10:35:22.329199875 +0500
@@ -2243,8 +2243,10 @@
signal(SIGINT, SIG_IGN);
if (el == NULL) {
- if (interactive)
+ if (interactive) {
printf("sftp> ");
+ fflush(stdout);
+ }
if (fgets(cmd, sizeof(cmd), infile) == NULL) {
if (interactive)
printf("\n");
|