mirror of
https://github.com/db9979/sshtermy.git
synced 2026-12-05 12:24:08 +01:00
* MIT-Lizenz; Terminal-Verlauf kompakt, schnellerer Bildlauf, Manager mit vielen Verbindungen schneller - LICENSE (MIT), winget/Homebrew/apt-Metadaten, README, Webseite, --version - termemu: Verlauf mit 8 statt 112 Byte pro Zeichen, Ringpuffer - third_party/vt: angepasste Kopie (rotateLines, SetScrollbackHook) - Store: Connections() zwischengespeichert; Manager: buildRows ohne Teillisten, Fußzeile misst Breiten einmal - Benchmarks: make bench Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUjBAAPCAZVnGzCZxdS * Testprogramm aus dem Commit entfernt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUjBAAPCAZVnGzCZxdS * Testprogramm entfernt, *.test ignorieren Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUjBAAPCAZVnGzCZxdS * TestSerialSession: auf stehenden Prompt warten statt auf das erste # Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUjBAAPCAZVnGzCZxdS --------- Co-authored-by: Claude <noreply@anthropic.com>
26 lines
389 B
Go
26 lines
389 B
Go
package vt
|
|
|
|
import uv "github.com/charmbracelet/ultraviolet"
|
|
|
|
// CursorStyle represents a cursor style.
|
|
type CursorStyle int
|
|
|
|
// Cursor styles.
|
|
const (
|
|
CursorBlock CursorStyle = iota
|
|
CursorUnderline
|
|
CursorBar
|
|
)
|
|
|
|
// Cursor represents a cursor in a terminal.
|
|
type Cursor struct {
|
|
Pen uv.Style
|
|
Link uv.Link
|
|
|
|
uv.Position
|
|
|
|
Style CursorStyle
|
|
Steady bool // Not blinking
|
|
Hidden bool
|
|
}
|