moving notification to ui package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package ui
|
||||
|
||||
import (
|
||||
"time"
|
||||
@@ -9,6 +9,14 @@ import (
|
||||
"github.com/gdamore/tcell/v2"
|
||||
)
|
||||
|
||||
var (
|
||||
UI *Application
|
||||
)
|
||||
|
||||
func ConnectUI(a *Application) {
|
||||
UI = a
|
||||
}
|
||||
|
||||
/* Notification Primitive */
|
||||
type Notification struct {
|
||||
*tview.Box
|
||||
Reference in New Issue
Block a user