Skip to content

feat: add layer compositing system - #74

Merged
meszmate merged 2 commits into
mainfrom
feature/layer-system
Mar 31, 2026
Merged

meszmate merged 2 commits into
mainfrom
feature/layer-system

Conversation

@meszmate

@meszmate meszmate commented Mar 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds LayerStack in src/layout/layer.zig for z-ordered compositing
  • Each layer has content, x/y position, z-index, and transparency mode
  • ANSI escape sequence aware painting
  • Space characters are transparent by default (show-through)
  • Example demonstrates background, info panel, modal popup, and tooltip layers

LayerStack manages z-ordered layers with position, transparency,
and ANSI-aware compositing. Useful for modals, tooltips, popups.
@meszmate
meszmate merged commit bbb44f6 into main Mar 31, 2026
9 checks passed
@meszmate
meszmate deleted the feature/layer-system branch March 31, 2026 03:37
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