We have two different ways to compose: * Via xkbd * Via IME messages In the latter case, we receive notifications from the IME about the composed text, but are apparently not guaranteed to receive them about the composition status overall. This commit will synthesize clearing the composition status when we receive the instruction to emit composed text. The hope is that this will clear the compose cursor state that appears to get stuck for some users of ibus + Gnome 45. refs: https://github.com/wez/wezterm/issues/4841