version 1.220, 2017/01/11 16:09:57 |
version 1.221, 2017/01/11 22:36:07 |
|
|
if (mode & ALL_MOUSE_MODES) { |
if (mode & ALL_MOUSE_MODES) { |
/* |
/* |
* Enable the SGR (1006) extension unconditionally, as |
* Enable the SGR (1006) extension unconditionally, as |
* this is safe from misinterpretation. Do it in this |
* it is safe from misinterpretation. |
* order, because in some terminals it's the last one |
|
* that takes effect and SGR is the preferred one. |
|
*/ |
*/ |
tty_puts(tty, "\033[?1006h"); |
tty_puts(tty, "\033[?1006h"); |
if (mode & MODE_MOUSE_BUTTON) |
if (mode & MODE_MOUSE_BUTTON) |