542 Commits

Author SHA1 Message Date
Kovid Goyal
ce8db74154 Port OSC parsing 2016-11-23 17:25:38 +05:30
Kovid Goyal
f14e7037e2 Start work on dumping non-UTF-8 charset support 2016-11-23 15:33:08 +05:30
Kovid Goyal
a0df10d0c2 Start work on handling DCS 2016-11-23 11:08:35 +05:30
Kovid Goyal
aca53d4e2b Rendering of underline/strikethrough 2016-11-23 09:01:07 +05:30
Kovid Goyal
b426210e38 Implement keyboard shortcuts for scrolling 2016-11-21 20:48:51 +05:30
Kovid Goyal
992aaf96d5 Show a wide cursor when over a wide character 2016-11-21 14:30:08 +05:30
Kovid Goyal
b8a613f736 ... 2016-11-21 11:01:35 +05:30
Kovid Goyal
f8403d4dec Fix screen being deleted on resize
Also fix crash when resizing the altbuf
2016-11-21 09:34:16 +05:30
Kovid Goyal
5681138243 Fix scrollback_lines opt not being used 2016-11-21 09:07:52 +05:30
Kovid Goyal
05c6e7733c Wire up historybuf_rewrap 2016-11-20 22:27:01 +05:30
Kovid Goyal
0b0a216856 Use HistoryBuf (still need to implement rewrap) 2016-11-20 20:20:14 +05:30
Kovid Goyal
222911874d Fix index() not working when page margins defined 2016-11-20 18:04:56 +05:30
Kovid Goyal
5636971999 ... 2016-11-20 14:11:46 +05:30
Kovid Goyal
e3bbb7a3c9 Move savepoints functions into screen.c 2016-11-20 14:11:07 +05:30
Kovid Goyal
46ec0d4e9c Simplify SavepointBuffer implementation 2016-11-20 14:03:28 +05:30
Kovid Goyal
12c19d3db1 ... 2016-11-19 13:55:49 +05:30
Kovid Goyal
b38055b912 Ensure charsets are always valid 2016-11-19 13:13:36 +05:30
Kovid Goyal
04d8e8f619 Implement OSC codes to change foreground and background colors 2016-11-19 12:50:50 +05:30
Kovid Goyal
0ccdebe7f0 ... 2016-11-19 11:44:53 +05:30
Kovid Goyal
e3b9bfd4bb Use a circular buffer for the savepoints
Avoids mallocs during normal operation.
2016-11-19 11:03:21 +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
3ce2c0553f Use the new native screen class 2016-11-18 15:30:59 +05:30
Kovid Goyal
6c39b07552 Implement Screen.resize 2016-11-18 12:38:31 +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
4624525419 Use unsigned int for cursor pos 2016-11-17 08:56:26 +05:30
Kovid Goyal
f56da9392c Implement SGR 2016-11-17 08:34:55 +05:30
Kovid Goyal
f5fa40de81 More CSI handlers 2016-11-16 20:19:31 +05:30
Kovid Goyal
745ba5c4cb Allow parameter less CSI sequences 2016-11-16 19:53:38 +05:30
Kovid Goyal
5208500eb9 Implement basic ESC code handling 2016-11-16 09:07:15 +05:30
Kovid Goyal
5069b50fb2 Add simple parsing tests 2016-11-14 20:10:01 +05:30
Kovid Goyal
3e3f140452 Fill in a few blanks 2016-11-13 22:33:58 +05:30
Kovid Goyal
a734fb79e6 All screen tests pass with the new screen code 2016-11-13 22:23:28 +05:30
Kovid Goyal
bfaaf41a9f ... 2016-11-13 17:01:45 +05:30
Kovid Goyal
fa106c2585 More work on migrating Screen 2016-11-13 16:51:14 +05:30
Kovid Goyal
3c73da224a Ignore errors when creating savepoints as the overhead fo tracking them was too high 2016-11-13 14:16:56 +05:30
Kovid Goyal
9a7b4263e0 More work on the screen replacement
The first set of tests now pass
2016-11-13 14:10:57 +05:30
Kovid Goyal
fab2213c25 More work on native streams 2016-11-13 10:24:00 +05:30
Kovid Goyal
62fc6cc4a0 Get it compiling again 2016-11-12 17:35:24 +05:30
Kovid Goyal
2c0523246d More work on making Screen native 2016-11-12 13:52:18 +05:30