diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-18 02:43:35 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-18 02:43:35 -0800 |
commit | dc8cc39bc85d859327db31c8e86b7f08d9888968 (patch) | |
tree | 04989feafbbf2152ca153b409bd7bd96b5be54a6 /builtin.cpp | |
parent | c9c2fc5ee346e15e934dd72ed08774d769cfd7a1 (diff) |
Don't autosuggest in builtin_read
Diffstat (limited to 'builtin.cpp')
-rw-r--r-- | builtin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/builtin.cpp b/builtin.cpp index 21d16402..7e7a87dc 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -2327,7 +2327,9 @@ static int builtin_read( parser_t &parser, wchar_t **argv ) reader_set_highlight_function( &highlight_shell ); reader_set_test_function( &reader_shell_test ); } - + /* No autosuggestions in builtin_read */ + reader_set_allow_autosuggesting(false); + reader_set_buffer( commandline, wcslen( commandline ) ); proc_push_interactive( 1 ); |