Skip to content

Instantly share code, notes, and snippets.

@yoshikaw
yoshikaw / config.log
Created April 23, 2014 22:20 — forked from saitoha/config.log
mlterm config.log on OS X 10.9 environment
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --with-type-engines=cairo
## --------- ##
## Platform. ##
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --with-type-engines=cairo
## --------- ##
## Platform. ##
diff --git a/src/ansi.c b/src/ansi.c
index d88e153..fc42a0a 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -1493,8 +1493,24 @@ int c;
{
if (curr->w_stringp >= curr->w_string + MAXSTR - 1)
curr->w_state = LIT;
+# ifdef UTF8
+ else if (c < 0x80)
@yoshikaw
yoshikaw / screen-sgr-mouse-after-bpm-cursorstyle.diff
Last active December 13, 2015 20:38 — forked from saitoha/screen-sgr-mouse.diff
Support SGR 1006 mouse reporting, for GNU Screen 4.1 after add Bracketed Paste Mode and DECSCUSR support https://gist.github.com/saitoha/2977889
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -195,6 +195,7 @@ register struct win *p;
p->w_mouse = 0;
p->w_bracketed = 0;
p->w_cursorstyle = 0;
+ p->w_mouse_protocol = 0;
p->w_curinv = 0;
p->w_curvvis = 0;
p->w_autolf = 0;