====== std.lyxvision.drivers ====== Low-Level-Terminal-Treiber für LyxVision: ANSI-Escape-Sequenzen, xterm-256-Farben und Linux-Konsolenmodus. Kapselt die plattformspezifische Terminal-I/O — wird intern von ''lyxvision.main'' initialisiert und ist selten direkt nötig. → [[lyx_-_programmiersprache:units:lyxvision|lyxvision]] · [[lyx_-_programmiersprache:units:lyxvision:main|lyxvision.main]] · [[lyx_-_programmiersprache:units:crt_raw|std.crt_raw]] ---- ===== Funktionen ===== ^ Signatur ^ Sichtbarkeit ^ Beschreibung ^ | ''SetRawMode(enabled: int64): int64'' | pub | — | | ''InitDriver()'' | pub | Terminal-Initialisierung | | ''DoneDriver()'' | pub | — | | ''ClearScreen()'' | pub | Bildschirm-Steuerung | | ''ClearToEol()'' | pub | — | | ''MoveCursor(x: int64, y: int64)'' | pub | Cursor-Steuerung | | ''HideCursor()'' | pub | — | | ''ShowCursor()'' | pub | — | | ''SaveCursor()'' | pub | — | | ''RestoreCursor()'' | pub | — | | ''SetForeground(color: int64)'' | pub | — | | ''SetBackground(color: int64)'' | pub | — | | ''SetColors(fg: int64, bg: int64)'' | pub | — | | ''ResetColors()'' | pub | — | | ''SetBold(enable: int64)'' | pub | Text-Attribute | | ''SetReverse(enable: int64)'' | pub | — | | ''GetScreenWidth(): int64'' | pub | Bildschirmgröße | | ''GetScreenHeight(): int64'' | pub | — | | ''SetScreenSize(w: int64, h: int64)'' | pub | — | | ''WriteStr(x: int64, y: int64, s: pchar)'' | pub | Zeichenausgabe | | ''WriteStrAttr(x: int64, y: int64, s: pchar, fg: int64, bg: int64)'' | pub | — | | ''FillRect(x1: int64, y1: int64, x2: int64, y2: int64)'' | pub | — | | ''DrawBox(x1: int64, y1: int64, x2: int64, y2: int64)'' | pub | Box-Zeichnung (ASCII) | | ''DrawDoubleBox(x1: int64, y1: int64, x2: int64, y2: int64)'' | pub | — | | ''ReadKeyRaw(): int64'' | pub | Event-Eingabe | | ''GetKeyEvent(): TEvent'' | pub | Prüft, ob eine Taste gedrückt wurde, ohne zu blockieren | | ''EnableMouse()'' | pub | Maus-Unterstützung | | ''DisableMouse()'' | pub | — | ---- //Signaturen automatisch aus ''std/lyxvision/drivers.lyx'' erzeugt (Stand 2026-08-02, lyxc 1.0.21A). Beschreibungen stammen aus den Quellkommentaren und sind teilweise unvollständig.//