Package: golang-go.mau-mauview / 0.2.1+git20240409+f020cbb-1

0001-use-gdamore-tcell.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
--- a/application.go
+++ b/application.go
@@ -15,7 +15,7 @@
 	"sync"
 	"time"
 
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 type Component interface {
--- a/box.go
+++ b/box.go
@@ -8,7 +8,7 @@
 package mauview
 
 import (
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 type KeyCaptureFunc func(event KeyEvent) KeyEvent
--- a/button.go
+++ b/button.go
@@ -8,7 +8,7 @@
 package mauview
 
 import (
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 type Button struct {
--- a/center.go
+++ b/center.go
@@ -8,7 +8,7 @@
 package mauview
 
 import (
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 type FractionalCenterer struct {
--- a/eventhandler.go
+++ b/eventhandler.go
@@ -8,7 +8,7 @@
 package mauview
 
 import (
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 // KeyEvent is an interface of the *tcell.EventKey type.
--- a/flex.go
+++ b/flex.go
@@ -8,7 +8,7 @@
 package mauview
 
 import (
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 type FlexDirection int
--- a/form.go
+++ b/form.go
@@ -8,7 +8,7 @@
 package mauview
 
 import (
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 type Form struct {
--- a/grid.go
+++ b/grid.go
@@ -8,7 +8,7 @@
 package mauview
 
 import (
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 type gridChild struct {
--- a/inputarea.go
+++ b/inputarea.go
@@ -14,7 +14,7 @@
 	"github.com/mattn/go-runewidth"
 	"github.com/zyedidia/clipboard"
 
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 // InputArea is a multi-line user-editable text area.
--- a/inputfield.go
+++ b/inputfield.go
@@ -16,7 +16,7 @@
 
 	"github.com/mattn/go-runewidth"
 
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 // InputField is a single-line user-editable text field.
--- a/progress.go
+++ b/progress.go
@@ -12,7 +12,7 @@
 	"sync/atomic"
 	"time"
 
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 type ProgressBar struct {
--- a/screen.go
+++ b/screen.go
@@ -8,7 +8,7 @@
 package mauview
 
 import (
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 // Screen is a subset of the tcell Screen.
--- a/semigraphics.go
+++ b/semigraphics.go
@@ -4,7 +4,7 @@
 
 package mauview
 
-import "go.mau.fi/tcell"
+import "github.com/gdamore/tcell/v2"
 
 // Semigraphics provides an easy way to access unicode characters for drawing.
 //
--- a/styles.go
+++ b/styles.go
@@ -4,7 +4,7 @@
 
 package mauview
 
-import "go.mau.fi/tcell"
+import "github.com/gdamore/tcell/v2"
 
 // Styles defines various colors used when primitives are initialized. These
 // may be changed to accommodate a different look and feel.
--- a/textfield.go
+++ b/textfield.go
@@ -10,7 +10,7 @@
 import (
 	"sync"
 
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 type TextField struct {
--- a/textview.go
+++ b/textview.go
@@ -11,7 +11,7 @@
 
 	"github.com/mattn/go-runewidth"
 
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 // TabSize is the number of spaces with which a tab character will be replaced.
--- a/util.go
+++ b/util.go
@@ -13,7 +13,7 @@
 	"github.com/mattn/go-runewidth"
 	"github.com/rivo/uniseg"
 
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 )
 
 // Text alignment within a box.
--- a/mauview-test/main.go
+++ b/mauview-test/main.go
@@ -8,7 +8,7 @@
 package main
 
 import (
-	"go.mau.fi/tcell"
+	"github.com/gdamore/tcell/v2"
 
 	"go.mau.fi/mauview"
 )
--- a/go.mod
+++ b/go.mod
@@ -6,7 +6,6 @@
 	github.com/mattn/go-runewidth v0.0.14
 	github.com/rivo/uniseg v0.4.2
 	github.com/zyedidia/clipboard v1.0.4
-	go.mau.fi/tcell v0.4.0
 )
 
 require (