zcatui/src
reugenio a928fc55fd feat: Add Unicode width calculation and terminal capability detection
Unicode width (src/unicode.zig):
- charWidth(): Returns display width of Unicode codepoints (0, 1, or 2)
- stringWidth(): Calculates display width of UTF-8 strings
- truncateToWidth(): Truncates strings to fit display columns
- stringWidthBounded(): Width calculation with byte tracking
- Handles CJK (double-width), combining marks (zero-width),
  control characters, and emoji

Terminal capabilities (src/termcap.zig):
- detect(): Auto-detects terminal features from environment
- ColorSupport: none, basic(8), extended(16), 256, true_color
- Detects: hyperlinks, images, clipboard, mouse, unicode
- Known terminals: kitty, WezTerm, iTerm, VSCode, Alacritty, etc.
- Respects NO_COLOR and FORCE_COLOR env vars
- rgbTo256(): Converts RGB to 256-color palette
- rgbToBasic(): Converts RGB to 8/16 ANSI colors
- adaptColor(): Downgrades colors based on terminal support

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-08 18:57:20 +01:00
..
backend Mejoras de performance v1.1 2025-12-08 12:23:21 +01:00
event zcatui v1.2 - Sistema de eventos integrado (crossterm-style) 2025-12-08 12:55:54 +01:00
symbols feat: Add focus management, themes, and comprehensive tests 2025-12-08 18:29:00 +01:00
tests feat: Add focus management, themes, and comprehensive tests 2025-12-08 18:29:00 +01:00
widgets feat: Add focus management, themes, and comprehensive tests 2025-12-08 18:29:00 +01:00
animation.zig Add animation system with easing functions and timers 2025-12-08 13:40:07 +01:00
buffer.zig Mejoras de performance v1.1 2025-12-08 12:23:21 +01:00
clipboard.zig Add clipboard support via OSC 52 escape sequences 2025-12-08 13:43:36 +01:00
cursor.zig zcatui v1.2 - Sistema de eventos integrado (crossterm-style) 2025-12-08 12:55:54 +01:00
event.zig zcatui v1.2 - Sistema de eventos integrado (crossterm-style) 2025-12-08 12:55:54 +01:00
focus.zig feat: Add focus management, themes, and comprehensive tests 2025-12-08 18:29:00 +01:00
hyperlink.zig feat: Add terminal extensions and new widgets 2025-12-08 17:34:33 +01:00
image.zig feat: Add terminal extensions and new widgets 2025-12-08 17:34:33 +01:00
layout.zig Inicio proyecto zcatui - TUI library para Zig 2025-12-08 01:56:44 +01:00
lazy.zig feat: Add lazy rendering and scrollable containers 2025-12-08 17:38:47 +01:00
notification.zig feat: Add terminal extensions and new widgets 2025-12-08 17:34:33 +01:00
root.zig feat: Add Unicode width calculation and terminal capability detection 2025-12-08 18:57:20 +01:00
style.zig Inicio proyecto zcatui - TUI library para Zig 2025-12-08 01:56:44 +01:00
termcap.zig feat: Add Unicode width calculation and terminal capability detection 2025-12-08 18:57:20 +01:00
terminal.zig zcatui v1.2 - Sistema de eventos integrado (crossterm-style) 2025-12-08 12:55:54 +01:00
text.zig zcatui v1.0 - Implementacion completa de todos los widgets ratatui 2025-12-08 12:18:41 +01:00
theme.zig feat: Add focus management, themes, and comprehensive tests 2025-12-08 18:29:00 +01:00
unicode.zig feat: Add Unicode width calculation and terminal capability detection 2025-12-08 18:57:20 +01:00