EDIT: wish I had known gbdfed earlier.
EDIT²: but wait, the M and the W are really erring on the atomic triangle these are 7x7 and should be 8x8.
And now that the lower case is over
...What about interpreting Terminal ESC sequences ...BTW, for which terminal? ANSI?