Skip to content

Autosuggestion creates blank lines if user press and hold Enter #821

@inker0

Description

@inker0

Describe the bug

Autosuggestion creates blank lines if user press and hold Enter.

To Reproduce

Steps to reproduce the behavior:

% zsh -df
% source path/to/zsh-autosuggestions.zsh
% (start pressing and hold)
% 
%

%
%

%
%
%

Expected behavior

No blank lines are created.

Screenshots

Image

Desktop

  • OS + distribution: NixOS 25.05
  • Zsh version: 5.9
  • Plugin version: 0.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions