Skip to content

Enable shell job control / don't catch Ctrl + Z #1077

@raphCode

Description

@raphCode

I like use my shell's job control features, but it seems Ctrl + Z is catched by gitui, so that nothing happens when I press it. Ideally, this would get me back to my shell, with gitui as a suspended background process.
For now, I quit and restart gitui when I make up my mind or want to context switch, which clears the non-git state such as the selection cursor.
I also don't really see where Ctrl + Z is used as a key shortcut, so it might even be unnecessary to catch it?

Activity

extrawurst

extrawurst commented on Jan 12, 2022

@extrawurst
Collaborator

Puh that is something.. not sure we can even „selectively“ catch key events or bubble them back up for your terminal to catch.

raphCode

raphCode commented on Jan 12, 2022

@raphCode
Author

I did some research:

So it seems the problem lies within crossterm and we just need to wait until it is fixed there?

extrawurst

extrawurst commented on Jan 12, 2022

@extrawurst
Collaborator

Thanks for the research! That’s great work

removed
dormantMarked by stale bot on close
on Aug 27, 2023
deleted a comment from stale on Aug 27, 2023
stale

stale commented on Mar 17, 2024

@stale

This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @extrawurst@raphCode

        Issue actions

          Enable shell job control / don't catch Ctrl + Z · Issue #1077 · gitui-org/gitui