Minor tweak to strip VTE_VERSION from the environment, as it puts junk chars into prompt on some distros.
This commit is contained in:
parent
206196ae43
commit
b8eba0f39a
|
@ -50,6 +50,9 @@ from terminatorlib.util import dbg, err
|
||||||
from terminatorlib.layoutlauncher import LayoutLauncher
|
from terminatorlib.layoutlauncher import LayoutLauncher
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
# Not used in the 0.2x versions of VTE and can cause unwanted chars in console.
|
||||||
|
if os.environ.has_key('VTE_VERSION'):
|
||||||
|
del os.environ['VTE_VERSION']
|
||||||
dbus_service = None
|
dbus_service = None
|
||||||
|
|
||||||
dbg ("%s starting up, version %s" % (APP_NAME, APP_VERSION))
|
dbg ("%s starting up, version %s" % (APP_NAME, APP_VERSION))
|
||||||
|
|
Loading…
Reference in New Issue