add 'waitmsg' option to configure the message after shell-wait commands (#604)

This commit is contained in:
gotroyb127 authored and GitHub committed 2021-04-06 18:57:23 +03:00
1 parent 229b7b1ade
commit 0cfd34f30d
7 files changed
+24 -1

No files matched your search

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