Commit Graph

  • 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
  • 972b2c1e99 Tweak for Linux/reqd feature check. Nicholas Marriott 2007-11-09 16:22:03 +00:00
  • f87816c4ba Key bindings section. Nicholas Marriott 2007-11-09 16:18:08 +00:00
  • 73eee9a026 Lcase is better. Nicholas Marriott 2007-11-09 16:08:08 +00:00
  • 271023c82f Fill in command list. Fix a couple of usages while doing this. Nicholas Marriott 2007-11-09 16:04:29 +00:00
  • 33d012332f Tweak language. Nicholas Marriott 2007-11-09 15:29:59 +00:00
  • d9b85594f8 Initial man page. Nicholas Marriott 2007-11-09 15:23:28 +00:00
  • 0b832ea466 -V option to show tmux version. Nicholas Marriott 2007-11-09 11:03:35 +00:00
  • 16321270c8 rename-session command. Nicholas Marriott 2007-11-09 11:02:01 +00:00
  • f92243caa0 Check for required term capabilities on start. Nicholas Marriott 2007-11-08 10:39:52 +00:00
  • 35591ecd4e Try write even if read gets signal, some other tweaks. Nicholas Marriott 2007-11-07 19:41:17 +00:00
  • 08d9f46aae Make it build/run on Linux. Nicholas Marriott 2007-10-31 14:26:26 +00:00
  • 48ad0431fb swap-window command. Nicholas Marriott 2007-10-30 11:10:33 +00:00
  • 941eab33e9 %u -> %d for indexes. Some lint fixes. Nicholas Marriott 2007-10-30 10:59:43 +00:00
  • ab097f0c0c Don't save/restore ry_*. Nicholas Marriott 2007-10-26 17:15:50 +00:00
  • 4a325c8f93 unlink-window command. Also fix some u_int -> int problems. Nicholas Marriott 2007-10-26 16:57:32 +00:00
  • 51482b57ae Redraw status bar on link. Nicholas Marriott 2007-10-26 13:35:39 +00:00
  • 049ccfd048 -d is better. Nicholas Marriott 2007-10-26 13:26:55 +00:00
  • 5a954bd9bd link-window command to link a window into another session. Nicholas Marriott 2007-10-26 13:03:59 +00:00
  • 4ba3cf60be Reorg window data structures. Add an intermediate data type (struct winlink) to hold index and make sessions hold a RB tree of them rather than a fixed array. Nicholas Marriott 2007-10-26 12:29:07 +00:00
  • 9f06104c3a has-session command. Nicholas Marriott 2007-10-25 17:44:25 +00:00
  • 4df168c986 Use local var and pull screen out of ictx. Nicholas Marriott 2007-10-24 15:40:59 +00:00
  • ebeb14211d Handle DSR for resize(1). Nicholas Marriott 2007-10-24 15:29:29 +00:00
  • e21587864a Save restore attr. Nicholas Marriott 2007-10-24 15:01:25 +00:00
  • 8782639c1e Free buffers properly. Nicholas Marriott 2007-10-24 11:45:25 +00:00
  • 1f10f6ea8b Close memory leaks. Nicholas Marriott 2007-10-24 11:42:03 +00:00
  • 810a8846b7 A couple of close-on-exec flags. Nicholas Marriott 2007-10-24 11:30:02 +00:00
  • f941d270ca Save/restore errno, free pfd buffer. Nicholas Marriott 2007-10-24 11:21:29 +00:00
  • 3859c9f239 Free/close windows properly. Nicholas Marriott 2007-10-24 11:05:59 +00:00
  • ab02144e3d Don't need ttydefchars here. Nicholas Marriott 2007-10-23 11:25:32 +00:00
  • 9a086da081 Sync. Nicholas Marriott 2007-10-23 10:52:53 +00:00
  • 688a487570 Lift last MAXNAMELEN limit on -s argument. Nicholas Marriott 2007-10-23 10:48:23 +00:00
  • 21c17da7e6 Remove freed keys from array. Nicholas Marriott 2007-10-23 10:25:57 +00:00
  • 64713e0511 Tweak a couple of variable names. Nicholas Marriott 2007-10-23 10:25:03 +00:00
  • 14fdb49c19 FreeBSD lacks TTY_NAME_MAX. Nicholas Marriott 2007-10-23 10:21:59 +00:00