Commit Graph

7477 Commits

Author SHA1 Message Date
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
Nicholas Marriott
87b418b13e Redo output logging in local.c. Optimise line drawing. 2007-11-25 10:56:22 +00:00
Nicholas Marriott
15511cb41a Support for VT100 graphics mode. Also lose some redundant checks. 2007-11-24 23:29:49 +00:00
Nicholas Marriott
08f8740da7 Always redraw requesting client on resize. 2007-11-24 20:08:49 +00:00
Nicholas Marriott
5ad9b31ac5 Scroll region reset homes the cursor, so start at 0,0 when drawing. Also don't set region after DECRC. 2007-11-24 19:29:56 +00:00
Nicholas Marriott
b9034946ad Reset before calling window_draw otherwise it'll have the wrong idea of the current state (since it copies from screen). 2007-11-24 18:32:52 +00:00
Nicholas Marriott
112f4d9f60 Don't stop until after everything else done. 2007-11-24 18:09:59 +00:00
Nicholas Marriott
d03e729904 Better words. 2007-11-24 18:05:39 +00:00
Nicholas Marriott
b2d78b67d8 Use screen_draw_* to write message, avoids leaving attribute changes around. 2007-11-24 17:58:45 +00:00
Nicholas Marriott
01dd8a3320 Sync. 2007-11-24 17:21:12 +00:00
Nicholas Marriott
69cec8803e Document modes, c/p etc. 2007-11-24 14:21:43 +00:00
Nicholas Marriott
43a05b1884 Better fix, handle delete-last-line properly. 2007-11-24 13:26:42 +00:00
Nicholas Marriott
4e21786eef Don't crash when deleting lines at the end, fixes irssi. 2007-11-24 12:33:56 +00:00
Nicholas Marriott
a01093603b Inc region in debug msg. 2007-11-23 22:51:13 +00:00
Nicholas Marriott
8da0b1fb99 Mostly-complete copy and paste. 2007-11-23 17:52:54 +00:00
Nicholas Marriott
68b2d36e07 Rm some redundant checks, prevent issues when data->size == 0. 2007-11-23 16:43:04 +00:00
Nicholas Marriott
b44bc4f8f5 Forgot to commit. 2007-11-23 14:28:47 +00:00
Nicholas Marriott
39246043cf Show hlimit. 2007-11-23 13:11:43 +00:00
Nicholas Marriott
4cd1f86359 Only show history size. 2007-11-23 13:02:45 +00:00
Nicholas Marriott
4d7510bb97 Sync. 2007-11-23 12:59:10 +00:00
Nicholas Marriott
9c584432d0 history-limit option. 2007-11-23 12:48:20 +00:00
Nicholas Marriott
26c8303733 Tidier code by moving mess into functions. 2007-11-22 19:40:17 +00:00
Nicholas Marriott
7b4556946d Make C-space toggle. Fix sel on same line. 2007-11-22 19:26:20 +00:00
Nicholas Marriott
7ab0b466fe Text selection with C-space. 2007-11-22 19:17:01 +00:00
Nicholas Marriott
18d72e6928 Partial copy mode. Currently does the same as scroll mode but using a cursor. Also fix bug where resizing would leave crap lying around. 2007-11-22 18:09:43 +00:00
Nicholas Marriott
4930e894c2 Mention quit key. Fix key style. 2007-11-22 10:31:02 +00:00
Nicholas Marriott
12810b09d7 Oops, missing one BACKGOUND. 2007-11-22 09:29:50 +00:00
Nicholas Marriott
df7be0ddab Split SCREEN_BACKGROUND flag into BACKGROUND/NOCURSOR in preparation for copy mode. 2007-11-22 09:11:20 +00:00
Nicholas Marriott
e2438dc96e Check for NULL clients. 2007-11-21 22:40:55 +00:00
Nicholas Marriott
39dfa41971 Don't count actual struct, don't count size twice. 2007-11-21 22:24:07 +00:00
Nicholas Marriott
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
Nicholas Marriott
1e5cb8d2e4 Free entire screen when destroyed. 2007-11-21 21:28:58 +00:00
Nicholas Marriott
f8686f126d Document scroll-mode. 2007-11-21 20:26:51 +00:00
Nicholas Marriott
edca8aec0f Don't switch to scroll mode unless no other mode. 2007-11-21 20:06:48 +00:00
Nicholas Marriott
ce90f1bddb The CLIENT_HOLD hack can go bye-bye. 2007-11-21 20:04:37 +00:00
Nicholas Marriott
d0984b890b Sort out cursors with a new flag - BACKGROUND - for window modes. Free text on more exit. 2007-11-21 19:53:57 +00:00
Nicholas Marriott
acb3661b66 Scrollable win for command output. 2007-11-21 19:44:05 +00:00
Nicholas Marriott
24c39950ff Redo screen.c functions to make them readable and more flexible. Make scroll mode only redraw waht it needs. 2007-11-21 18:24:49 +00:00
Nicholas Marriott
df158734c2 Fast up/down line scroll. 2007-11-21 15:55:02 +00:00
Nicholas Marriott
d5edaf988e Horizontal history/scrolling. 2007-11-21 15:35:53 +00:00