Debian Codegraph @

debian/patches/0001-use-gdamore-tcell.patch

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