Hello
display->d_termname size is limited to 20 chars, sometimes it is not
enough (seeĀ bug #30880). Is there any particular reason to keep its
size the same, or is it possible to increase it to 21
("rxvt-unicode-256color" is the longest known for me)?

Trivial patch attached.

WBR,
Dmitry.
--- display.h.orig	2010-09-17 08:15:33.000000000 +0400
+++ display.h	2010-09-17 08:15:52.000000000 +0400
@@ -85,7 +85,7 @@
   struct win *d_other;		/* pointer to other window */
   int   d_nonblock;		/* -1 don't block if obufmax reached */
 				/* >0: block after nonblock secs */
-  char  d_termname[20 + 1];	/* $TERM */
+  char  d_termname[21 + 1];	/* $TERM */
   char	*d_tentry;		/* buffer for tgetstr */
   char	d_tcinited;		/* termcap inited flag */
   int	d_width, d_height;	/* width/height of the screen */

Reply via email to