Skip to content

[BUG]: "Press enter to run..." dialogs allow writing commands and autocomplete, but ultimately get ignored #867

Closed

Description

@Noel1703

Describe the Bug

For example, if the AI integration fails, it wants to redirect you to flyline set-agent-mode --help. But during this, you can still type on the line of your command, and it even suggests completions from history. This is inconvenient because it seems like you can still type a command, but when you press enter, you just get the help text and your command is gone

Environment & Version Information

flyline 1.4.0
git hash: 34e0833
build mode: release
build datetime: 2026-07-26T18:13:41Z
build target: x86_64-unknown-linux-gnu
rustc version: rustc 1.97.1 (8bab26f4f 2026-07-14)

Running in: Bash 5.3.15(1)-release
shell: /bin/bash

Running in: alacritty
program: unknown
program version: unknown
locale: en_US.UTF-8 (LC_ALL: unknown, LC_CTYPE: unknown)

Running in: EndeavourOS (kernel 6.18.40-3-lts x86_64)
system linker: GNU ld (GNU Binutils) 2.47
dynamic linker: ldd (GNU libc) 2.44

Running on: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (4 cores)

Running in: a simulation

Debug Logs (Optional / If Necessary)

Click to expand logs
<paste logs here>

Steps to Reproduce

  1. find an error message with suggestion, for example with flyline set-agent-mode --command "error" to get something like this:
Image
  1. try to type a command, you'll see it completes from history:
Image
  1. Try to execute the command with enter, but instead you'll only see the help message.
[noelh@aspire-noelh ~]$ flyline set-agent-mode --help
Configure AI agent mode.

When Alt+Enter is pressed, flyline invokes...

Activity

  1. added
    bug
    on Aug 3, 2026
  2. linked a pull request that will close this issueHandle dimissing agent error #872on Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions