aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-21 00:26:26 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-21 00:26:26 -0400
commit071beaead073ad3be9cc11e366417254054ff53e (patch)
tree004826f315cd747aeaf3422eedd62820ec5a1d40
parent6e571d00800cc669f21b18a001cc496f1e90da7d (diff)
downloadpython-termcast-server-071beaead073ad3be9cc11e366417254054ff53e.tar.gz
python-termcast-server-071beaead073ad3be9cc11e366417254054ff53e.zip
update for new api
-rw-r--r--termcast_server/termcast.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/termcast_server/termcast.py b/termcast_server/termcast.py
index 97bcc6b..e8753ed 100644
--- a/termcast_server/termcast.py
+++ b/termcast_server/termcast.py
@@ -72,8 +72,8 @@ class Handler(object):
cell = self.vt.cell(i, j)
term[i].append({
"c": cell.contents(),
- "f": cell.fgcolor().color(),
- "b": cell.bgcolor().color(),
+ "f": cell.fgcolor(),
+ "b": cell.bgcolor(),
"o": cell.bold(),
"i": cell.italic(),
"u": cell.underline(),
@@ -92,8 +92,8 @@ class Handler(object):
screen[i][j],
{
"c": cell.contents(),
- "f": cell.fgcolor().color(),
- "b": cell.bgcolor().color(),
+ "f": cell.fgcolor(),
+ "b": cell.bgcolor(),
"o": cell.bold(),
"i": cell.italic(),
"u": cell.underline(),