HOTFIX: fix tutorial link in about plugin

This commit is contained in:
Aram Drevekenin 2025-03-12 14:52:44 +01:00
parent 502af243e0
commit 865eb68ad1

View file

@ -276,9 +276,9 @@ impl Page {
Text::new("For more details, see: ") Text::new("For more details, see: ")
.color_range(2, ..) .color_range(2, ..)
)), )),
ActiveComponent::new(TextOrCustomRender::Text(Text::new("https://zellij.dev/screencasts/stacked-resize"))) ActiveComponent::new(TextOrCustomRender::Text(Text::new("https://zellij.dev/tutorials/stacked-resize")))
.with_hover(TextOrCustomRender::CustomRender(Box::new(stacked_resize_screencast_link_selected), Box::new(stacked_resize_screencast_link_selected_len))) .with_hover(TextOrCustomRender::CustomRender(Box::new(stacked_resize_screencast_link_selected), Box::new(stacked_resize_screencast_link_selected_len)))
.with_left_click_action(ClickAction::new_open_link("https://zellij.dev/screencasts/stacked-resize".to_owned(), link_executable.clone())) .with_left_click_action(ClickAction::new_open_link("https://zellij.dev/tutorials/stacked-resize".to_owned(), link_executable.clone()))
]) ])
]) ])
.with_paragraph(vec![ComponentLine::new(vec![ .with_paragraph(vec![ComponentLine::new(vec![
@ -766,7 +766,7 @@ fn matrix_link_text_selected_len() -> usize {
fn stacked_resize_screencast_link_selected(x: usize, y: usize) -> usize { fn stacked_resize_screencast_link_selected(x: usize, y: usize) -> usize {
print!( print!(
"\u{1b}[{};{}H\u{1b}[m\u{1b}[1;4mhttps://zellij.dev/screencasts/stacked-resize", "\u{1b}[{};{}H\u{1b}[m\u{1b}[1;4mhttps://zellij.dev/tutorials/stacked-resize",
y + 1, y + 1,
x + 1 x + 1
); );