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
@@ -16,6 +16,7 @@ use crate::{
|
||||
blur::Blur,
|
||||
files::Files,
|
||||
git::panel::{Acted, GitPanel},
|
||||
menus,
|
||||
sessions::{self, Session},
|
||||
settings::{PanelTab, Settings, SettingsStore, StartIn},
|
||||
term::{
|
||||
@@ -404,6 +405,7 @@ impl Render for Workspace {
|
||||
div()
|
||||
.size_full()
|
||||
.key_context(CONTEXT)
|
||||
.map(menus::window_actions)
|
||||
.on_action(cx.listener(|this, _: &ToggleSessions, _, cx| {
|
||||
this.toggle(
|
||||
|settings| settings.show_sessions = !settings.show_sessions,
|
||||
|
||||
Reference in new issue
Block a user