fix(tui): improve theme integration and fix compatibility issues
This commit fixes critical TUI theme integration issues and ensures
proper face name consistency between TUI and the theme system.
Changes:
- Fix sol::nil → sol::lua_nil in lua_api.cpp for sol2 v3.x compatibility
- Fix face name inconsistency: "SearchMatch"/"SearchFail" → "isearch"/"isearch-fail"
- Ensure TUI uses standard Emacs-style face names for theme consistency
- Verify all themes define necessary TUI faces (isearch, isearch-fail,
window-divider, mode-line, mode-line-inactive, minibuffer-prompt)
These changes ensure:
✓ TUI works correctly with all theme definitions
✓ ISearch highlighting uses proper theme colors
✓ Window dividers render with correct styling
✓ Modelines display with appropriate theme colors
✓ All 32 tests pass
✓ GTK frontend remains unaffected
✓ Complete theme coverage for TUI elements
Note: The TUI already has comprehensive feature support including:
- Hardware cursor with blinking
- Full keybinding support from defaults.hpp
- Per-window modelines
- Syntax highlighting with theme integration
- ISearch with visual feedback
- Window splitting and navigation
- Minibuffer with completion candidates
- Meta key sequences (Escape + key)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>