RunCmd runs a shell command in the background
(args []string)
| 885 | |
| 886 | // RunCmd runs a shell command in the background |
| 887 | func (h *BufPane) RunCmd(args []string) { |
| 888 | runf, err := shell.RunBackgroundShell(shellquote.Join(args...)) |
| 889 | if err != nil { |
| 890 | InfoBar.Error(err) |
| 891 | } else { |
| 892 | go func() { |
| 893 | InfoBar.Message(runf()) |
| 894 | screen.Redraw() |
| 895 | }() |
| 896 | } |
| 897 | } |
| 898 | |
| 899 | // QuitCmd closes the main view |
| 900 | func (h *BufPane) QuitCmd(args []string) { |
nothing calls this directly
no test coverage detected