test_driver.py: extend the list of terminal-specific workarounds

This commit is contained in:
Johannes Altmanninger
2025-05-17 07:30:33 +02:00
parent 712bbf00ec
commit 4abd390c84

View File

@@ -60,8 +60,13 @@ def makeenv(script_path: Path, home: Path) -> Dict[str, str]:
for var in [
"XDG_DATA_DIRS",
"LANGUAGE",
"MC_SID",
"MC_TMPDIR",
"LC_TERMINAL",
"LC_TERMINAL_VERSION",
"COLORTERM",
"KONSOLE_VERSION",
"STY",
"TERM", # Erase this since we still respect TERM=dumb etc.
"TERM_PROGRAM",
"TERM_PROGRAM_VERSION",