chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cdf3dc2
)
*** empty log message ***
author
james
<james>
Fri, 29 Feb 2008 18:33:39 +0000
(18:33 +0000)
committer
james
<james>
Fri, 29 Feb 2008 18:33:39 +0000
(18:33 +0000)
src/vt102.c
patch
|
blob
|
history
diff --git
a/src/vt102.c
b/src/vt102.c
index 74888035be62746b0bd559c00299c755b96f37b1..5c360aca51d186a155281d794457f6a79d95f105 100644
(file)
--- a/
src/vt102.c
+++ b/
src/vt102.c
@@
-10,6
+10,9
@@
static char rcsid[] = "$Id$";
/*
* $Log$
/*
* $Log$
+ * Revision 1.53 2008/02/29 18:33:39 james
+ * *** empty log message ***
+ *
* Revision 1.52 2008/02/28 16:57:52 james
* *** empty log message ***
*
* Revision 1.52 2008/02/28 16:57:52 james
* *** empty log message ***
*
@@
-1302,7
+1305,10
@@
vt102_parse_csi (Context * c, char *buf, int len)
vt102_regular_char (c, v, v->last_reg_char);
break;
case 'c':
vt102_regular_char (c, v, v->last_reg_char);
break;
case 'c':
- vt102_send_id (c, "\033[?2c");
+ /* For some obscure reason some programs seem to send */
+ /* CSI [ ? .. c, which we ignore */
+ if (buf[1]!='?')
+ vt102_send_id (c, "\033[?2c");
break;
case 'd':
vt102_cursor_absolute (v, v->pos.x, narg - 1);
break;
case 'd':
vt102_cursor_absolute (v, v->pos.x, narg - 1);