mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-04 02:21:47 +00:00
fix(tui): tighten SGR fragment matching
This commit is contained in:
parent
71b685aee0
commit
ded011c5a5
4 changed files with 11 additions and 5 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import { writeSync } from 'node:fs'
|
||||
|
||||
export const TERMINAL_MODE_RESET =
|
||||
"\x1b[0'z" + // DEC locator reporting
|
||||
"\x1b[0'{" + // selectable locator events
|
||||
'\x1b[0\'z' + // DEC locator reporting
|
||||
'\x1b[0\'{' + // selectable locator events
|
||||
'\x1b[?2029l' + // passive mouse
|
||||
'\x1b[?1016l' + // SGR-pixels mouse
|
||||
'\x1b[?1015l' + // urxvt decimal mouse
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue