zcatui/examples
reugenio 3ec75f6264 Add clipboard support via OSC 52 escape sequences
New features:
- Copy text to system clipboard (Ctrl+V paste)
- Copy to X11 primary selection (middle-click paste)
- Copy to both selections simultaneously
- Clear clipboard contents
- Query clipboard (limited terminal support)
- Parse OSC 52 responses

API:
- copy(allocator, writer, text) - allocating version
- copySmall(writer, text) - stack-based for text <= 1024 bytes
- copyTo/copySmallTo - select target (clipboard/primary/both)
- clear(writer) - clear clipboard
- parseResponse(allocator, response) - decode clipboard responses

Example: clipboard_demo.zig with interactive testing

Tests: 8 clipboard tests, all pass

Terminal support: xterm, iTerm2, kitty, alacritty, WezTerm, foot
Note: tmux requires 'set -g set-clipboard on'

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-08 13:43:36 +01:00
..
animation_demo.zig Add animation system with easing functions and timers 2025-12-08 13:40:07 +01:00
clipboard_demo.zig Add clipboard support via OSC 52 escape sequences 2025-12-08 13:43:36 +01:00
dashboard.zig Add 3 new interactive demo examples 2025-12-08 13:22:42 +01:00
events_demo.zig zcatui v1.2 - Sistema de eventos integrado (crossterm-style) 2025-12-08 12:55:54 +01:00
hello.zig Inicio proyecto zcatui - TUI library para Zig 2025-12-08 01:56:44 +01:00
input_demo.zig Add readline-style Input widget with history support 2025-12-08 13:26:56 +01:00
list_demo.zig Add 3 new interactive demo examples 2025-12-08 13:22:42 +01:00
table_demo.zig Add 3 new interactive demo examples 2025-12-08 13:22:42 +01:00