A room or user name with a tab, a newline, an escape or some emoji was drawn wider than measured, so the terminal wrapped and scrolled, and going on to Users kept Rooms' header and keys on screen. Names from Synapse and log lines are made printable, cutting to fit counts screen cells (CJK and emoji take two), the coloured title keeps an emoji whole, and changing screens repaints the terminal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
1.4 KiB
AMPL
37 lines
1.4 KiB
AMPL
module interzone
|
|
|
|
go 1.27.1
|
|
|
|
require (
|
|
github.com/charmbracelet/bubbles v0.21.1
|
|
github.com/charmbracelet/bubbletea v1.3.10
|
|
github.com/charmbracelet/lipgloss v1.1.0
|
|
github.com/charmbracelet/x/ansi v0.11.5
|
|
github.com/lrstanley/bubblezone v1.0.0
|
|
github.com/lucasb-eyer/go-colorful v1.3.0
|
|
github.com/muesli/termenv v0.16.0
|
|
github.com/rivo/uniseg v0.4.7
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/atotto/clipboard v0.1.4 // indirect
|
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
|
github.com/charmbracelet/colorprofile v0.4.1 // indirect
|
|
github.com/charmbracelet/harmonica v0.2.0 // indirect
|
|
github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
|
|
github.com/charmbracelet/x/term v0.2.2 // indirect
|
|
github.com/clipperhouse/displaywidth v0.9.0 // indirect
|
|
github.com/clipperhouse/stringish v0.1.1 // indirect
|
|
github.com/clipperhouse/uax29/v2 v2.5.0 // indirect
|
|
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-localereader v0.0.1 // indirect
|
|
github.com/mattn/go-runewidth v0.0.19 // indirect
|
|
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
|
|
github.com/muesli/cancelreader v0.2.2 // indirect
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
golang.org/x/sys v0.38.0 // indirect
|
|
golang.org/x/text v0.24.0 // indirect
|
|
)
|