We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ecdac8 commit 0a1447bCopy full SHA for 0a1447b
internal/action/tab.go
@@ -124,6 +124,12 @@ func (t *TabList) HandleEvent(event tcell.Event) {
124
return
125
}
126
127
+ case tcell.ButtonNone:
128
+ if t.List[t.Active()].release {
129
+ // Mouse release received, while already released
130
+ t.ResetMouse()
131
+ return
132
+ }
133
case tcell.WheelUp:
134
if my == t.Y {
135
t.Scroll(4)
@@ -172,6 +178,10 @@ func (t *TabList) SetActive(a int) {
172
178
// and the mouse state is still pressed.
173
179
func (t *TabList) ResetMouse() {
174
180
for _, tab := range t.List {
181
+ if !tab.release && tab.resizing != nil {
182
+ tab.resizing = nil
183
184
+
175
185
tab.release = true
176
186
177
187
for _, p := range tab.Panes {
0 commit comments