[803] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r804 - branches/barnowl_unicode/owl

daemon@ATHENA.MIT.EDU (asedeno@MIT.EDU)
Thu Oct 29 18:09:53 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: asedeno@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Tue,  8 Jan 2008 00:31:31 -0500 (EST)

Author: asedeno
Date: 2008-01-08 00:31:31 -0500 (Tue, 08 Jan 2008)
New Revision: 804

Modified:
   branches/barnowl_unicode/owl/owl.c
Log:
unicode/glib branch
* ignore KEY_RESIZE if we know what that is. We don't need an
unhandled keypress every time we resize the terminal.


Modified: branches/barnowl_unicode/owl/owl.c
===================================================================
--- branches/barnowl_unicode/owl/owl.c	2008-01-08 05:12:17 UTC (rev 803)
+++ branches/barnowl_unicode/owl/owl.c	2008-01-08 05:31:31 UTC (rev 804)
@@ -546,7 +546,11 @@
      * little bit, but otherwise do not.  This lets input be grabbed
      * as quickly as possbile */
     j=wgetch(typwin);
-    if (j==ERR) {
+    if (j == ERR
+#ifdef KEY_RESIZE
+	|| j == KEY_RESIZE
+#endif
+	 ) {
       usleep(10000);
     } else {
       /* Pull in a full utf-8 character. */


home help back first fref pref prev next nref lref last post