Skip to content

Commit

Permalink
Merge branch 'main' into fix/better-handling-of-escape-and-enter-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim authored Jan 21, 2025
2 parents 79a9eba + cb59e75 commit c0ebe4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ language: 'en'
- OSC 1337 Escape sequences to set user vars for tracking additional shell state.
- Fix: Block writing to the shell when rendering the `Assistant` route.
- Fix: Immediately render the `Terminal` route when switching from the `Assistant`, `ConfirmToQuit` or `Welcome`, thus avoiding the need to double press `Enter`.
- Property `option-as-alt` is now default for `both` on MacOS.

## 0.2.4

Expand Down
6 changes: 5 additions & 1 deletion rio-backend/src/config/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ pub fn default_opacity() -> f32 {

#[inline]
pub fn default_option_as_alt() -> String {
String::from("None")
if cfg!(target_os = "macos") {
return String::from("both");
} else {
return String::from("none");
}
}

#[inline]
Expand Down

0 comments on commit c0ebe4e

Please sign in to comment.