Move current line into history when pressing down in input bar