core: special case s390x vt220 console on /dev/ttysclp0, as it supports colors.
This commit is contained in:
parent
4c4987b9f7
commit
0d35fa613c
|
@ -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