T22: the macOS menu bar holds the PRD's menus, each item showing its key; Quit, Select All, Bigger, Smaller, Reset Size and Minimize take Ghostty's keys, Ctrl-Shift off macOS where Ctrl with a letter types a control byte; the font's size moves for every session, unsaved; Select All runs from the first character in the history to the last, as Ghostty's; shot lists the menus and says whether the app was active at each key
This commit is contained in:
15 files changed
+770
-495
No files matched your search
@@ -13,11 +13,11 @@ use gpui::{
|
||||
App, AppContext, Bounds, Context, Entity, FocusHandle, InteractiveElement, IntoElement,
|
||||
KeyBinding, ParentElement, Render, SharedString, StatefulInteractiveElement, Styled,
|
||||
Subscription, Task, TitlebarOptions, Window, WindowBounds, WindowDecorations, WindowOptions,
|
||||
actions, div, px, size,
|
||||
actions, div, prelude::FluentBuilder, px, size,
|
||||
};
|
||||
|
||||
use super::{Settings, SettingsStore, StartIn};
|
||||
use crate::term::BLINK;
|
||||
use crate::{menus, term::BLINK};
|
||||
|
||||
mod appearance;
|
||||
mod terminal;
|
||||
@@ -325,6 +325,7 @@ impl Render for SettingsWindow {
|
||||
div()
|
||||
.size_full()
|
||||
.key_context(CONTEXT)
|
||||
.map(menus::window_actions)
|
||||
.on_action(|_: &CloseSettings, window, _| {
|
||||
log::info!("settings: the window closes");
|
||||
window.remove_window();
|
||||
|
||||
Reference in new issue
Block a user