Skip to content

Conversation

davep
Copy link
Contributor

@davep davep commented Oct 12, 2023

The one! The Only! The XTerm!

@davep davep added the enhancement New feature or request label Oct 12, 2023
@davep davep self-assigned this Oct 12, 2023
elif "GNOME_TERMINAL_SCREEN" in os.environ:
term_program = "GNOME Terminal"
elif "XTERM_VERSION" in os.environ:
term_program = os.environ.get("XTERM_VERSION", "XTerm")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it intended to default to XTerm if that env var is not set?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does check if it's there first, but I brain farted the logic of "if it's there but an empty string".

@davep davep merged commit 361388b into Textualize:main Oct 12, 2023
@davep davep deleted the guess-og-xterm branch October 12, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

2 participants