Skip to content

Commit db882e8

Browse files
Adding support for "text" displays
1 parent 0ab430c commit db882e8

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

go.mod

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ require (
2929
github.com/sasha-s/go-deadlock v0.3.1 // indirect
3030
github.com/sirupsen/logrus v1.9.3 // indirect
3131
github.com/subchen/go-xmldom v1.1.2 // indirect
32+
github.com/webview/webview v0.0.0-20241127090340-83a4b4a5bbcb // indirect
3233
golang.org/x/mod v0.17.0 // indirect
3334
golang.org/x/net v0.25.0 // indirect
3435
golang.org/x/sync v0.7.0 // indirect

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ github.com/subchen/go-xmldom v1.1.2 h1:7evI2YqfYYOnuj+PBwyaOZZYjl3iWq35P6KfBUw9j
5151
github.com/subchen/go-xmldom v1.1.2/go.mod h1:6Pg/HuX5/T4Jlj0IPJF1sRxKVoI/rrKP6LIMge9d5/8=
5252
github.com/tatsushid/go-fastping v0.0.0-20160109021039-d7bb493dee3e h1:nt2877sKfojlHCTOBXbpWjBkuWKritFaGIfgQwbQUls=
5353
github.com/tatsushid/go-fastping v0.0.0-20160109021039-d7bb493dee3e/go.mod h1:B4+Kq1u5FlULTjFSM707Q6e/cOHFv0z/6QRoxubDIQ8=
54+
github.com/webview/webview v0.0.0-20241127090340-83a4b4a5bbcb h1:dKHZEHxtVTqnp29vsFicRxuYr/heaUN8rFgY8OZVep4=
55+
github.com/webview/webview v0.0.0-20241127090340-83a4b4a5bbcb/go.mod h1:Zk81X+8/mp/MNoeJXXK4Noydn8pcea09e00dFfAwrxg=
5456
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
5557
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
5658
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=

topologytable.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ func GenerateTopologyOverviewTableDisplay(Disp *topology.TopologyHWcTypeDef_Disp
220220
case "gray":
221221
parts = append(parts, "Gray")
222222
case "text":
223-
parts = []string{"Text"}
223+
parts = append(parts, "Text")
224224
// if Disp.H > 0 {
225225
// parts = append(parts, fmt.Sprintf("%d lines", Disp.H))
226226
// }

0 commit comments

Comments
 (0)