Kovid Goyal
3c9d4dfb90
Fix designate_charset without change_charset not taking effect
2016-12-13 12:43:20 +05:30
Kovid Goyal
0797f159ad
Only move the cursor a line down on resize if the cursor line was split
2016-12-12 12:44:33 +05:30
Kovid Goyal
271e3360ff
Fix top lines appearing at bottom when resizing a screen that seen more lines than the number of lines available
2016-12-12 10:58:18 +05:30
Kovid Goyal
b6c639c487
Fix incorrect handling of trailing whitespace for lines in the history buffer when resizing
2016-12-11 14:48:00 +05:30
Kovid Goyal
ae3f555f51
HistoryBuf.as_ansi()
2016-12-09 19:39:20 +05:30
Kovid Goyal
471b36832e
...
2016-12-09 12:46:02 +05:30
Kovid Goyal
5a6ecbbf43
LineBuf.as_ansi()
2016-12-09 12:44:39 +05:30
Kovid Goyal
e3e3e86598
Code to get the ANSI representation of a line
2016-12-08 21:11:12 +05:30
Kovid Goyal
489504cda5
More charset fixes
...
Properly use the G0/G1 charsets only to map characters being drawn to
the screen. And only decode bytes using either Latin-1 or UTF-8,
defaulting to UTF-8 at startup/reset.
2016-11-30 23:36:10 +05:30
Kovid Goyal
b343625b9f
Add a simple test for SGR
2016-11-30 21:16:04 +05:30
Kovid Goyal
ce1514963b
Various charset related fixes
...
Fix changing of charset not taking effect immediately while parsing a
single block of bytes
Fix incorrect mapping of C0 control codes in some of the charsets
2016-11-30 19:44:41 +05:30
Kovid Goyal
c713712f89
Restore support for charsets other than UTF-8
2016-11-30 17:48:52 +05:30
Kovid Goyal
45a5190a0d
Handle CSI codes that start with a ;
2016-11-30 16:03:45 +05:30
Kovid Goyal
a095fffc67
Finish up the margins test
2016-11-30 15:12:00 +05:30
Kovid Goyal
2b39b3a053
Change tests now that we dont report ch number for simple commands
2016-11-30 15:06:17 +05:30
Kovid Goyal
95d3f20832
Do not ignore CUP when y is out of margins, instead clamp to margins
2016-11-30 14:58:34 +05:30
Kovid Goyal
f0b1af964b
Fix clearing of tab stops
2016-11-30 10:21:37 +05:30
Kovid Goyal
5b78769d28
Report unshifted mode numbers
2016-11-30 09:04:59 +05:30
Kovid Goyal
f9fa73cd43
...
2016-11-30 08:52:32 +05:30
Kovid Goyal
56cfc7df3b
Handle leading zeroes in CSI codes
2016-11-30 08:50:55 +05:30
Kovid Goyal
358b2bc5f1
Modify tests for SGR reporting
2016-11-30 08:15:40 +05:30
Kovid Goyal
4f5daa94d0
Clean up the mode handling code
2016-11-24 21:18:04 +05:30
Kovid Goyal
abd09464f0
Implement control code to change colors
2016-11-24 16:28:08 +05:30
Kovid Goyal
3031d41e72
Start work on supporting changing of entries in the color table
2016-11-24 15:28:52 +05:30
Kovid Goyal
9e0e757179
...
2016-11-24 13:48:13 +05:30
Kovid Goyal
41e583842e
Flush draw buf at end of each parse call
2016-11-24 13:43:28 +05:30
Kovid Goyal
2e3e6d331d
Parse DCS+q
2016-11-24 08:14:29 +05:30
Kovid Goyal
101afd5031
Switch title handling to use unicode
2016-11-23 20:28:30 +05:30
Kovid Goyal
91f80a3c85
Switch screen tests to use unicode directly
2016-11-23 20:26:29 +05:30
Kovid Goyal
2c3893d8a4
Port parsing of CSI codes
2016-11-23 20:23:37 +05:30
Kovid Goyal
ce8db74154
Port OSC parsing
2016-11-23 17:25:38 +05:30
Kovid Goyal
cdd58207a3
Start migrating the tests
2016-11-23 15:47:22 +05:30
Kovid Goyal
f14e7037e2
Start work on dumping non-UTF-8 charset support
2016-11-23 15:33:08 +05:30
Kovid Goyal
4b0e8fcb49
...
2016-11-23 11:11:23 +05:30
Kovid Goyal
3c8d2dce36
...
2016-11-21 10:25:53 +05:30
Kovid Goyal
5681138243
Fix scrollback_lines opt not being used
2016-11-21 09:07:52 +05:30
Kovid Goyal
7b1591113a
Basic tests for HistoryBuf.rewrap
2016-11-20 22:40:43 +05:30
Kovid Goyal
776224378d
Basic tests for HistoryBuf
2016-11-20 20:40:10 +05:30
Kovid Goyal
0b0a216856
Use HistoryBuf (still need to implement rewrap)
2016-11-20 20:20:14 +05:30
Kovid Goyal
42976b1048
Allow OSC codes that consist of only a numeric component
2016-11-19 13:48:49 +05:30
Kovid Goyal
6293b37ead
Fix no cursor position update after drawing small amounts of text
2016-11-18 16:46:04 +05:30
Kovid Goyal
14c6d327fd
Also output draw commands when dumping commands
2016-11-18 16:29:15 +05:30
Kovid Goyal
1426f87c99
...
2016-11-18 15:49:39 +05:30
Kovid Goyal
3ce2c0553f
Use the new native screen class
2016-11-18 15:30:59 +05:30
Kovid Goyal
a120b25286
Stub for DCS codes
2016-11-18 11:31:48 +05:30
Kovid Goyal
4ac03a0064
Implement parsing of OSC codes
2016-11-18 11:16:17 +05:30
Kovid Goyal
1edba3ce42
Implement DECSCUSR
2016-11-17 13:50:20 +05:30
Kovid Goyal
03fd30b4f4
Implement DECSTBM
2016-11-17 11:13:28 +05:30
Kovid Goyal
586304ad6c
Implement DSR
2016-11-17 10:59:15 +05:30
Kovid Goyal
f56da9392c
Implement SGR
2016-11-17 08:34:55 +05:30