Skip to content

Make automatic terminal title optional #2831

Open

Description

@savchenko

Is your feature request related to a problem? Please describe.
Terminal title is force-set and not cleared on exit.

Describe the solution you'd like
Just make it optional.

Describe alternatives you've considered
None, there is only one true way in this case - make it optional :-)

Additional context
Happy to work on this feature. #2832

Ref. #2484 (comment)

Activity

  1. acuteenvy commented on Jan 3, 2026

    @acuteenvy
    Contributor

    not cleared on exit

    The shell usually sets the title to something else after gitui exits.

    None, there is only one true way in this case - make it optional :-)

    We could also just save the previous terminal title and reset it on exit.

  2. savchenko commented on Jan 4, 2026

    @savchenko
    Author

    We could also just save the previous terminal title and reset it on exit.

    That won't do unfortunately. I set the title myself via the wrapper script as I need to see a specific information in there, hence the PR.

    I think that in general, it's a good practise to offer a user "sane default behaviour with a way out".

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions