mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-23 23:54:44 +00:00
Fix build error
This commit is contained in:
parent
2adaf68bd4
commit
2b8cc4cfce
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ func HandleCommand(input string, view *View) {
|
|||
os.Exit(0)
|
||||
}
|
||||
case "save":
|
||||
view.Save()
|
||||
Save(view)
|
||||
case "replace":
|
||||
r := regexp.MustCompile(`"[^"\\]*(?:\\.[^"\\]*)*"|[^\s]*`)
|
||||
replaceCmd := r.FindAllString(strings.Join(args, " "), -1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue