Skip to content

Focus Follows Mouse

Focus of the Terminal windows when the mouse cursor hovers over them. The focus change only works between the Terminal windows.

  • Tested on macOS:
    • Sonoma
    • Ventura
    • Monterey
  • Parameter type: bool

Set to false (default value)

By default, to switch between Terminal windows you should click on it or press on cmd + `.

defaults write "FocusFollowsMouse" -bool "false" && killall Terminal

Set to true

Focus follows the mouse cursor to any Terminal windows.

defaults write "FocusFollowsMouse" -bool "true" && killall Terminal

Read current value

defaults read "FocusFollowsMouse"

Reset to default value

defaults delete "FocusFollowsMouse" && killall Terminal