Merge pull request #394 from xnox/serial-colors-vt220
Setup colors on serial vt220
This commit is contained in:
commit
11b22490bc
|
@ -398,7 +398,8 @@ class Application:
|
|||
|
||||
def run(self):
|
||||
if not hasattr(self, 'loop'):
|
||||
if self.common['opts'].run_on_serial:
|
||||
if (self.common['opts'].run_on_serial and
|
||||
os.ttyname(0) != "/dev/ttysclp0"):
|
||||
palette = self.STYLES_MONO
|
||||
screen = urwid.raw_display.Screen()
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue