summaryrefslogtreecommitdiffhomepage
path: root/pkg/tui/util
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-27 12:23:39 -0500
committeradamdottv <[email protected]>2025-05-28 15:36:35 -0500
commitd249766777b607b521d178adc5c7c6c3951415f1 (patch)
treeb4584109c3319d4cd90d37d8e652171c94e5b2f9 /pkg/tui/util
parent6cf4b7f00beb2425dfe5ae11fd42d758edca4ac1 (diff)
downloadopencode-d249766777b607b521d178adc5c7c6c3951415f1.tar.gz
opencode-d249766777b607b521d178adc5c7c6c3951415f1.zip
chore: remove dead code
Diffstat (limited to 'pkg/tui/util')
-rw-r--r--pkg/tui/util/util.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/pkg/tui/util/util.go b/pkg/tui/util/util.go
deleted file mode 100644
index 207382d1e..000000000
--- a/pkg/tui/util/util.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package util
-
-import (
- tea "github.com/charmbracelet/bubbletea"
-)
-
-func CmdHandler(msg tea.Msg) tea.Cmd {
- return func() tea.Msg {
- return msg
- }
-}
-
-func Clamp(v, low, high int) int {
- if high < low {
- low, high = high, low
- }
- return min(high, max(low, v))
-}