Resizing is still wonky
This commit is contained in:
ridiculousfish
2012-10-01 03:29:18 -07:00
parent ffc03735e8
commit a661c03743
3 changed files with 111 additions and 35 deletions

View File

@@ -1199,7 +1199,7 @@ static void update_autosuggestion(void) {
if (can_autosuggest()) {
history_search_t searcher = history_search_t(*data->history, data->command_line, HISTORY_SEARCH_TYPE_PREFIX);
if (searcher.go_backwards()) {
data->autosuggestion = searcher.current_item();
data->autosuggestion = searcher.current_item().str();
}
}
#else