Commit Graph

5716 Commits

Author SHA1 Message Date
Nicholas Marriott
73d882124c Handle EOL properly when scrolled. 2007-12-07 09:49:18 +00:00
Nicholas Marriott
db6ad3acec Redraw position indicator regardless. 2007-12-07 09:26:56 +00:00
Nicholas Marriott
e215e177df Filling with the right attr should be done in screen-display.c. 2007-12-06 22:13:14 +00:00
Nicholas Marriott
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
Nicholas Marriott
9a37eb4d94 Bug fix; don't bail except on first line when printing. 2007-12-06 21:42:00 +00:00
Nicholas Marriott
2013dc4266 Workaround FreeBSD problems with deleting terms. 2007-12-06 21:26:22 +00:00
Nicholas Marriott
83393d3c87 Only close the tty during exit process and leave freeing it to when the socket is lost. 2007-12-06 20:53:48 +00:00
Nicholas Marriott
91d790411f Use the right function... 2007-12-06 19:57:01 +00:00
Nicholas Marriott
2bc8108b3e Save term data in a linked list and reuse it. 2007-12-06 18:28:55 +00:00
Nicholas Marriott
08d7be638e Fix charset stuff. 2007-12-06 13:54:33 +00:00
Nicholas Marriott
194c871611 Sync. 2007-12-06 13:51:56 +00:00
Nicholas Marriott
bea5d6d1ab Clean up after error properly. 2007-12-06 11:11:15 +00:00
Nicholas Marriott
0f2666ac77 Restore termcap checks. 2007-12-06 11:05:04 +00:00
Nicholas Marriott
85c087ad4e Another redraw bugs. 2007-12-06 10:44:37 +00:00
Nicholas Marriott
8ec9b07c83 Screen debugging. 2007-12-06 10:36:01 +00:00
Nicholas Marriott
4f44b09195 Redraw buglets. 2007-12-06 10:16:36 +00:00
Nicholas Marriott
7dc18f68e3 set/reset mode window functions. 2007-12-06 10:04:43 +00:00
Nicholas Marriott
103748d6ad Major reorganisation of screen handling. 2007-12-06 09:46:23 +00:00
Nicholas Marriott
6f142e9ac6 Don't try to access more windows if the session has been destroyed. 2007-12-04 20:25:17 +00:00
Nicholas Marriott
5f6a9e7e5b Handle missing parm_*. 2007-12-03 10:47:27 +00:00
Nicholas Marriott
b10bd51d20 Clear before resize. 2007-12-02 23:00:22 +00:00
Nicholas Marriott
8419e99789 The tty code already stores attributes and doesn't modify them if unaltered, so the screen drawing code doesn't need to do so too. This probably also fixes bugs when switching screens where the actual tty attributes may not have been what the draw code (erroneously) expected. 2007-12-02 18:23:10 +00:00
Nicholas Marriott
ba56989d0f Sync .cvsignore. 2007-12-01 11:26:25 +00:00
Nicholas Marriott
cb353fb97c home and end appear to be find/select with rxvt... 2007-12-01 11:24:17 +00:00
Nicholas Marriott
e0383f59bd Better error messages with no server. 2007-12-01 11:10:33 +00:00
Nicholas Marriott
2b3ba1cfad Bah, doing it together doesn't seem to work portably. 2007-11-30 13:59:16 +00:00
Nicholas Marriott
fe1299aecf install -d, from tobiasu. 2007-11-30 13:54:18 +00:00
Nicholas Marriott
3962c5f706 Change window name on \ek...\e\. 2007-11-30 11:08:35 +00:00
Nicholas Marriott
77386db04b Turn mouse on/off as appropriate. 2007-11-28 08:20:41 +00:00
Nicholas Marriott
043514a834 Preliminary mouse support. 2007-11-27 23:28:51 +00:00
Nicholas Marriott
f47ab8f13f Don't nuke charset flag on [0m. Also rename DRAWING -> CHARSET flag. 2007-11-27 23:01:27 +00:00
Nicholas Marriott
43c99c2fab Clear current line properly on clear eos. 2007-11-27 22:12:14 +00:00
Nicholas Marriott
c6384a765b Flush data on tty open. Also reset colour before clearing line/screen. 2007-11-27 21:07:38 +00:00
Nicholas Marriott
7034ba236f Same exit process applied to detach. 2007-11-27 20:03:08 +00:00
Nicholas Marriott
5cd1d459c5 Three-stage exit process so that [] message printing works on detach etc. 2007-11-27 20:01:30 +00:00
Nicholas Marriott
2fabfb30b0 Make reset actually work. 2007-11-27 19:43:50 +00:00
Nicholas Marriott
80e30f693c Minor tweaks/missed bits. 2007-11-27 19:32:15 +00:00
Nicholas Marriott
76c8a590db Big internal reorganisation to move tty control into parent. 2007-11-27 19:23:34 +00:00
Nicholas Marriott
97eca99d0b Code tidying. 2007-11-26 22:22:18 +00:00
Nicholas Marriott
c5b1fa9411 Shift history up by 10% at a time. 2007-11-26 22:18:57 +00:00
Nicholas Marriott
14610569c8 This is better than disabling it. 2007-11-26 22:06:11 +00:00
Nicholas Marriott
6b2debfbfa Erm, check the right cell... d'oh. 2007-11-26 20:57:54 +00:00
Nicholas Marriott
0ad9a61ba0 Heh. 2300 not 1200. 2007-11-26 20:50:31 +00:00
Nicholas Marriott
f903cc9a56 Rv EOL optimisation, it screws up selection. 2007-11-26 20:45:13 +00:00
Nicholas Marriott
818df923de Add ^A && ^E to copy mode. Also use STDIN instead of STDOUT in a couple of places. 2007-11-26 20:36:30 +00:00
Nicholas Marriott
d61a63c04e Update SRCS, use -rdynamic in DEBUG case, lose openssl crap. 2007-11-25 22:08:13 +00:00
Nicholas Marriott
1ef876db59 Sync SRCS. 2007-11-25 22:03:13 +00:00
Nicholas Marriott
89db56fb09 Disable this optimisation since cursor can be updated by stuff outside. 2007-11-25 13:03:01 +00:00
Nicholas Marriott
9a3dde0f53 Oops, use correct y. 2007-11-25 11:13:46 +00:00
Nicholas Marriott
0f0dd4a566 Init local_log to -1. 2007-11-25 10:59:44 +00:00