We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58603f commit 29dde95Copy full SHA for 29dde95
internal/core/items/text.rs
@@ -1269,10 +1269,10 @@ impl core::convert::TryFrom<char> for TextCursorDirection {
1269
key_codes::DownArrow => Self::NextLine,
1270
key_codes::PageUp => Self::PageUp,
1271
key_codes::PageDown => Self::PageDown,
1272
- // On macos this scrolls to the top or the bottom of the page
1273
- #[cfg(not(target_os = "macos"))]
+ // On macOS and iOS this scrolls to the top or the bottom of the page
+ #[cfg(not(target_vendor = "apple"))]
1274
key_codes::Home => Self::StartOfLine,
1275
1276
key_codes::End => Self::EndOfLine,
1277
_ => return Err(()),
1278
})
0 commit comments