Update tcell
This commit is contained in:
@ -18,8 +18,8 @@ package html
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"maunium.net/go/mauview"
|
||||
"maunium.net/go/tcell"
|
||||
"go.mau.fi/mauview"
|
||||
"go.mau.fi/tcell"
|
||||
)
|
||||
|
||||
type BaseEntity struct {
|
||||
|
@ -20,7 +20,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"maunium.net/go/mauview"
|
||||
"go.mau.fi/mauview"
|
||||
)
|
||||
|
||||
type BlockquoteEntity struct {
|
||||
|
@ -17,7 +17,7 @@
|
||||
package html
|
||||
|
||||
import (
|
||||
"maunium.net/go/mauview"
|
||||
"go.mau.fi/mauview"
|
||||
)
|
||||
|
||||
type BreakEntity struct {
|
||||
|
@ -17,8 +17,8 @@
|
||||
package html
|
||||
|
||||
import (
|
||||
"maunium.net/go/mauview"
|
||||
"maunium.net/go/tcell"
|
||||
"go.mau.fi/mauview"
|
||||
"go.mau.fi/tcell"
|
||||
)
|
||||
|
||||
type CodeBlockEntity struct {
|
||||
|
@ -20,7 +20,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"maunium.net/go/mauview"
|
||||
"go.mau.fi/mauview"
|
||||
)
|
||||
|
||||
type ContainerEntity struct {
|
||||
|
@ -17,8 +17,8 @@
|
||||
package html
|
||||
|
||||
import (
|
||||
"maunium.net/go/mauview"
|
||||
"maunium.net/go/tcell"
|
||||
"go.mau.fi/mauview"
|
||||
"go.mau.fi/tcell"
|
||||
)
|
||||
|
||||
// AdjustStyleFunc is a lambda function type to edit an existing tcell Style.
|
||||
|
@ -19,7 +19,7 @@ package html
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"maunium.net/go/mauview"
|
||||
"go.mau.fi/mauview"
|
||||
)
|
||||
|
||||
type HorizontalLineEntity struct {
|
||||
|
@ -21,8 +21,9 @@ import (
|
||||
"math"
|
||||
"strings"
|
||||
|
||||
"go.mau.fi/mauview"
|
||||
|
||||
"maunium.net/go/gomuks/ui/widget"
|
||||
"maunium.net/go/mauview"
|
||||
)
|
||||
|
||||
type ListEntity struct {
|
||||
|
@ -28,11 +28,11 @@ import (
|
||||
"github.com/lucasb-eyer/go-colorful"
|
||||
"golang.org/x/net/html"
|
||||
|
||||
"go.mau.fi/tcell"
|
||||
|
||||
"maunium.net/go/mautrix/event"
|
||||
"maunium.net/go/mautrix/id"
|
||||
|
||||
"maunium.net/go/tcell"
|
||||
|
||||
"maunium.net/go/gomuks/config"
|
||||
"maunium.net/go/gomuks/matrix/rooms"
|
||||
"maunium.net/go/gomuks/ui/widget"
|
||||
@ -60,7 +60,7 @@ func AdjustStyleUnderline(style tcell.Style) tcell.Style {
|
||||
}
|
||||
|
||||
func AdjustStyleStrikethrough(style tcell.Style) tcell.Style {
|
||||
return style.Strikethrough(true)
|
||||
return style.StrikeThrough(true)
|
||||
}
|
||||
|
||||
func AdjustStyleTextColor(color tcell.Color) func(tcell.Style) tcell.Style {
|
||||
|
@ -22,8 +22,9 @@ import (
|
||||
|
||||
"github.com/mattn/go-runewidth"
|
||||
|
||||
"go.mau.fi/mauview"
|
||||
|
||||
"maunium.net/go/gomuks/ui/widget"
|
||||
"maunium.net/go/mauview"
|
||||
)
|
||||
|
||||
type TextEntity struct {
|
||||
|
Reference in New Issue
Block a user