v0.2.0 16 colors, default colors, /dev/tty, bracketed paste, themed form controls

This commit is contained in:
lixen committed 2026-10-09 14:15:46 -04:00
1 parent 070131c7fd
commit 2b5d127e84
32 files changed
+1447 -424

No files matched your search

+6 -1
View File
@@ -2,6 +2,8 @@
package terminal
import "os"
// DetectColorMode determines terminal color capability from environment
func DetectColorMode() ColorMode {
// Browsers/xterm.js generally support true color
@@ -9,4 +11,7 @@ func DetectColorMode() ColorMode {
}
// resetTerminalMode is no-op for WASM; termios does not exist
func resetTerminalMode() {}
func resetTerminalMode() {}
// controllingTTY is nil: the browser terminal is reached through the bridge
func controllingTTY() *os.File { return nil }