edamagit
edamagit copied to clipboard
[Bug?] Status.magit window loses focus after commiting
Description
When a terminal window is open in VSCode, the status.magit
window switches focus to the terminal after committing. I guess this has to do with the commit window not switching focus back to the status.magit
window, but the terminal instead. Other commands may be affected as well.
I don't know if this is considered a bug or working as intended. It is just a minor inconvenience when staging/committing multiple changes, as you have to manally switch back to status.magit
every time.
Environment
Operatingsystem: Windows 10 (10.0.19042)
VSCode version: 1.63.2
edamagit version: 0.6.26
Relatedly — when status.magit
is the only window and the file explorer is open on the right — then after committing, the focus goes to the file explorer, rather than back to the editor.
For me, after committing the focus goes to an editor tab/group open to the right of the commit msg window -- Happened a couple of times already that I wrote P
in some source file, when I wanted to push a freshly-made commit, so it's definitely confusing/distracting.