Skip to content

pasting text in shell cmd inside lazygit #4954

@adilJamshad

Description

@adilJamshad

Describe the bug

when i pasted TypeError: Cannot read property 'WAITING_FOR_PAYMENT' of undefined at Object.<anonymous> (some path to files) then the lazygit was stuck. it should raise an error or something instead of blocking

To Reproduce

Steps to reproduce the behavior:

  1. open lazygit
  2. press ":" to open command prompt
  3. paste some long text

Expected behavior

an error should have been thrown instead of blocking the interface

Screenshots

Image

Version info:

  • commit=911302b3158f3b263f6d3f44c07e59a7362ccbc5, build date=2025-02-23T15:53:09Z, build source=unknown, version=911302b3, os=darwin, arch=arm64, git version=2.50.1 (Apple Git-155)
  • git version 2.50.1 (Apple Git-155)

Additional context

Add any other context about the problem here.

Note

Please try updating to the latest version or manually building the latest master to see if the issue still occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions