feat: add support for opening links

This commit is contained in:
Stevan Freeborn
2026-02-26 05:04:05 -06:00
parent 65c9036ec9
commit 4383573c8e
3 changed files with 278 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ pub fn switch_tab(state: &mut State, index: usize) -> Task<Message> {
}
pub fn link_clicked(url: String) -> Task<Message> {
println!("Opening link: {}", url);
let _ = webbrowser::open(&url);
Task::none()
}