T08: keys: xterm and kitty encoding, Option as Alt by side, IME composition at the cursor; shot types real AppKit keys
This commit is contained in:
15 files changed
+1949
-28
No files matched your search
+6
-1
@@ -7,9 +7,11 @@ use gpui::{
|
||||
Render, Styled, TitlebarOptions, Window, WindowBounds, WindowHandle, WindowOptions, px, size,
|
||||
};
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
use crate::term::mac;
|
||||
use crate::{
|
||||
settings::SettingsStore,
|
||||
term::{ICONS, Launch, MONO, TerminalView, config, shell::ShellIntegration, spawn},
|
||||
term::{ICONS, Launch, MONO, TerminalView, config, input, shell::ShellIntegration, spawn},
|
||||
themes,
|
||||
};
|
||||
|
||||
@@ -52,6 +54,9 @@ pub fn start(cx: &mut App) -> anyhow::Result<()> {
|
||||
}
|
||||
SettingsStore::init(cx)?;
|
||||
ShellIntegration::init(cx)?;
|
||||
input::bind_keys(cx);
|
||||
#[cfg(target_os = "macos")]
|
||||
mac::repeat_held_keys();
|
||||
let family = &SettingsStore::get(cx).font_family;
|
||||
anyhow::ensure!(
|
||||
cx.text_system().all_font_names().contains(family),
|
||||
|
||||
Reference in new issue
Block a user