show: plain Enter runs Go to typed slide once, through the window's leftover Enter, also with the slide focused

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Dylan M. Taylor
2026-11-27 20:54:14 +00:00
co-authored by Claude Opus 5.5
parent 3b3094e15f
commit 481d531fe4
+3 -2
View File
@@ -29,8 +29,9 @@ pub(crate) enum ShowCommands {
/// Visit the last slide in the show's range.
#[command(label = "Last slide", default = "End")]
Last,
/// Consume a slide number, or advance when none was typed.
#[command(label = "Go to typed slide", default = "Enter")]
/// Consume a slide number, or advance when none was typed. Plain Enter is the window's, not a shortcut: the page
/// runs this for the Enter that no component took, the focused canvas's included.
#[command(label = "Go to typed slide")]
GoToTyped,
/// Erase a digit, or go back when none was typed.
#[command(label = "Erase typed digit", default = "Backspace")]