Axlefublr 2025-06-16 10:17:25 -05:00 committed by GitHub
commit a10e0a9152
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 |
| `PageUp`, `Ctrl-u` | Page up |
| `PageDown`, `Ctrl-d` | Page down |
| `Home` | Go to first entry |
| `End` | Go to last entry |
| `Ctrl-Home` | Go to first entry |
| `Ctrl-End` | Go to last entry |
| `Enter` | Open selected |
| `Alt-Enter` | Open selected in the background without closing the picker |
| `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') => {
self.page_up();
}
key!(Home) => {
ctrl!(Home) => {
self.to_start();
}
key!(End) => {
ctrl!(End) => {
self.to_end();
}
key!(Esc) | ctrl!('c') => return close_fn(self),