composingdeadkey
Composingdeadkey refers to the mechanism by which a dead key participates in a character composition sequence to produce a single, typically accented, character. A dead key does not produce a character by itself; instead it sets a composition mode so that the next keystroke combines with the dead key to form a diacritic-bearing character. The concept is central to many keyboard layouts and input methods that support international text entry.
In practice, composing dead keys work by entering a base character together with a diacritical modifier. For
Differences across platforms exist. Some systems use dead keys as a distinct state in the keyboard driver,
Implementation notes commonly involve maintaining a small state machine that remembers the active dead key and