Fixing favorites message in bottom prompt mode.

This commit is contained in:
Martin Dvorak 2016-03-24 18:27:37 +01:00
parent 767c59164f
commit 773560994c

View file

@ -1060,7 +1060,7 @@ void loop_to_select(Hstr *hstr)
} else {
favorites_add(hstr->favorites, result);
}
result=hstr_print_selection(maxHistoryItems, pattern, hstr);
hstr_print_selection(maxHistoryItems, pattern, hstr);
selectionCursorPosition=SELECTION_CURSOR_IN_PROMPT;
if(hstr->historyView!=HH_VIEW_FAVORITES) {
print_cmd_added_favorite_label(result, hstr);