Skip to content

Commit

Permalink
remove kitty as default for now
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Aug 27, 2024
1 parent 2d86ae5 commit 1b8d81d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions docs/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ language: 'en'

## Unreleased

<!-- - Fix: MacOS Delete key doesn't work in kitty mode [#513](https://github.com/raphamorim/rio/issues/513). -->
<!-- - Fix: Kitty keyboard protocol doesn't work with tmux [#599](https://github.com/raphamorim/rio/issues/599). -->
- `use-kitty-keyboard-protocol` is now `true` as default.

## Unreleased

- Refactor close logic on close tabs.
- Fix: NativeTab margin top when `hide-if-single` is true.
- Fix: Search bar width on 1.0 dpi screens.
- Fix: Windows - The behavior of using a complete shell command and a shell command with parameters is inconsistent [#533](https://github.com/raphamorim/rio/issues/533).
- X11: Replace libxcursor with custom cursor code.
- Fix: MacOS Delete key doesn't work in kitty mode [#513](https://github.com/raphamorim/rio/issues/513).
- Fix: Kitty keyboard protocol doesn't work with tmux [#599](https://github.com/raphamorim/rio/issues/599).
- Fix: Kitty keyboard protocol shifted key codes are reported in wrong order [#596](https://github.com/raphamorim/rio/issues/596).
- Fix: Mouse pointer hidden (Ubuntu Wayland) / Cursor icon not changing [#383](https://github.com/raphamorim/rio/issues/383).
- `use-kitty-keyboard-protocol` is now `true` as default.
- Enable search functionality as default on Linux.
- Enable search functionality as default on Microsoft Windows.
- Add command for closing all tabs except the current one (`CloseUnfocusedTabs`)
Expand Down
6 changes: 3 additions & 3 deletions rio-backend/src/config/keyboard.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use serde::{Deserialize, Serialize};

use super::defaults::{default_bool_true, default_disable_ctlseqs_alt};
use super::defaults::default_disable_ctlseqs_alt;

#[derive(Debug, Serialize, Deserialize, PartialEq, Clone, Copy)]
pub struct Keyboard {
// Enable kitty keyboard protocol
#[serde(default = "default_bool_true", rename = "use-kitty-keyboard-protocol")]
#[serde(default = "bool::default", rename = "use-kitty-keyboard-protocol")]
pub use_kitty_keyboard_protocol: bool,
// Disable ctlseqs with ALT keys
// For example: Terminal.app does not deal with ctlseqs with ALT keys
Expand All @@ -20,7 +20,7 @@ pub struct Keyboard {
impl Default for Keyboard {
fn default() -> Keyboard {
Keyboard {
use_kitty_keyboard_protocol: true,
use_kitty_keyboard_protocol: false,
#[cfg(target_os = "macos")]
disable_ctlseqs_alt: true,
#[cfg(not(target_os = "macos"))]
Expand Down

0 comments on commit 1b8d81d

Please sign in to comment.