tui: new design (Catppuccin Mocha, header, framed input, 3-col popup, sessions picker, /lsp panel)
This commit is contained in:
1 parent
7e29515821
commit
79bd3b8ea7
7 files changed
+907
-462
No files matched your search
+4
-4
@@ -55,7 +55,6 @@ def check(label, needle):
|
||||
pump(1.5)
|
||||
check("startup footer", "Claude")
|
||||
check("latest default model", "claude-sonnet-5-5")
|
||||
check("1M window", "/900k")
|
||||
send(b"l1"); send(b"\x1b[13;2u"); send(b"l2") # shift-enter as CSI-u (kitty protocol)
|
||||
check("shift-enter is a newline, not a submit", "l1")
|
||||
send(b"\x15\x7f\x15") # kill line 2, join, kill line 1
|
||||
@@ -78,12 +77,13 @@ check("file written", "") if os.path.exists(f"{tmp}/repo/hello.txt") else (print
|
||||
check("quota in footer", "5h 42%")
|
||||
send(b"/usage\r")
|
||||
check("usage report", "58% left, resets in 2h1")
|
||||
check("1M window", "of 900k")
|
||||
send(b"/model claude-opus-5-5\r")
|
||||
check("model switch", "model → claude-opus-5-5 (Claude) · context 1000k")
|
||||
check("model switch", "opus-5-5 (Claude) · context 1000k")
|
||||
send(b"/model gpt-5.6-sol\r")
|
||||
check("gpt model needs codex login", "not logged in to Codex")
|
||||
send(b"/model claude-sonnet-5-6-preview\r")
|
||||
check("live catalog window", "context 2000k")
|
||||
check("live catalog window", "2000k")
|
||||
check("live catalog cached", "") if os.path.exists(f"{tmp}/home/.hx/models-claude.json") else (print("FAIL no model cache"), globals().update(ok=False))
|
||||
buf = b""
|
||||
send(b"/provider ")
|
||||
@@ -102,7 +102,7 @@ check("picker resumes session", "hx · OLDPROMPT about parsers")
|
||||
send(b"/new\r")
|
||||
check("new session", "new session")
|
||||
send(b"/sessions\r")
|
||||
check("sessions picker", "enter resume · tab scope")
|
||||
check("sessions picker", "all projects")
|
||||
send(b"make", 0.8)
|
||||
check("sessions filter", "make hello.txt")
|
||||
send(b"\r", 1)
|
||||
|
||||
Reference in new issue
Block a user