IlanCosman/tide

Prompt switches to transient prompt prematurely when selecting autosuggestion with Enter key

jaminthorns opened this issue · 1 comments

Describe the bug

When the transient prompt is enabled, selecting an autosuggestion using the Enter key transforms the prompt to its transient version even though a command hasn't been run.

Steps to reproduce

  1. Start typing a command.
  2. Press Tab to trigger autosuggest options to display.
  3. Select an autosuggestion with Tab or arrow keys.
  4. Hit Enter to select an autosuggestion.
  5. Prompt is transformed into transient even though a command has not been run.

Screenshots

Screen.Recording.2023-12-22.at.11.38.50.AM.mov

Environment

Output of tide bug-report:

fish version: 3.6.4
tide version: 6.0.1
term: xterm-256color
os: macOS 14.2.1 (23C71)
terminal emulator: WezTerm
fish startup: 31.99 millis
fisher plugins: jorgebucaran/fisher decors/fish-colored-man dracula/fish ilancosman/tide@v6 jorgebucaran/autopair.fish marcransome/pond patrickf1/fzf.fish

Yah, it's a problem, thanks for bringing it up. I've asked about it here: fish-shell/fish-shell#10167