1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-06-02 06:11:09 +00:00

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

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(