MacOS: window specific keyboard layout
Is there a way to set up keyboard layouts preferences to have a separate layout for each window?
Native MacOS way is preferable then 3rd party app.
Scenario:
I use two keyboard layouts: English and non-English.
I often open terminal, where I use English layout.
And I often chat in iMessages using my native language.
I am tired of switching global keyboard layout back and forth.
I would like MacOS to remember, which layout was last-used in each window.
I there a way to set it up?
I use M1 air on Monterey MacOS version.
MacBook Air (2020 or later)