Add watch option
This commit is contained in:
5 files changed
+45
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user