Repository navigation
Description
Describe the bug
When using the quick-access-terminal kitten on macOS (haven't tested on Linux) and assigning a keyboard shortcut, then pressing the shortcut will always open the terminal on the monitor where the terminal was first created, instead of the currently active monitor (i.e. the monitor with the currently focussed application). It would be very useful if the terminal opened on the current monitor, regardless of which monitor it was started on.
To Reproduce
Steps to reproduce the behavior:
- Make sure that the quick-access-terminal is not currently running
- Press the assigned qat shortcut while an application on monitor A is focussed
- Press the shortcut again to hide the terminal
- Switch to an application on monitor B
- Press the shortcut again
- See that the terminal appeared on monitor A
Environment details
kitty 0.42.2 (b1334fdc19) created by Kovid Goyal
Darwin FNRLL62W02 25.0.0 Darwin Kernel Version 25.0.0: Mon Aug 25 21:17:51 PDT 2025; root:xnu-12377.1.9~3/RELEASE_ARM64_T6020 arm64
ProductName: macOS ProductVersion: 26.0 BuildVersion: 25A354
OpenGL: '4.1 Metal - 90.5' Detected version: 4.1
Frozen: True
Fonts:
medium: Menlo-Regular: /System/Library/Fonts/Menlo.ttc
Features: ()
bold: Menlo-Bold: /System/Library/Fonts/Menlo.ttc
Features: ()
italic: Menlo-Italic: /System/Library/Fonts/Menlo.ttc
Features: ()
bi: Menlo-BoldItalic: /System/Library/Fonts/Menlo.ttc
Features: ()
Paths:
kitty: /Applications/kitty.app/Contents/MacOS/kitty
base dir: /Applications/kitty.app/Contents/Resources/kitty
extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
system shell: /bin/zsh
System color scheme: light. Applied color theme type: none
Loaded config files:
/Users/Jan.Larres/.config/kitty/kitty.conf
Config options different from defaults:
active_tab_font_style (False, False)
allow_remote_control socket
bell_on_tab !
cursor_trail 100
cursor_trail_decay (0.1, 0.2)
enable_audio_bell False
font_size 12.0
initial_window_height (600, 'px')
listen_on unix:${TMPDIR}/kitty
notify_on_cmd_finish NotifyOnCmdFinish(when='unfocused', duration=3.0, action='notify', cmdline=(), clear_on=('focus',))
paste_actions frozenset({'replace-dangerous-control-codes', 'replace-newline', 'confirm', 'confirm-if-large', 'quote-urls-at-prompt'})
scrollback_fill_enlarged_window True
scrollback_pager ['nvim', '-i', 'NONE', '-n', '--noplugin', '-u', '/Users/Jan.Larres/.config/kitty/init.vim', '-c', 'call cursor(max([0,INPUT_LINE_NUMBER-1])+CURSOR_LINE, CURSOR_COLUMN)']
scrollback_pager_history_size 10485760
shell_integration frozenset({'no-title'})
show_hyperlink_targets True
strip_trailing_spaces always
symbol_map:
U+23fb - U+23fe → Symbols Nerd Font Mono
U+2500 - U+259f → Symbols Nerd Font Mono # Box Drawing
U+2665 - U+2665 → Symbols Nerd Font Mono
U+26a1 - U+26a1 → Symbols Nerd Font Mono
U+276c - U+2771 → Symbols Nerd Font Mono # Heavy Angle Brackets
U+2b58 - U+2b58 → Symbols Nerd Font Mono
U+2e80 - U+2fdf → Noto Sans Mono CJK JP
U+3000 - U+312f → Noto Sans Mono CJK JP
U+31a0 - U+9fff → Noto Sans Mono CJK JP
U+e000 - U+e00a → Symbols Nerd Font Mono
U+e0a0 - U+e0a2 → Symbols Nerd Font Mono
U+e0a3 - U+e0a3 → Symbols Nerd Font Mono
U+e0b0 - U+e0b3 → Symbols Nerd Font Mono
U+e0b4 - U+e0c8 → Symbols Nerd Font Mono
U+e0ca - U+e0ca → Symbols Nerd Font Mono
U+e0cc - U+e0d7 → Symbols Nerd Font Mono
U+e200 - U+e2a9 → Symbols Nerd Font Mono
U+e300 - U+e3e3 → Symbols Nerd Font Mono
U+e5fa - U+e6b7 → Symbols Nerd Font Mono
U+e700 - U+e8ef → Symbols Nerd Font Mono
U+ea60 - U+ec1e → Symbols Nerd Font Mono
U+ed00 - U+f2ff → Symbols Nerd Font Mono
U+ee00 - U+ee0b → Symbols Nerd Font Mono # Progress
U+f102 - U+f102 → nonicons
U+f116 - U+f118 → nonicons
U+f12f - U+f12f → nonicons
U+f13e - U+f13e → nonicons
U+f1af - U+f1af → nonicons
U+f1bf - U+f1bf → nonicons
U+f1cf - U+f1cf → nonicons
U+f1ff - U+f1ff → nonicons
U+f20f - U+f20f → nonicons
U+f21f - U+f220 → nonicons
U+f22e - U+f22f → nonicons
U+f23f - U+f23f → nonicons
U+f24f - U+f24f → nonicons
U+f25f - U+f25f → nonicons
U+f300 - U+f381 → Symbols Nerd Font Mono
U+f400 - U+f533 → Symbols Nerd Font Mono
U+f900 - U+faff → Noto Sans Mono CJK JP
U+fe30 - U+fe4f → Noto Sans Mono CJK JP
U+ff00 - U+ffef → Noto Sans Mono CJK JP
U+20000 - U+323af → Noto Sans Mono CJK JP
U+f0001 - U+f1af0 → Symbols Nerd Font Mono
tab_activity_symbol ◉
tab_bar_align center
tab_bar_margin_width 10.0
tab_bar_style custom
tab_separator │
tab_title_template {fmt.fg._ef2929}{bell_symbol}{fmt.fg._8ae234}{activity_symbol}{fmt.fg.tab}{tab.last_focused_progress_percent}{title}
text_fg_override_threshold (2.0, 'ratio')
visual_bell_duration (0.1, kitty.options.utils.EasingFunction(), kitty.options.utils.EasingFunction())
wayland_enable_ime False
window_padding_width FloatEdges(left=10.0, top=10.0, right=10.0, bottom=10.0)
Added shortcuts:
ctrl+enter → send_text application \x1b[13;5u
ctrl+opt+r → kitten select_scrollback.py
kitty_mod+m > n → detach_tab ask, detach_tab
shift+opt+, → previous_tab
shift+opt+. → next_tab
Changed shortcuts:
cmd++ → change_font_size current +1.0
cmd+- → change_font_size current -1.0
cmd+0 → change_font_size current 0
cmd+= → change_font_size current +1.0
cmd+enter → new_window_with_cwd
cmd+k → clear_terminal_and_scrollback
cmd+t → new_tab_with_cwd
ctrl+cmd+, → reload_config
ctrl+cmd+l → clear_screen
kitty_mod++ → change_font_size current +1.0
kitty_mod+- → change_font_size current -1.0
kitty_mod+= → change_font_size current +1.0
kitty_mod+backspace → change_font_size current 0
kitty_mod+e → myhints --type url
kitty_mod+enter → new_window_with_cwd
kitty_mod+kp_add → change_font_size current +1.0
kitty_mod+kp_subtract → change_font_size current -1.0
kitty_mod+p > f → myhints --type hyperlink, myhints --type linenum, myhints --type hash --program -, myhints --type word --program -, myhints --type line --program -, myhints --type path, myhints --type path --program -
kitty_mod+t → new_tab_with_cwd
opt+cmd+k → clear_scrollback
opt+cmd+r → reset_terminal
shift+cmd+- → change_font_size current -1.0
shift+cmd+/ → open_kitty_website
shift+cmd+= → change_font_size current +1.0
Colors:
active_tab_background #00bcd4
active_tab_foreground #fafafa
background #fafafa
color1 #e53935
color10 #91b859
color11 #f6a434
color12 #6182b8
color13 #7c4dff
color14 #39adb5
color2 #91b859
color3 #f6a434
color4 #6182b8
color5 #7c4dff
color6 #39adb5
color7 #ffffff
color8 #90a4ae
color9 #e53935
cursor #f6a434
foreground #546e7a
inactive_tab_background #fafafa
inactive_tab_foreground #546e7a
selection_background #80cbc4
selection_foreground #546e7a
Important environment variables seen by the kitty process:
PATH /Applications/kitty.app/Contents/MacOS:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/bin:/bin:/usr/sbin:/sbin
LANG en_NZ.UTF-8
SHELL /bin/zsh
USER Jan.Larres
Additional context
Try to reproduce the problem with kitty --config NONE if you cannot then post a minimal kitty.conf that reproduces the problem. If the problem involves interaction with some other terminal program post a minimal config for that program to reproduce the problem as well.
Activity
lehmacdj commentedon Sep 21, 2025
See here: #8914 (reply in thread)
It always reopens on the same terminal it was last on unless you explicitly pass
--output. I was able to script around this using Hammerspoon fairly easily. Fortunately the situation on macOS is much better than the situation in Wayland where this is impossiblejanlarres commentedon Sep 21, 2025
Thanks for the pointer, I didn't find that discussion since I only searched in issues. Maybe I can get something like your Hammerspoon solution working in Aerospace as well.
macOS: When toggling in the quick access terminal move it to the curr…