wip: refactoring tui

This commit is contained in:
adamdottv 2025-06-05 15:44:20 -05:00
parent 979bad3e64
commit 95d5e1f231
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
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
}