1
0
Fork 0

Muted Stderr/Stdout output

This commit is contained in:
マリウス 2023-01-05 15:33:49 -05:00
parent a6c29c8677
commit 6fb3dfafec
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@ func handleOpen(mi interface{}) (bool, []tea.Cmd) {
var cmds []tea.Cmd
openURL := m.activePost.URL
browser.Stderr = nil
browser.Stdout = nil
if err := browser.OpenURL(openURL); err != nil {
m.ctx.Logger.Error(err)
cmds = append(cmds, cmd.New(