chjj/tty.js — Issue #7: utf8 xterm extended mouse events
Author: chjj
Created: 2012-02-20 05:15:46+00:00
State: open

xterm mouse events are pretty esoteric. The non-utf8 mouse events seem to be working perfectly right now. In xterm, utf8 events seem to be activated regardless of whether `^[[?1005h` is set in xterm, but according to the xterm code, utf8 mouse coordinates should only be allowed if `CSI ? 1005 h` has been set. It could be that CSI ? 1002 h and CSI ? 1003 h implicitly activate utf8 mouse events. The xterm documentation doesn't cover this too thoroughly.

It all seems strange, and it's awkward to work with since javascript abstracts away encodings while using utf16. These ultimately need to be implemented.