Skip to content

Command log box covered by the Error box #1781

@mciszczon

Description

@mciszczon

I have a project with commit hooks installed, which lint my code. If there's an error produced by the linter, lazygit picks it up properly, and shows an error box:

However, when I hit the @ key to show the actual errors, I am unable to, because the Error Box does not disappear and instead covers the command log.

It forces me to leave lazygit and just use regular git commands to commit and see what the pre commit hook returned.

Reproduction Steps

Steps to reproduce the behavior:

  1. Set up a pre commit hook (e.g. a linter)
  2. Try to commit changes which make the pre commit hook fail
  3. Error is produced (Picture 1)
  4. Hit @ key to view the error
  5. You are unable to view the error, as it is covered (Picture 2)

Expected behavior

I would expect for the Error Box to either disappear, or be placed underneath the commit log, so that I can see the errors.

Sceenshots

Screenshot 2022-02-21 at 14 02 19 — Picture 1

Screenshot 2022-02-21 at 14 00 02 — Picture 2

Desktop (please complete the following information):

  • OS: MacOS Monterey 12.2.1
  • Lazygit Version: 0.32.2

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