Thanks to visit codestin.com
Credit goes to github.com

Skip to content

After returning from EDITOR alternate screen is not used #398

@kdheepak

Description

@kdheepak

Thanks for maintaining gitu!

When I run gitu and hit q, everything works as expected, i.e. gitu opens the alternate screen and then runs the TUI, and on hitting q returns back to the original screen.

However, when I open vim for any reason in gitu, and then return to gitu and then exit, it seems to remain in the alternate screen.

This is easier to see what is going on with a demo:

gitu-alternate-screen.mov

The first time I exit gitu, it works as expected. The second time I exit gitu (after opening nvim), the cursor is at the bottom of the screen with a % printed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions