Skip to content

fix: restore TUI heading images reliably - #28

Merged
rrbe merged 2 commits into
masterfrom
fix/restore-headings-on-focus
Aug 6, 2026
Merged

fix: restore TUI heading images reliably#28
rrbe merged 2 commits into
masterfrom
fix/restore-headings-on-focus

Conversation

@rrbe

@rrbe rrbe commented Aug 6, 2026

Copy link
Copy Markdown
Owner

概要

  • 在 TUI 生命周期内启用并配对关闭终端焦点事件
  • 收到 FocusGained 时复用现有完整重绘路径,重新上传可能被终端清除的标题图片
  • 图片 placement 跳过 frontmatter 的 NO_LOGICAL 哨兵行,避免打开带元数据的文档时越界崩溃
  • 添加焦点恢复与元数据图片 placement 回归测试

验证

  • make fmt
  • make check
  • make build
  • 真实 TUI 启动 fixtures/supported-syntax.md 并正常退出

@rrbe rrbe changed the title fix: restore headings after terminal focus returns fix: restore TUI heading images reliably Aug 6, 2026
@rrbe
rrbe merged commit 06b2f08 into master Aug 6, 2026
5 checks passed
@rrbe
rrbe deleted the fix/restore-headings-on-focus branch August 6, 2026 02:50
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