Skip to content

Commit

Permalink
code up fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aprxi committed Aug 5, 2024
1 parent 1e89b17 commit 66c71b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn handle_prompt_window_event(
) -> Result<Option<WindowEvent>, ApplicationError> {
match key_track.current_key().code {
KeyCode::Up => {
if app_ui.response.text_buffer().is_empty() {
if !app_ui.response.text_buffer().is_empty() {
let (_, row) = app_ui.prompt.get_column_row();
if row == 0 {
// jump from prompt window to response window
Expand Down

0 comments on commit 66c71b2

Please sign in to comment.