Skip to content

Commit e92bdec

Browse files
ralyodioclaude
andcommitted
qc: HD emoji through tmux on WezTerm (hqtui 0.10.1), focus events (0.5.9, qc 0.4.7)
Emoji vanished in qc on WezTerm over SSH + tmux: the inline image went out through tmux passthrough without the cursor move, so it landed in the wrong place while the emoji's cells stayed blank. hqtui 0.10.1 sends the move inside the passthrough (pane offset from tmux) and redraws images on focus-in; qc turns focus events on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 919db69 commit e92bdec

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

‎bun.lock‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "qryptchat-web",
33
"private": true,
4-
"version": "0.5.8",
4+
"version": "0.5.9",
55
"type": "module",
66
"bin": {
77
"qc": "./bin/qc.js",
@@ -34,7 +34,7 @@
3434
"dependencies": "command -v pnpm && pnpm dlx @socketsecurity/socket-patch apply --silent --ecosystems npm || true"
3535
},
3636
"devDependencies": {
37-
"@profullstack/hqtui": "^0.10.0",
37+
"@profullstack/hqtui": "^0.10.1",
3838
"@testing-library/jest-dom": "^6.8.0",
3939
"@testing-library/react": "^16.0.0",
4040
"@testing-library/user-event": "^14.6.1",

‎packages/qryptchat/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@profullstack/qryptchat",
3-
"version": "0.4.6",
3+
"version": "0.4.7",
44
"description": "qc: qrypt.chat in your terminal. A full-screen end-to-end encrypted chat client (ML-KEM-1024), plus a scriptable CLI and an MCP server.",
55
"type": "module",
66
"bin": {
@@ -18,7 +18,7 @@
1818
"dependencies": {
1919
"@noble/ciphers": "^2.0.0",
2020
"@profullstack/encrypt": "^0.1.0",
21-
"@profullstack/hqtui": "^0.10.0",
21+
"@profullstack/hqtui": "^0.10.1",
2222
"mlkem": "^2.5.0"
2323
},
2424
"keywords": [

‎src/cli/tui.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,8 @@ export async function runTui(client, { initialChat } = {}) {
247247
const state = initialState(client.me);
248248
state.recent = loadRecent();
249249
const abort = new AbortController();
250-
const app = await createApp({ quitKeys: ['ctrl+c'], focusNavigation: false });
250+
// Focus reports let HD images be redrawn after a tmux window switch or reattach.
251+
const app = await createApp({ quitKeys: ['ctrl+c'], focusNavigation: false, focusEvents: true });
251252
const redraw = () => app.invalidate();
252253
// HD: our OpenEmoji/OpenIcon PNGs as real images where the terminal can show
253254
// them. Kitty, Ghostty, WezTerm and iTerm2 are detected locally; over SSH or

0 commit comments

Comments
 (0)