Revision: 2658
http://tmux.svn.sourceforge.net/tmux/?rev=2658&view=rev
Author: nicm
Date: 2012-01-20 20:18:20 +0000 (Fri, 20 Jan 2012)
Log Message:
-----------
Set IUTF8 in termios where supported, suggested by Egmont Koblinger.
Modified Paths:
--------------
trunk/window.c
Modified: trunk/window.c
===================================================================
--- trunk/window.c 2012-01-03 18:36:40 UTC (rev 2657)
+++ trunk/window.c 2012-01-20 20:18:20 UTC (rev 2658)
@@ -681,6 +681,10 @@
if (tio != NULL)
memcpy(tio2.c_cc, tio->c_cc, sizeof tio2.c_cc);
tio2.c_cc[VERASE] = '\177';
+#ifdef IUTF8
+ if (options_get_number(&wp->window->options, "utf8"))
+ tio2.c_iflag |= IUTF8;
+#endif
if (tcsetattr(STDIN_FILENO, TCSANOW, &tio2) != 0)
fatal("tcgetattr failed");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs