diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-27 00:56:13 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-27 00:56:13 -0800 |
commit | 5be3606236bd2185d93162fcad097d8c30f84885 (patch) | |
tree | 8c908ae055c8658d0d9124bec837ac138f3be374 /reader.h | |
parent | ce4c145f1c6ca1e6e2171d5e6f0a9b423f6fb9a6 (diff) |
Increased support for completion search field. Use btab (shift-tab) to
complete-and-search.
Diffstat (limited to 'reader.h')
-rw-r--r-- | reader.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -49,6 +49,12 @@ class editable_line_t return text.empty(); } + void clear() + { + text.clear(); + position = 0; + } + editable_line_t() : text(), position(0) { } @@ -295,5 +301,8 @@ bool reader_expand_abbreviation_in_command(const wcstring &cmdline, size_t curso /* Apply a completion string. Exposed for testing only. */ wcstring completion_apply_to_command_line(const wcstring &val_str, complete_flags_t flags, const wcstring &command_line, size_t *inout_cursor_pos, bool append_only); +/* Called by pager */ +class pager_t; +void reader_selected_completion_changed(pager_t *pager); #endif |