aboutsummaryrefslogtreecommitdiffstats
path: root/search.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-17 09:26:33 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-17 09:26:33 +0000
commit918fd1a702d782ee2e57fdf13eb25cc49711cb64 (patch)
tree532675bc6570b265a4c171665888aefb5198e865 /search.c
parent[w3m-dev 02864] def_migemo_command (diff)
downloadw3m-918fd1a702d782ee2e57fdf13eb25cc49711cb64.tar.gz
w3m-918fd1a702d782ee2e57fdf13eb25cc49711cb64.zip
[w3m-dev 02865]
* search.c (open_migemo): add flush_tty() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/search.c b/search.c
index 7ac315d..d5a7cac 100644
--- a/search.c
+++ b/search.c
@@ -1,4 +1,4 @@
-/* $Id: search.c,v 1.12 2002/01/16 19:18:21 ukai Exp $ */
+/* $Id: search.c,v 1.13 2002/01/17 09:26:33 ukai Exp $ */
#include "fm.h"
#include "regex.h"
#include <errno.h>
@@ -35,6 +35,7 @@ open_migemo(char *migemo_command)
if (pipe(fdw) < 0)
goto err1;
+ flush_tty();
/* migemow:fdw[1] -|-> fdw[0]=0 {migemo} fdr[1]=1 -|-> fdr[0]:migemor */
pid = fork();
if (pid < 0)