WIP
This commit is contained in:
parent
e08f1690b3
commit
bb584cc7c4
6 changed files with 82 additions and 70 deletions
|
@ -32,7 +32,9 @@ pub struct CommandPalette {
|
|||
|
||||
impl CommandPalette {
|
||||
fn register(workspace: &mut Workspace, _: &mut ViewContext<Workspace>) {
|
||||
dbg!("registering command palette toggle");
|
||||
workspace.register_action(|workspace, _: &Toggle, cx| {
|
||||
dbg!("got cmd-shift-p");
|
||||
let Some(previous_focus_handle) = cx.focused() else {
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue