blob: ab14f3a6ba2a9ae73188795421653e13f719b4fc (
plain) (
tree)
|
|
--- a/sftp.c 2014-10-24 10:32:15.793544472 +0500
+++ b/sftp.c 2014-10-24 10:35:22.329199875 +0500
@@ -2076,8 +2076,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");
|