Skip to content

WSLbridge=2 cause focus tracking being on by default #373

@xuefer

Description

@xuefer

i've switch back to WSLbridge=2 (from WSLbridge=0), since it was making new problem(s) more than it solve
set WSLbridge=2 in config, get in shell, exec cat, do focus switching back and forth

$ cat
^[[O^[[I^[[O^[[I (unexpected)

$ vim
i
ctrl+v (now alt+tab do focus switch out)
^[[O (expected)
$ cat
(no more, which is expected)

1004 focus tracking is expected to be off by default, as in WSLbridge=0 mode.
SuppressDEC=1004 is a bad workaround since it maybe useful in apps like vim.
printf '\e[?1004l' in .zshrc or .bash_profile is a good workaround, however i'd suggest that whatever code that make it on by default should be fixed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions