Commit Graph

  • 7034ba236f Same exit process applied to detach. Nicholas Marriott 2007-11-27 20:03:08 +00:00
  • 5cd1d459c5 Three-stage exit process so that [] message printing works on detach etc. Nicholas Marriott 2007-11-27 20:01:30 +00:00
  • 2fabfb30b0 Make reset actually work. Nicholas Marriott 2007-11-27 19:43:50 +00:00
  • 80e30f693c Minor tweaks/missed bits. Nicholas Marriott 2007-11-27 19:32:15 +00:00
  • 76c8a590db Big internal reorganisation to move tty control into parent. Nicholas Marriott 2007-11-27 19:23:34 +00:00
  • 97eca99d0b Code tidying. Nicholas Marriott 2007-11-26 22:22:18 +00:00
  • c5b1fa9411 Shift history up by 10% at a time. Nicholas Marriott 2007-11-26 22:18:57 +00:00
  • 14610569c8 This is better than disabling it. Nicholas Marriott 2007-11-26 22:06:11 +00:00
  • 6b2debfbfa Erm, check the right cell... d'oh. Nicholas Marriott 2007-11-26 20:57:54 +00:00
  • 0ad9a61ba0 Heh. 2300 not 1200. Nicholas Marriott 2007-11-26 20:50:31 +00:00
  • f903cc9a56 Rv EOL optimisation, it screws up selection. Nicholas Marriott 2007-11-26 20:45:13 +00:00
  • 818df923de Add ^A && ^E to copy mode. Also use STDIN instead of STDOUT in a couple of places. Nicholas Marriott 2007-11-26 20:36:30 +00:00
  • d61a63c04e Update SRCS, use -rdynamic in DEBUG case, lose openssl crap. Nicholas Marriott 2007-11-25 22:08:13 +00:00
  • 1ef876db59 Sync SRCS. Nicholas Marriott 2007-11-25 22:03:13 +00:00
  • 89db56fb09 Disable this optimisation since cursor can be updated by stuff outside. Nicholas Marriott 2007-11-25 13:03:01 +00:00
  • 9a3dde0f53 Oops, use correct y. Nicholas Marriott 2007-11-25 11:13:46 +00:00
  • 0f0dd4a566 Init local_log to -1. Nicholas Marriott 2007-11-25 10:59:44 +00:00
  • 87b418b13e Redo output logging in local.c. Optimise line drawing. Nicholas Marriott 2007-11-25 10:56:22 +00:00
  • 15511cb41a Support for VT100 graphics mode. Also lose some redundant checks. Nicholas Marriott 2007-11-24 23:29:49 +00:00
  • 08f8740da7 Always redraw requesting client on resize. Nicholas Marriott 2007-11-24 20:08:49 +00:00
  • 5ad9b31ac5 Scroll region reset homes the cursor, so start at 0,0 when drawing. Also don't set region after DECRC. Nicholas Marriott 2007-11-24 19:29:56 +00:00
  • b9034946ad Reset before calling window_draw otherwise it'll have the wrong idea of the current state (since it copies from screen). Nicholas Marriott 2007-11-24 18:32:52 +00:00
  • 112f4d9f60 Don't stop until after everything else done. Nicholas Marriott 2007-11-24 18:09:59 +00:00
  • d03e729904 Better words. Nicholas Marriott 2007-11-24 18:05:39 +00:00
  • b2d78b67d8 Use screen_draw_* to write message, avoids leaving attribute changes around. Nicholas Marriott 2007-11-24 17:58:45 +00:00
  • 01dd8a3320 Sync. Nicholas Marriott 2007-11-24 17:21:12 +00:00
  • 69cec8803e Document modes, c/p etc. Nicholas Marriott 2007-11-24 14:21:43 +00:00
  • 43a05b1884 Better fix, handle delete-last-line properly. Nicholas Marriott 2007-11-24 13:26:42 +00:00
  • 4e21786eef Don't crash when deleting lines at the end, fixes irssi. Nicholas Marriott 2007-11-24 12:33:56 +00:00
  • a01093603b Inc region in debug msg. Nicholas Marriott 2007-11-23 22:51:13 +00:00
  • 8da0b1fb99 Mostly-complete copy and paste. Nicholas Marriott 2007-11-23 17:52:54 +00:00
  • 68b2d36e07 Rm some redundant checks, prevent issues when data->size == 0. Nicholas Marriott 2007-11-23 16:43:04 +00:00
  • b44bc4f8f5 Forgot to commit. Nicholas Marriott 2007-11-23 14:28:47 +00:00
  • 39246043cf Show hlimit. Nicholas Marriott 2007-11-23 13:11:43 +00:00
  • 4cd1f86359 Only show history size. Nicholas Marriott 2007-11-23 13:02:45 +00:00
  • 4d7510bb97 Sync. Nicholas Marriott 2007-11-23 12:59:10 +00:00
  • 9c584432d0 history-limit option. Nicholas Marriott 2007-11-23 12:48:20 +00:00
  • 26c8303733 Tidier code by moving mess into functions. Nicholas Marriott 2007-11-22 19:40:17 +00:00
  • 7b4556946d Make C-space toggle. Fix sel on same line. Nicholas Marriott 2007-11-22 19:26:20 +00:00
  • 7ab0b466fe Text selection with C-space. Nicholas Marriott 2007-11-22 19:17:01 +00:00
  • 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. Nicholas Marriott 2007-11-22 18:09:43 +00:00
  • 4930e894c2 Mention quit key. Fix key style. Nicholas Marriott 2007-11-22 10:31:02 +00:00
  • 12810b09d7 Oops, missing one BACKGOUND. Nicholas Marriott 2007-11-22 09:29:50 +00:00
  • df7be0ddab Split SCREEN_BACKGROUND flag into BACKGROUND/NOCURSOR in preparation for copy mode. Nicholas Marriott 2007-11-22 09:11:20 +00:00
  • e2438dc96e Check for NULL clients. Nicholas Marriott 2007-11-21 22:40:55 +00:00
  • 39dfa41971 Don't count actual struct, don't count size twice. Nicholas Marriott 2007-11-21 22:24:07 +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. Nicholas Marriott 2007-11-21 22:20:44 +00:00
  • 1e5cb8d2e4 Free entire screen when destroyed. Nicholas Marriott 2007-11-21 21:28:58 +00:00
  • f8686f126d Document scroll-mode. Nicholas Marriott 2007-11-21 20:26:51 +00:00
  • edca8aec0f Don't switch to scroll mode unless no other mode. Nicholas Marriott 2007-11-21 20:06:48 +00:00
  • ce90f1bddb The CLIENT_HOLD hack can go bye-bye. Nicholas Marriott 2007-11-21 20:04:37 +00:00
  • d0984b890b Sort out cursors with a new flag - BACKGROUND - for window modes. Free text on more exit. Nicholas Marriott 2007-11-21 19:53:57 +00:00
  • acb3661b66 Scrollable win for command output. Nicholas Marriott 2007-11-21 19:44:05 +00:00
  • 24c39950ff Redo screen.c functions to make them readable and more flexible. Make scroll mode only redraw waht it needs. Nicholas Marriott 2007-11-21 18:24:49 +00:00
  • df158734c2 Fast up/down line scroll. Nicholas Marriott 2007-11-21 15:55:02 +00:00
  • d5edaf988e Horizontal history/scrolling. Nicholas Marriott 2007-11-21 15:35:53 +00:00
  • e4f01009a3 Wipe curw so last doesn't end up as deleted. Nicholas Marriott 2007-11-21 15:05:53 +00:00
  • ad1541913f Fix use-after-free. Nicholas Marriott 2007-11-21 14:57:08 +00:00
  • ef18b7d637 Move from the right place. Nicholas Marriott 2007-11-21 14:55:31 +00:00
  • 2cdc75fa4e Fix clear. Nicholas Marriott 2007-11-21 14:50:41 +00:00
  • 4f8ed29022 Only redraw if offset changed. Nicholas Marriott 2007-11-21 14:39:46 +00:00
  • 08a0c5e661 Use screen_* versions to avoid range checks (s->dy may be wrong), fix miscalculated free. Nicholas Marriott 2007-11-21 14:30:15 +00:00
  • c424ef37d0 Scroll data should be per-window not global. Nicholas Marriott 2007-11-21 14:01:53 +00:00
  • 9a6e47cfa8 Initial history support. Nicholas Marriott 2007-11-21 13:11:41 +00:00
  • 9b9ceac657 Damnit, wrong variable name.. Nicholas Marriott 2007-11-20 21:45:53 +00:00
  • f53b917367 Oops, mustn't forget this. Nicholas Marriott 2007-11-20 21:45:26 +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. Nicholas Marriott 2007-11-20 21:42:29 +00:00
  • 0be6a3041f Style: ry_* -> r* Nicholas Marriott 2007-11-20 18:46:32 +00:00
  • c0572ea992 Fix a format string bug and sprinkle some printflikes. Nicholas Marriott 2007-11-20 18:11:37 +00:00
  • b04bffc9c9 +index.html.in Nicholas Marriott 2007-11-20 17:01:38 +00:00
  • da21ac965d Work around Linux realpath breakage. Nicholas Marriott 2007-11-20 12:59:27 +00:00
  • 14627f5421 Note about default colours. Nicholas Marriott 2007-11-20 12:09:13 +00:00
  • 0d9ebaafb1 dist target. Nicholas Marriott 2007-11-20 12:00:16 +00:00
  • 1717764134 Oops, no $SESSION now. Nicholas Marriott 2007-11-17 08:29:33 +00:00
  • 60501ec040 Sync. Nicholas Marriott 2007-11-17 08:28:48 +00:00
  • 958cd9cb94 -k on link-window to kill dest window if it exists. Nicholas Marriott 2007-11-17 08:21:54 +00:00
  • 54d01c1a5f Two-column display for on-line print. Nicholas Marriott 2007-11-16 22:06:45 +00:00
  • 6859306235 Ooops use ->client here, not cmdclient. Nicholas Marriott 2007-11-16 21:43:43 +00:00
  • 85e4e820b6 Sync. Nicholas Marriott 2007-11-16 21:38:00 +00:00
  • 6e04524596 switch-client command. Nicholas Marriott 2007-11-16 21:31:03 +00:00
  • b359f9b594 Add -c option to specify client, and move detach/refresh to client rather than session. Nicholas Marriott 2007-11-16 21:12:31 +00:00
  • 86b73cec72 Check for scrolling when _cursor_ is inside region, not number of lines. Duh. Nicholas Marriott 2007-11-16 16:28:14 +00:00
  • ce5f02fc9e Report available commands on ambiguous commands. Tidy TODO a bit. Nicholas Marriott 2007-11-16 13:23:59 +00:00
  • eb72bede47 Sync. Nicholas Marriott 2007-11-14 08:44:25 +00:00
  • 7e3cc5fd12 Use ctx->client/ctx->session inline instead of temporary variables which were being reused and causing confusion and problems. Nicholas Marriott 2007-11-13 09:53:47 +00:00
  • 89d298d4c7 Tweak. Nicholas Marriott 2007-11-12 20:59:33 +00:00
  • 4a419bbc9a This stuff should be Ic not Ar. Nicholas Marriott 2007-11-12 20:46:46 +00:00
  • d72f2bef62 Mention TERM=screen requirement. Nicholas Marriott 2007-11-12 20:42:53 +00:00
  • dc8fb1e1dc Force default colours if terminal supports it. Nicholas Marriott 2007-11-12 20:29:43 +00:00
  • a3c89d7671 clietns -> clients. Nicholas Marriott 2007-11-12 19:15:29 +00:00
  • e95ed600c9 Nuke stray ). Nicholas Marriott 2007-11-12 16:40:56 +00:00
  • 765a224b30 Double-free on session destroy. Nicholas Marriott 2007-11-12 16:39:30 +00:00
  • 577bd45719 Tweak. Nicholas Marriott 2007-11-12 16:13:49 +00:00
  • 23e9acdcb2 Erp, ^B not ^A. Nicholas Marriott 2007-11-12 16:11:57 +00:00
  • e79a41cff9 Finish off man page. Nicholas Marriott 2007-11-12 16:09:08 +00:00
  • 4309d65475 realpath the socket path; also sprinkle some const. Nicholas Marriott 2007-11-12 15:12:08 +00:00
  • e4a6cdefda kill-window command. Nicholas Marriott 2007-11-12 14:21:41 +00:00
  • 6409f2b406 C-space is "^ " not "^@". Nicholas Marriott 2007-11-09 17:09:34 +00:00
  • 5940c5ff88 Support tab. Nicholas Marriott 2007-11-09 17:06:01 +00:00
  • eeba70afc8 More tweaks. Nicholas Marriott 2007-11-09 17:05:42 +00:00