diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-22 13:58:44 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-22 14:14:13 -0500 |
commit | 42a573584e7346b40f15d3f38dc175376b0528b9 (patch) | |
tree | fb5f5054cd27cc363d8e0b576d468301de9393e0 /teleterm | |
parent | d115fc9271a11151654d93ac276d0fa0c69689e5 (diff) | |
download | teleterm-42a573584e7346b40f15d3f38dc175376b0528b9.tar.gz teleterm-42a573584e7346b40f15d3f38dc175376b0528b9.zip |
implement colors and text attributes
Diffstat (limited to 'teleterm')
-rw-r--r-- | teleterm/static/teleterm.css | 2 | ||||
-rw-r--r-- | teleterm/static/teleterm_web.js | 77 | ||||
-rw-r--r-- | teleterm/static/teleterm_web_bg.wasm | bin | 703753 -> 715399 bytes |
3 files changed, 39 insertions, 40 deletions
diff --git a/teleterm/static/teleterm.css b/teleterm/static/teleterm.css index ad6a8a7..f540608 100644 --- a/teleterm/static/teleterm.css +++ b/teleterm/static/teleterm.css @@ -7,7 +7,7 @@ .grid { font-family: monospace; background-color: black; - color: white; + color: #d3d3d3; border-collapse: collapse; border: 4px solid black; } diff --git a/teleterm/static/teleterm_web.js b/teleterm/static/teleterm_web.js index b4ac9be..45601b5 100644 --- a/teleterm/static/teleterm_web.js +++ b/teleterm/static/teleterm_web.js @@ -1,10 +1,6 @@ let wasm; -function __wbg_elem_binding0(arg0, arg1, arg2) { - wasm.__wbg_function_table.get(88)(arg0, arg1, arg2); -} - const heap = new Array(32); heap.fill(undefined); @@ -21,29 +17,32 @@ function addHeapObject(obj) { heap[idx] = obj; return idx; } +function __wbg_elem_binding0(arg0, arg1, arg2) { + wasm.__wbg_function_table.get(82)(arg0, arg1, addHeapObject(arg2)); +} function __wbg_elem_binding1(arg0, arg1, arg2) { - wasm.__wbg_function_table.get(84)(arg0, arg1, addHeapObject(arg2)); + wasm.__wbg_function_table.get(82)(arg0, arg1, addHeapObject(arg2)); } function __wbg_elem_binding2(arg0, arg1, arg2) { - wasm.__wbg_function_table.get(84)(arg0, arg1, addHeapObject(arg2)); + wasm.__wbg_function_table.get(82)(arg0, arg1, addHeapObject(arg2)); } -function __wbg_elem_binding3(arg0, arg1) { - wasm.__wbg_function_table.get(225)(arg0, arg1); +function __wbg_elem_binding3(arg0, arg1, arg2) { + wasm.__wbg_function_table.get(82)(arg0, arg1, addHeapObject(arg2)); } function __wbg_elem_binding4(arg0, arg1, arg2) { - wasm.__wbg_function_table.get(84)(arg0, arg1, addHeapObject(arg2)); + wasm.__wbg_function_table.get(86)(arg0, arg1, arg2); } -function __wbg_elem_binding5(arg0, arg1, arg2) { - wasm.__wbg_function_table.get(84)(arg0, arg1, addHeapObject(arg2)); +function __wbg_elem_binding5(arg0, arg1) { + wasm.__wbg_function_table.get(228)(arg0, arg1); } function __wbg_elem_binding6(arg0, arg1, arg2) { - wasm.__wbg_function_table.get(294)(arg0, arg1, addHeapObject(arg2)); + wasm.__wbg_function_table.get(297)(arg0, arg1, addHeapObject(arg2)); } function __wbg_elem_binding7(arg0, arg1, arg2, arg3, arg4) { - wasm.__wbg_function_table.get(321)(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4)); + wasm.__wbg_function_table.get(324)(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4)); } function __wbg_elem_binding8(arg0, arg1, arg2, arg3) { - wasm.__wbg_function_table.get(325)(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm.__wbg_function_table.get(328)(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** */ @@ -238,14 +237,14 @@ function init(module) { const ret = false; return ret; }; - imports.wbg.__wbindgen_string_new = function(arg0, arg1) { - const ret = getStringFromWasm(arg0, arg1); - return addHeapObject(ret); - }; imports.wbg.__wbindgen_object_clone_ref = function(arg0) { const ret = getObject(arg0); return addHeapObject(ret); }; + imports.wbg.__wbindgen_string_new = function(arg0, arg1) { + const ret = getStringFromWasm(arg0, arg1); + return addHeapObject(ret); + }; imports.wbg.__wbindgen_cb_forget = function(arg0) { takeObject(arg0); }; @@ -885,16 +884,16 @@ function init(module) { imports.wbg.__wbindgen_throw = function(arg0, arg1) { throw new Error(getStringFromWasm(arg0, arg1)); }; - imports.wbg.__wbindgen_closure_wrapper639 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper323 = function(arg0, arg1, arg2) { const state = { a: arg0, b: arg1, cnt: 1 }; - const real = () => { + const real = (arg0) => { state.cnt++; const a = state.a; state.a = 0; try { - return __wbg_elem_binding3(a, state.b, ); + return __wbg_elem_binding1(a, state.b, arg0); } finally { - if (--state.cnt === 0) wasm.__wbg_function_table.get(226)(a, state.b); + if (--state.cnt === 0) wasm.__wbg_function_table.get(83)(a, state.b); else state.a = a; } } @@ -903,16 +902,16 @@ function init(module) { const ret = real; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1056 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper325 = function(arg0, arg1, arg2) { const state = { a: arg0, b: arg1, cnt: 1 }; const real = (arg0) => { state.cnt++; const a = state.a; state.a = 0; try { - return __wbg_elem_binding6(a, state.b, arg0); + return __wbg_elem_binding3(a, state.b, arg0); } finally { - if (--state.cnt === 0) wasm.__wbg_function_table.get(295)(a, state.b); + if (--state.cnt === 0) wasm.__wbg_function_table.get(83)(a, state.b); else state.a = a; } } @@ -921,16 +920,16 @@ function init(module) { const ret = real; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper310 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper655 = function(arg0, arg1, arg2) { const state = { a: arg0, b: arg1, cnt: 1 }; - const real = (arg0) => { + const real = () => { state.cnt++; const a = state.a; state.a = 0; try { - return __wbg_elem_binding5(a, state.b, arg0); + return __wbg_elem_binding5(a, state.b, ); } finally { - if (--state.cnt === 0) wasm.__wbg_function_table.get(85)(a, state.b); + if (--state.cnt === 0) wasm.__wbg_function_table.get(229)(a, state.b); else state.a = a; } } @@ -939,16 +938,16 @@ function init(module) { const ret = real; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper316 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper319 = function(arg0, arg1, arg2) { const state = { a: arg0, b: arg1, cnt: 1 }; const real = (arg0) => { state.cnt++; const a = state.a; state.a = 0; try { - return __wbg_elem_binding1(a, state.b, arg0); + return __wbg_elem_binding4(a, state.b, arg0); } finally { - if (--state.cnt === 0) wasm.__wbg_function_table.get(85)(a, state.b); + if (--state.cnt === 0) wasm.__wbg_function_table.get(83)(a, state.b); else state.a = a; } } @@ -957,7 +956,7 @@ function init(module) { const ret = real; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper318 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper321 = function(arg0, arg1, arg2) { const state = { a: arg0, b: arg1, cnt: 1 }; const real = (arg0) => { state.cnt++; @@ -966,7 +965,7 @@ function init(module) { try { return __wbg_elem_binding2(a, state.b, arg0); } finally { - if (--state.cnt === 0) wasm.__wbg_function_table.get(85)(a, state.b); + if (--state.cnt === 0) wasm.__wbg_function_table.get(83)(a, state.b); else state.a = a; } } @@ -975,16 +974,16 @@ function init(module) { const ret = real; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper314 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper1075 = function(arg0, arg1, arg2) { const state = { a: arg0, b: arg1, cnt: 1 }; const real = (arg0) => { state.cnt++; const a = state.a; state.a = 0; try { - return __wbg_elem_binding4(a, state.b, arg0); + return __wbg_elem_binding6(a, state.b, arg0); } finally { - if (--state.cnt === 0) wasm.__wbg_function_table.get(85)(a, state.b); + if (--state.cnt === 0) wasm.__wbg_function_table.get(298)(a, state.b); else state.a = a; } } @@ -993,7 +992,7 @@ function init(module) { const ret = real; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper312 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper317 = function(arg0, arg1, arg2) { const state = { a: arg0, b: arg1, cnt: 1 }; const real = (arg0) => { state.cnt++; @@ -1002,7 +1001,7 @@ function init(module) { try { return __wbg_elem_binding0(a, state.b, arg0); } finally { - if (--state.cnt === 0) wasm.__wbg_function_table.get(85)(a, state.b); + if (--state.cnt === 0) wasm.__wbg_function_table.get(83)(a, state.b); else state.a = a; } } diff --git a/teleterm/static/teleterm_web_bg.wasm b/teleterm/static/teleterm_web_bg.wasm Binary files differindex 5956297..ecb39da 100644 --- a/teleterm/static/teleterm_web_bg.wasm +++ b/teleterm/static/teleterm_web_bg.wasm |