Skip to content

prevent browser.OpenURL logs from breaking TUI#7871

Merged
jedevc merged 1 commit into
dagger:mainfrom
vito:quiet-browser-button
Jul 11, 2024
Merged

prevent browser.OpenURL logs from breaking TUI#7871
jedevc merged 1 commit into
dagger:mainfrom
vito:quiet-browser-button

Conversation

@vito
Copy link
Copy Markdown
Contributor

@vito vito commented Jul 10, 2024

In some situations (in my case: terminal in Zed in Distrobox on Fedora with Sway) the c: Cloud key will work but dump a bunch of diagnostic output directly to os.Stderr in the process which breaks the TUI.

Now we'll buffer that output and only show it if opening the browser fails.

Signed-off-by: Alex Suraci <alex@dagger.io>
@vito vito added this to the v0.12.0 milestone Jul 10, 2024
@vito vito requested review from marcosnils and sipsma July 10, 2024 20:01
@jedevc jedevc merged commit bfc6db4 into dagger:main Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants