mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-24 01:56:26 -05:00
Fix filename completion after prompt adaptation.
This commit is contained in:
parent
1aadb53956
commit
ba1bfcd0db
4
input.c
4
input.c
@ -520,9 +520,9 @@ int getstring( const char *prompt, char *buf, int nbuf, int eolchar)
|
|||||||
static char tmp[] = "/tmp/meXXXXXX";
|
static char tmp[] = "/tmp/meXXXXXX";
|
||||||
FILE *tmpf = NULL;
|
FILE *tmpf = NULL;
|
||||||
#endif
|
#endif
|
||||||
/* Look for "Find file: ", "View file: ", "Insert file: ", "Write file: ",
|
/* Look for "find-file: ", "View file: ", "Insert file: ", "Write file: ",
|
||||||
** "Read file: ", "Execute file: " */
|
** "Read file: ", "Execute file: " */
|
||||||
file_f = NULL != strstr( prompt, " file: ") ;
|
file_f = NULL != strstr( prompt, "file: ") ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
cpos = 0;
|
cpos = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user