mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
Remove browser-open success messages from the TUI (#49816)
Stop adding an informational message to chat history when `open_url_in_browser` succeeds. Continue displaying an error when opening the browser fails. GitOrigin-RevId: 28d33917c1a2e354017470e785e44aa0032c3b46
This commit is contained in:
committed by
copyberry
parent
8e44ad94b0
commit
1182834d13
@@ -281,11 +281,7 @@ impl App {
|
||||
if let Err(err) = webbrowser::open(&url) {
|
||||
self.chat_widget
|
||||
.add_error_message(format!("Failed to open browser for {url}: {err}"));
|
||||
return;
|
||||
}
|
||||
|
||||
self.chat_widget
|
||||
.add_info_message(format!("Opened {url} in your browser."), /*hint*/ None);
|
||||
}
|
||||
|
||||
pub(super) fn open_desktop_thread(&mut self, thread_id: ThreadId) {
|
||||
|
||||
Reference in New Issue
Block a user