Linux parity: P2 adapted
Returns live information about the Linux input-method framework and committed-text listener.
Status := ImeStatus()
Returns an object with the following own properties:
"ibus", "fcitx5" or "none"."libpinyin"."eavesdrop" when cross-context signals are observable, "state-only" when only framework state is available, or "none".Physical keyboard events continue to drive InputHook key options and EndKeys. With a composing engine, physical OnChar candidates are held for at most 500 ms to resolve the cross-bus preedit race. During preedit, the trailing phonetic token and queued candidates are removed from the Hotstring/InputHook character stream and collection is frozen. A 200 ms tail window absorbs commit/cancel keys when the IME and physical streams arrive in opposite order. Canceling composition leaves the buffer unchanged. Only the framework's committed text is appended, sent to InputHook OnChar, and reported as normalized IME_COMMIT events.
s := ImeStatus() ToolTip s.Framework " / " s.Engine " / preedit=" s.Preedit ; Result: ibus / libpinyin / preedit=0