comments
This commit is contained in:
parent
03caf64231
commit
15a225e68f
|
|
@ -1,6 +1,5 @@
|
|||
////
|
||||
// dom helpers and cached elements
|
||||
//
|
||||
// DOM helpers and cached elements
|
||||
|
||||
// finds an element by ID
|
||||
export const $ = (id: string): HTMLElement | null =>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
////
|
||||
// try to keep the command textbox focused at all times
|
||||
//
|
||||
// We try to keep the command textbox focused at all times.
|
||||
|
||||
import { cmdTextbox } from "./dom.js"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
////
|
||||
// input is handled by a <textarea> and friends
|
||||
//
|
||||
// Terminal input is handled by a <textarea> and friends.
|
||||
|
||||
import { cmdTextbox, cmdLine } from "./dom.js"
|
||||
import { runCommand } from "./shell.js"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
////
|
||||
// maintain the two video modes: cinema and tall
|
||||
//
|
||||
// We need JS to help manage the two video modes: cinema and tall
|
||||
|
||||
const content = document.getElementById("content")!
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
////
|
||||
// the shell runs on the server and processes input, returning output
|
||||
//
|
||||
// The shell runs on the server and processes input, returning output.
|
||||
|
||||
import type { Message } from "../shared/message.js"
|
||||
|
||||
export function runCommand(input: string) {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
////
|
||||
// fun vram counter at startup
|
||||
//
|
||||
// Fun vram counter at startup.
|
||||
|
||||
import { $ } from "./dom.js"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
////
|
||||
// the terminal communicates with the shell via websockets
|
||||
//
|
||||
// The terminal communicates with the shell via websockets.
|
||||
|
||||
import type { Message } from "../shared/message.js"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user