pub type LinkCallback = dyn Fn(&mut Cursive, &str);
Expand description

A callback that is triggered for a link.

The first argument is a mutable reference to the current Cursive instance. The second argument is the target of the link, typically a URL.