[][src]Type Definition cursive_markup::LinkCallback

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

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.