Repository navigation
Architectural Changes
- Proper
internal/package structure (app, command, tui, console, config, session, event, flag) - Reusable
pkg/packages (charset, forward, luaplugin) cmd/serialterminal/entry point- Eliminated global state via dependency injection
New Features
- TCP Server, UDP Server, COM port forwarding (3 new modes)
- Lua plugin system with Go helpers (
modbus.crc16,hex.encode/decode) - Modbus RTU plugin with automatic CRC
- Multi-field forward form with Tab cycling
- Auto-load all .lua plugins from plugins/ directory
Bug Fixes
- TUI 'g' key being consumed by viewport handler
- Ctrl+Alt+Key hotkeys (bubbletea v1 CSI u + panel passthrough)
- EndStr %q round-trip corruption in TUI mode panel
- Console escape parser for Ctrl+Alt+C exit
- Log path default format
- TUI border rendering
- Timestamp data loss
Testing
8 test suites passing: app, command, console, tui, charset, forward, luaplugin