wip: refactoring tui

This commit is contained in:
adamdottv
2025-06-05 15:44:20 -05:00
parent 979bad3e64
commit 95d5e1f231
37 changed files with 1496 additions and 1801 deletions

View File

@@ -11,6 +11,7 @@ func CmdHandler(msg tea.Msg) tea.Cmd {
}
func Clamp(v, low, high int) int {
// Swap if needed to ensure low <= high
if high < low {
low, high = high, low
}