Have to press enter key twice to execute a command

Open
#1,623 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
macos, rust, zsh
Domain
cli

Research direction

Start by reproducing the issue in Warp 0.1.0 on macOS 12.4 with zsh 5.8.1, using the attached behavior as the reference. Trace the command input and Enter-key handling, then verify that a single Enter executes a command without inserting a new line.

Written by the indexing model from the issue text.

Description

bug ready-to-implement triaged
Discord username (optional)

Ralphsmate

Describe the bug

I type in a command. When I press enter, the command drops down a line. pressing enter a second time executes the command.

To Reproduce

Steps to reproduce:

  1. Enter command
  2. Press 'Enter' key
  3. Press 'Enter' key
Expected behaviour

The command execute when enter key is pressed.

Screenshots

https://user-images.githubusercontent.com/35218972/179434274-67ff191e-e6c4-4bfa-9a85-e2e87c4497e1.mov

Operating System

MacOS

OS Version

12.4

Shell Version

zsh 5.8.1 (x86_64-apple-darwin21.0)

Warp Version

0.1.0

Additional context

No response

Does this block you from using Warp daily?

Yes

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

No response

Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.