Skip to content

Commit

Permalink
clipster
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradIrwin committed Nov 11, 2024
1 parent 64dc4e3 commit edafab6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/gpui/src/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ impl PlatformInputHandler {
.flatten()
}

#[allow(dead_code)]
fn apple_press_and_hold_enabled(&mut self) -> bool {
self.handler.apple_press_and_hold_enabled()
}
Expand Down Expand Up @@ -777,6 +778,7 @@ pub trait InputHandler: 'static {
/// sending these to the platform.
/// TODO: Ideally we should be able to set ApplePressAndHoldEnabled in NSUserDefaults
/// (which is how iTerm does it) but it doesn't seem to work for me.
#[allow(dead_code)]
fn apple_press_and_hold_enabled(&mut self) -> bool {
true
}
Expand Down

0 comments on commit edafab6

Please sign in to comment.