(app *app, files []string)
| 653 | } |
| 654 | |
| 655 | func onLoad(app *app, files []string) { |
| 656 | if cmd, ok := gOpts.cmds["on-load"]; ok { |
| 657 | cmd.eval(app, files) |
| 658 | } |
| 659 | } |
| 660 | |
| 661 | func onFocusGained(app *app) { |
| 662 | if cmd, ok := gOpts.cmds["on-focus-gained"]; ok { |