summaryrefslogtreecommitdiff
path: root/src/terminal.go
diff options
context:
space:
mode:
authorZhizhen He <hezhizhen.yi@gmail.com>2023-02-22 23:36:04 +0800
committerGitHub <noreply@github.com>2023-02-23 00:36:04 +0900
commit3364d4d147ade148d8e5dd67609e46f0ef6c50fc (patch)
tree976d70d7d218cb1c29143201390db4c8d19b1715 /src/terminal.go
parent57ad21e4bd2d9c59cdfe0522183ac12c30ee2f05 (diff)
downloadfzf-3364d4d147ade148d8e5dd67609e46f0ef6c50fc.tar.gz
Add spell check workflow (#3183)
Diffstat (limited to 'src/terminal.go')
-rw-r--r--src/terminal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.go b/src/terminal.go
index ebb48887..21400378 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -3288,7 +3288,7 @@ func (t *Terminal) Loop() {
break
}
- // Prevew scrollbar dragging
+ // Preview scrollbar dragging
headerLines := t.previewOpts.headerLines
pbarDragging = me.Down && (pbarDragging || clicked && t.hasPreviewWindow() && my >= t.pwindow.Top()+headerLines && my < t.pwindow.Top()+t.pwindow.Height() && mx == t.pwindow.Left()+t.pwindow.Width())
if pbarDragging {