Closed GoogleCodeExporter closed 9 years ago
我也發現一樣的問題 提供了patch來修正 測試過是正常的
--- ansiparser.js (revision 40)
+++ ansiparser.js (working copy)
@@ -122,6 +122,10 @@
case STATE_ESC:
if(ch == '[')
this.state=STATE_CSI;
+ else if(ch == 'D')
+ term.scroll(false, 1)
+ else if(ch == 'M')
+ term.scroll(true, 1)
else
this.state=STATE_C1;
break;
Original comment by andy...@gmail.com
on 4 Aug 2010 at 7:35
Attachments:
謝謝,不過這個部分應該要寫在 STATE_C1 裡面
case STATE_C1:
this.esc += ch;
dump('C1 CONTROL CHAR IS FOUND' + this.esc + '\n');
this.esc='';
this.state=STATE_TEXT;
break;
ESC + 其他字母是屬於 C1
Original comment by pcman...@gmail.com
on 31 Aug 2010 at 2:46
fixed
Original comment by pcman...@gmail.com
on 7 Sep 2010 at 2:43
Original issue reported on code.google.com by
kanandg1
on 20 Dec 2009 at 6:36