Add watch option

This commit is contained in:
Joe Lim committed 2024-03-30 19:29:15 +11:00
1 parent 1e10e95f4d
commit 7c3cfa8865
5 files changed
+45

No files matched your search

+2
View File
@@ -64,6 +64,7 @@ var gOpts struct {
smartcase bool
smartdia bool
waitmsg string
watch bool
wrapscan bool
wrapscroll bool
findlen int
@@ -209,6 +210,7 @@ func init() {
gOpts.smartcase = true
gOpts.smartdia = false
gOpts.waitmsg = "Press any key to continue"
gOpts.watch = false
gOpts.wrapscan = true
gOpts.wrapscroll = false
gOpts.findlen = 1