Commit Graph

762 Commits

Author SHA1 Message Date
Nicholas Marriott
cf092dc27f This breaks mutt. 2008-11-04 20:06:48 +00:00
Nicholas Marriott
25975cf5ae Alternative charset commands. 2008-11-04 19:28:58 +00:00
Nicholas Marriott
08e615a03a Don't die if tcsetattr fails; fixes problems with cwm. 2008-10-27 20:13:37 +00:00
Nicholas Marriott
93de57d83f Sync. 2008-10-22 17:28:22 +00:00
Nicholas Marriott
2aeb08a54b I don't like this... 2008-10-09 22:03:36 +00:00
Nicholas Marriott
0ba0fd389c Translate 256 colours to 16. 2008-10-09 22:00:33 +00:00
Nicholas Marriott
185f7297e8 Better OSC support for title setting, and support APC as well. 2008-10-09 21:22:16 +00:00
Nicholas Marriott
23e7da1ccb Clear correct range. 2008-10-09 05:31:04 +00:00
Nicholas Marriott
b0d8393c05 Clear status bar cell. 2008-09-29 17:47:12 +00:00
Nicholas Marriott
c2a5ffa6a4 Shut gcc up. 2008-09-29 16:59:47 +00:00
Nicholas Marriott
9d6827ebb2 UINT_MAX. 2008-09-29 16:58:02 +00:00
Nicholas Marriott
8132b4d092 Handle NULL properly. 2008-09-29 16:36:56 +00:00
Nicholas Marriott
9e57336786 Style tweaks. 2008-09-29 16:03:27 +00:00
Nicholas Marriott
631a45ecb5 Calculate y properly. 2008-09-28 20:34:22 +00:00
Nicholas Marriott
22ef1a1379 SGR should not reset charset... don't know how this worked before... 2008-09-26 07:41:01 +00:00
Nicholas Marriott
93aa3f3c21 Make RIS also reset scroll region. 2008-09-26 07:34:12 +00:00
Nicholas Marriott
2a5d09f2f5 Don't scroll screen when redrawing it. 2008-09-26 07:23:21 +00:00
Nicholas Marriott
62457bce0b Trim. 2008-09-26 06:45:28 +00:00
Nicholas Marriott
df2b3bcf44 Fix stupid GNU getopt behaviour. 2008-09-25 23:28:15 +00:00
Nicholas Marriott
44b368e220 time.h 2008-09-25 20:33:53 +00:00
Nicholas Marriott
48182243b7 Done. 2008-09-25 20:10:19 +00:00
Nicholas Marriott
efe557313a Internal screen data rewrite for better 256 colour/UTF-8 support. 2008-09-25 20:08:57 +00:00
Nicholas Marriott
9edb4d4b85 Don't die on empty output strings, some terminfo entries have empty caps. 2008-09-23 17:54:35 +00:00
Nicholas Marriott
f07cedf048 Rename some functions. 2008-09-10 19:15:06 +00:00
Nicholas Marriott
ded348064a Split colour functions from screen. 2008-09-10 18:59:29 +00:00
Nicholas Marriott
19a2c87f04 Initial UTF-8 support. 2008-09-09 22:16:37 +00:00
Nicholas Marriott
1e145a639b Unbreak 256 colours when commands are combined. 2008-09-09 17:35:04 +00:00
Nicholas Marriott
d4173e2a78 Style tweaks. 2008-09-08 22:18:03 +00:00
Nicholas Marriott
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
Nicholas Marriott
cecd7c0cc8 Comments. 2008-09-08 21:05:41 +00:00
Nicholas Marriott
affc3c95c3 Get defaults the right way round. 2008-09-08 21:04:59 +00:00
Nicholas Marriott
0ba3bab997 Get the colours right. 2008-09-08 20:51:19 +00:00
Nicholas Marriott
4235ddb4e8 Initial 256 colour support, lightly tested. 2008-09-08 17:40:51 +00:00
Nicholas Marriott
33aa931541 Support OS X by moving to gettimeofday(2) and adding poll compat from OpenSSH. 2008-08-28 17:45:30 +00:00
Nicholas Marriott
0abb4ca413 Also done. 2008-08-08 17:36:58 +00:00
Nicholas Marriott
b43ed100c2 Done. 2008-08-08 17:36:30 +00:00
Nicholas Marriott
8ed403e309 Tidy logging and lose stdout hacks for _info. 2008-08-08 17:35:42 +00:00
Nicholas Marriott
de0e1c6284 Lose ensure* stuff. 2008-08-07 20:20:52 +00:00
Nicholas Marriott
65833c2976 This order is required for -static. 2008-08-07 05:15:21 +00:00
Nicholas Marriott
3a6e41c5cb Comment tweak. 2008-08-01 20:25:13 +00:00
Nicholas Marriott
1b2cf86182 == 0 not == NULL 2008-07-25 17:29:40 +00:00
Nicholas Marriott
ba597da72e Environment variables in configuration file. 2008-07-25 17:20:40 +00:00
Nicholas Marriott
546838ee65 This idea (nested sessions) is fraught with too many problems to do it sanely;
for example, in order not to be annoying, previous-window would have to work
as expected (jump back to previous session) but what if you enter the same
session from different parent sessions? What is the previous window? It
would have to be tied to the client. There are other issues as well, and I
don't see it as terribly useful (you can bind a switch-client command to any
key anyway), so it is off the list.
2008-07-25 06:56:16 +00:00
Nicholas Marriott
c39c1618c7 Spacing. 2008-07-24 22:21:28 +00:00
Nicholas Marriott
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
Nicholas Marriott
815b217482 These flags are off by default. 2008-07-24 07:01:57 +00:00
Nicholas Marriott
ee8a9d2458 Handle kcursor+kkeypad (switch to OA from [A). 2008-07-24 00:03:15 +00:00
Nicholas Marriott
e00736b811 Revert this, it breaks emacs. 2008-07-23 23:46:51 +00:00
Nicholas Marriott
97212771b5 Support keypad. Change cursor key output. 2008-07-23 23:44:50 +00:00
Nicholas Marriott
5942e22d71 Memory leaks. 2008-07-23 22:18:06 +00:00