fix(uiutil): add Cursor interface

Ayman Bagabas created

Change summary

internal/uiutil/uiutil.go | 4 ++++
1 file changed, 4 insertions(+)

Detailed changes

internal/uiutil/uiutil.go 🔗

@@ -10,6 +10,10 @@ import (
 	tea "charm.land/bubbletea/v2"
 )
 
+type Cursor interface {
+	Cursor() *tea.Cursor
+}
+
 func CmdHandler(msg tea.Msg) tea.Cmd {
 	return func() tea.Msg {
 		return msg