Down arrow adds current line to history and shows empty line
This commit is contained in:
@@ -146,6 +146,10 @@ history_next(History history, char *item)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (g_list_next(history->session.sess_curr) == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
char *copied = "";
|
||||
if (item != NULL) {
|
||||
copied = strdup(item);
|
||||
|
||||
Reference in New Issue
Block a user