From 02624a692a2fca786cf456d9fb0835f7660543ae Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 28 May 2018 18:04:47 +0200 Subject: [PATCH] use linux as VT --- src/fenrirscreenreader/screenDriver/ptyDriver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/screenDriver/ptyDriver.py b/src/fenrirscreenreader/screenDriver/ptyDriver.py index 0786ab0a..f07808f9 100644 --- a/src/fenrirscreenreader/screenDriver/ptyDriver.py +++ b/src/fenrirscreenreader/screenDriver/ptyDriver.py @@ -91,7 +91,8 @@ class driver(screenDriver): if p_pid == 0: # Child. argv = shlex.split(command) env = os.environ.copy() - env["TERM"] = 'vt100' + #values are VT100,xterm-256color,linux + env["TERM"] = 'linux' os.execvpe(argv[0], argv, env) # File-like object for I/O with the child process aka command. p_out = os.fdopen(master_fd, "w+b", 0)