Commit Graph

20 Commits

Author SHA1 Message Date
6674197e85 Fix bold/non-bold mismatch in 256 colour mode by adding an extra 8 bits (ick) onto the attributes and using two of them to mark the fg and bg as 256 colours when necessary. If only it was 255 colours we would have one value for default and wouln't need this :-/. 2008-09-08 22:03:56 +00:00
4235ddb4e8 Initial 256 colour support, lightly tested. 2008-09-08 17:40:51 +00:00
3337dfcae5 Support keypad mode, and get rid of SCREEN_DEF*. Meant to commit these separately but forgot :-/. 2008-07-24 21:42:40 +00:00
99df48d70f Trimify. 2008-06-18 22:21:51 +00:00
7842d29673 Revert attempt to fix stray updates, turns out it was clock :-/. 2008-06-04 19:20:10 +00:00
39be570b20 vi keys from Will Maier. 2008-06-04 18:50:35 +00:00
e215e177df Filling with the right attr should be done in screen-display.c. 2007-12-06 22:13:14 +00:00
21d10e6894 Use the current attr/colours for filling in new areas, this fixes the echo \\033[35\;46m\\033[2J bug. 2007-12-06 21:57:57 +00:00
8ec9b07c83 Screen debugging. 2007-12-06 10:36:01 +00:00
4f44b09195 Redraw buglets. 2007-12-06 10:16:36 +00:00
103748d6ad Major reorganisation of screen handling. 2007-12-06 09:46:23 +00:00
97eca99d0b Code tidying. 2007-11-26 22:22:18 +00:00
c5b1fa9411 Shift history up by 10% at a time. 2007-11-26 22:18:57 +00:00
43a05b1884 Better fix, handle delete-last-line properly. 2007-11-24 13:26:42 +00:00
4e21786eef Don't crash when deleting lines at the end, fixes irssi. 2007-11-24 12:33:56 +00:00
c64cf68244 Cut memory consumption by only allocating lines when there is actually data on them, and only as much as the right-most data. Everything else is filled in at runtime. 2007-11-21 22:20:44 +00:00
1e5cb8d2e4 Free entire screen when destroyed. 2007-11-21 21:28:58 +00:00
d5edaf988e Horizontal history/scrolling. 2007-11-21 15:35:53 +00:00
9a6e47cfa8 Initial history support. 2007-11-21 13:11:41 +00:00
ceab127fac Mass screen.c rename/tidy. Add a actual size (ysize) as distinct from display size (now dx,dy). Move functions which work on the displayed area into screen-display.c and tidy. Use macros consistently when accessing screen data (may want to move everything about again later!). This the first step on the road to scrollback. 2007-11-20 21:42:29 +00:00