From cbcc7635cbf780555f1d183fdc3ef56f3330cd96 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 16 Oct 2014 21:45:34 -0400 Subject: also handle bold/italic/underline --- termcast_server/index.html | 64 +++++++++++++++++++++++++++++++++++++-------- termcast_server/termcast.py | 29 +++++++++++++------- 2 files changed, 73 insertions(+), 20 deletions(-) (limited to 'termcast_server') diff --git a/termcast_server/index.html b/termcast_server/index.html index cf65341..6b72eb1 100644 --- a/termcast_server/index.html +++ b/termcast_server/index.html @@ -309,7 +309,7 @@ socket.onmessage = function (e) { term += ''; row.forEach(function (cell) { term += ' 0: changes.append({ "row": i, "col": j, - "cell": { - "contents": contents, - "fgcolor": fgcolor, - "bgcolor": bgcolor, - }, + "cell": cell_changes, }) return changes -- cgit v1.2.3