Skip to content

feat(qt): 接入 DECCKM/DECTCEM (#28) - #233

Merged
JavaZeroo merged 2 commits into
mainfrom
feat/dectcem-render
Oct 30, 2026
Merged

JavaZeroo merged 2 commits into
mainfrom
feat/dectcem-render

Conversation

@JavaZeroo

Copy link
Copy Markdown
Owner

内容

把 #232 的模式位接到 Qt 产品入口(消费者第二片):

模式 行为
DECTCEM(?25l) 隐藏光标:TerminalWidget 不再绘制光标下划线
DECCKM(?1h) 方向键改发 SS3 形式(ESC O A/B/C/D),否则维持 ESC [ A/B/C/D

SessionModel 新增 cursor_visible() / application_cursor_keys() 转发 Parser 状态。

验证

build-qt 构建通过;本地 Qt 冒烟 status: passed(算术 750、child exit 37、清理已验证)。

边界

  • 只接 Qt 入口;Win32 shell 的光标绘制仍恒显示(下一片处理);
  • 不改变输入编码的其余部分。

Refs #28

The model forwards both mode bits; the widget hides the cursor when DECTCEM clears it and sends SS3 arrows when DECCKM is set.
Every renderer draw call now takes the parser cursor-visibility flag, including the retained-versus-full comparison and the evidence capture.
@JavaZeroo
JavaZeroo merged commit 206cb7a into main Oct 30, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant