Mon 21 Jul 22:43:21 CEST 2025
This commit is contained in:
parent
1b2669170d
commit
1a8594d75f
21
js/web/ui.js
Normal file
21
js/web/ui.js
Normal file
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user