diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-10-21 00:26:26 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-10-21 00:26:26 -0400 |
commit | 071beaead073ad3be9cc11e366417254054ff53e (patch) | |
tree | 004826f315cd747aeaf3422eedd62820ec5a1d40 /termcast_server | |
parent | 6e571d00800cc669f21b18a001cc496f1e90da7d (diff) | |
download | python-termcast-server-071beaead073ad3be9cc11e366417254054ff53e.tar.gz python-termcast-server-071beaead073ad3be9cc11e366417254054ff53e.zip |
update for new api
Diffstat (limited to 'termcast_server')
-rw-r--r-- | termcast_server/termcast.py | 8 |
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(), |