pull/13639/merge
Axlefublr 2025-06-16 12:49:31 -07:00 committed by GitHub
commit 6e94610fe7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -455,8 +455,8 @@ See the documentation page on [pickers](./pickers.md) for more info.
| `Tab`, `Down`, `Ctrl-n` | Next entry | | `Tab`, `Down`, `Ctrl-n` | Next entry |
| `PageUp`, `Ctrl-u` | Page up | | `PageUp`, `Ctrl-u` | Page up |
| `PageDown`, `Ctrl-d` | Page down | | `PageDown`, `Ctrl-d` | Page down |
| `Home` | Go to first entry | | `Ctrl-Home` | Go to first entry |
| `End` | Go to last entry | | `Ctrl-End` | Go to last entry |
| `Enter` | Open selected | | `Enter` | Open selected |
| `Alt-Enter` | Open selected in the background without closing the picker | | `Alt-Enter` | Open selected in the background without closing the picker |
| `Ctrl-s` | Open horizontally | | `Ctrl-s` | Open horizontally |

View File

@ -1062,10 +1062,10 @@ impl<I: 'static + Send + Sync, D: 'static + Send + Sync> Component for Picker<I,
key!(PageUp) | ctrl!('u') => { key!(PageUp) | ctrl!('u') => {
self.page_up(); self.page_up();
} }
key!(Home) => { ctrl!(Home) => {
self.to_start(); self.to_start();
} }
key!(End) => { ctrl!(End) => {
self.to_end(); self.to_end();
} }
key!(Esc) | ctrl!('c') => return close_fn(self), key!(Esc) | ctrl!('c') => return close_fn(self),