moving notification to ui package
This commit is contained in:
parent
6390039ea9
commit
f56169cbd3
@ -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
|
Loading…
Reference in New Issue
Block a user