mirror of
https://github.com/mrusme/neonmodem.git
synced 2024-11-03 04:27:16 -05:00
Muted Stderr/Stdout output
This commit is contained in:
parent
a6c29c8677
commit
6fb3dfafec
@ -94,6 +94,8 @@ func handleOpen(mi interface{}) (bool, []tea.Cmd) {
|
|||||||
var cmds []tea.Cmd
|
var cmds []tea.Cmd
|
||||||
|
|
||||||
openURL := m.activePost.URL
|
openURL := m.activePost.URL
|
||||||
|
browser.Stderr = nil
|
||||||
|
browser.Stdout = nil
|
||||||
if err := browser.OpenURL(openURL); err != nil {
|
if err := browser.OpenURL(openURL); err != nil {
|
||||||
m.ctx.Logger.Error(err)
|
m.ctx.Logger.Error(err)
|
||||||
cmds = append(cmds, cmd.New(
|
cmds = append(cmds, cmd.New(
|
||||||
|
Loading…
Reference in New Issue
Block a user