Skip to content

Lazygit sometimes does not come back after external commit command #1511

@Bringoff

Description

@Bringoff

Discord username (optional)

No response

Describe the bug

In my git flow I use https://github.com/jesseduffield/lazygit, https://github.com/zyedidia/micro and some hooks.
I always use lazygit command "commit changes with external git editor" because lazygit itself does not honor commit message hooks. 
And when after a successful commit I try to return to lazygit, I often get just a blank screen. 
Didn't happen a single time with Iterm, so I suppose it has something to do with Warp's terminal UI support.

To Reproduce

Steps to reproduce:

  1. From opened lazygit, perform "commit changes with external git editor"
  2. Wait for pre-commit hook to finish (gradle task in my case)
  3. Write commit message in micro, that pops up after hook finishes successfully
  4. Press "Enter" when "Press Enter to return to lazygit" prompt appears

Expected behaviour

Lazygit should open, but sometimes I just get blank Warp tab instead

Screenshots

No response

Operating System

MacOS

OS Version

12.4

Shell Version

zsh 5.8.1 (x86_64-apple-darwin21.0)

Warp Version

v0.2022.06.13.09.15.stable_00

Additional context

No response

Warp Internal (ignore): linear-label:24888f54-df93-45d5-9bdd-e38f740cac19

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGBugs, Hangs, Crash, and Freezes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions