Page MenuHomePhabricator

Terminology 1.5.0 forgets it's focused after using escape code to change cursor shape
Closed, ResolvedPublic

Description

This only affects the first term in the process. If I open a second terminal (in a split), then that second terminal doesn't suffer from this behaviour (but the first term remains affected).

1.4.1 doesn't have this problem.

Minimal repro:

  • Run: terminology --hold -e "sleep 1; echo -ne '\e[6 q\e[2 q'"
  • In 1.5.0, after 1 second the cursor becomes unfocused (even though the term is still focused).
  • In 1.4.1, the cursor correctly remains focused.