Skip to content

Commit

Permalink
Add TERM_PROGRAM environment variable like other well-known terminals
Browse files Browse the repository at this point in the history
for shell run commands
  • Loading branch information
kohnish committed Mar 31, 2022
1 parent 2081945 commit b1a99fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions guake/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def main():
"""
# Force to xterm-256 colors for compatibility with some old command line programs
os.environ["TERM"] = "xterm-256color"
os.environ["TERM_PROGRAM"] = "guake"

# do not use version keywords here, pbr might be slow to find the version of Guake module
parser = OptionParser()
Expand Down

0 comments on commit b1a99fd

Please sign in to comment.