Update tcell

This commit is contained in:
Tulir Asokan
2022-04-15 12:53:09 +03:00
parent a7562a068a
commit 899bdbc705
51 changed files with 143 additions and 128 deletions

View File

@ -26,9 +26,11 @@ import (
_ "golang.org/x/image/bmp" // initialize decoder
_ "golang.org/x/image/tiff" // initialize decoder
_ "golang.org/x/image/webp" // initialize decoder
"go.mau.fi/tcell"
"maunium.net/go/gomuks/debug"
"maunium.net/go/gomuks/ui/messages/tstring"
"maunium.net/go/tcell"
)
var (

View File

@ -19,6 +19,7 @@ package notification
import (
"gopkg.in/toast.v1"
)
func Send(title, text string, critical, sound bool) error {
notification := toast.Notification{
AppID: "gomuks",

View File

@ -1,4 +1,4 @@
// +build !windows,!darwin
//go:build !windows && !darwin
// gomuks - A terminal Matrix client written in Go.
// Copyright (C) 2020 Tulir Asokan

View File

@ -1,4 +1,5 @@
package open
const Command = "open"
var Args []string

View File

@ -1,6 +1,7 @@
// +build !windows,!darwin
//go:build !windows && !darwin
package open
const Command = "xdg-open"
var Args []string