diff --git a/config/src/config.rs b/config/src/config.rs
index 7fdc8ea8a..e77e35fd5 100644
--- a/config/src/config.rs
+++ b/config/src/config.rs
@@ -117,6 +117,15 @@ pub struct Config {
#[dynamic(default = "default_char_select_font_size")]
pub char_select_font_size: f64,
+ #[dynamic(default = "default_command_palette_font_size")]
+ pub command_palette_font_size: f64,
+
+ #[dynamic(default = "default_command_palette_fg_color")]
+ pub command_palette_fg_color: RgbaColor,
+
+ #[dynamic(default = "default_command_palette_bg_color")]
+ pub command_palette_bg_color: RgbaColor,
+
#[dynamic(default = "default_pane_select_font_size")]
pub pane_select_font_size: f64,
@@ -1332,6 +1341,18 @@ fn default_char_select_font_size() -> f64 {
18.0
}
+fn default_command_palette_font_size() -> f64 {
+ 12.0
+}
+
+fn default_command_palette_fg_color() -> RgbaColor {
+ SrgbaTuple(0.75, 0.75, 0.75, 1.0).into()
+}
+
+fn default_command_palette_bg_color() -> RgbaColor {
+ (0x33, 0x33, 0x33).into()
+}
+
fn default_swallow_mouse_click_on_window_focus() -> bool {
cfg!(target_os = "macos")
}
diff --git a/config/src/keyassignment.rs b/config/src/keyassignment.rs
index 65f1332e4..e914e494d 100644
--- a/config/src/keyassignment.rs
+++ b/config/src/keyassignment.rs
@@ -533,6 +533,7 @@ pub enum KeyAssignment {
ResetTerminal,
OpenUri(String),
+ ActivateCommandPalette,
}
impl_lua_conversion_dynamic!(KeyAssignment);
diff --git a/docs/changelog.md b/docs/changelog.md
index 4b29a3ea7..5b2e5bc52 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -27,6 +27,8 @@ As features stabilize some brief notes about them will accumulate here.
[#2819](https://github.com/wez/wezterm/issues/2819)
#### Changed
+* `CTRL-SHIFT-P` now activates the new command palette, instead of `PaneSelect`
+ [#1485](https://github.com/wez/wezterm/issues/1485)
* Window title reporting escape sequences are now disabled by default.
[See here for more details](https://marc.info/?l=bugtraq&m=104612710031920&w=2)
* Withdraw DEC private SGR escapes that affect superscript and
diff --git a/wezterm-font/src/lib.rs b/wezterm-font/src/lib.rs
index 9bdb4120f..0d4feaed6 100644
--- a/wezterm-font/src/lib.rs
+++ b/wezterm-font/src/lib.rs
@@ -459,6 +459,7 @@ struct FontConfigInner {
title_font: RefCell