From 1a8594d75f420b39a1b37f059b50e116c9bc245f Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 21 Jul 2025 23:13:17 +0200 Subject: [PATCH] Mon 21 Jul 22:43:21 CEST 2025 --- js/web/ui.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 js/web/ui.js diff --git a/js/web/ui.js b/js/web/ui.js new file mode 100644 index 0000000..2fd883c --- /dev/null +++ b/js/web/ui.js @@ -0,0 +1,21 @@ +/* +** (rough) Graphical User Interface emulation of blessed terminal API using jquery +** +*/ + + +// Create a screen +function screen(options) { + var width=80, + height=25; + return { + cursor:{}, + width:width, + height:height + } +} + + +GUI = { + screen:screen +}