Skip to main content

pressed

Function pressed 

Source
fn pressed(note: &Note, is_video: impl Fn(&str) -> bool) -> Option<Pressed>
Expand description

What Space does to note. It is for the first thing the note links to that is not a picture, which is shown where it is and has no use for a key. A video is played, and so is a page that is_video says turned out to be one; anything else is opened in the browser, as a click on the link does. Nothing, of a note that links to nothing.