Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-05-12 19:12:29 +02:00
commit e8e64eff12
101 changed files with 10081 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package plugins
import tea "charm.land/bubbletea/v2"
func WaitForNotif(mgr *Manager) tea.Cmd {
return func() tea.Msg {
return <-mgr.Notifs
}
}
func WaitForQuit(mgr *Manager) tea.Cmd {
return func() tea.Msg {
return PluginQuitMsg{Reason: <-mgr.Quit}
}
}