Commit Graph

  • f5126e20f1 And another memory leak. Nicholas Marriott 2009-02-16 18:58:14 +00:00
  • 4573ef1869 Memory leak. Nicholas Marriott 2009-02-16 18:57:16 +00:00
  • a4f5d127e2 Don't leak top line of history and status screen. Nicholas Marriott 2009-02-16 18:51:39 +00:00
  • a766f9743a Don't leak existing keys. Nicholas Marriott 2009-02-16 18:43:07 +00:00
  • 17017ef3bc These are fixed. Nicholas Marriott 2009-02-15 23:06:49 +00:00
  • 95c8c049f5 Redo mode keys slightly more cleanly and apply them to command prompt editing. vi or emacs mode is controlled by the session option status-keys. Nicholas Marriott 2009-02-13 21:39:45 +00:00
  • 47e6b2725d Reset mode before adding text. Nicholas Marriott 2009-02-13 20:19:30 +00:00
  • b2282f243b Use the right row when calling RI. Nicholas Marriott 2009-02-13 19:45:16 +00:00
  • 488cec3149 More TODO. Nicholas Marriott 2009-02-13 19:36:39 +00:00
  • d76d42f4f9 Update TODO. Nicholas Marriott 2009-02-13 19:30:06 +00:00
  • 0450b4a5d4 Move status prompt/message init and teardown into status.c. Nicholas Marriott 2009-02-13 18:57:55 +00:00
  • fdafe63004 Reset region before using CUD etc. Nicholas Marriott 2009-02-13 17:09:55 +00:00
  • eb7d229bac Code tidying on my way to find tmux-in-tmux bug. Nicholas Marriott 2009-02-13 16:53:14 +00:00
  • 1a88dbf797 Some extra emacs keys from Christian Weisgerber. Nicholas Marriott 2009-02-13 16:40:04 +00:00
  • cce03e138b Looking up argv[0] is expensive, so just use p_comm for the window name which is good enough. Also increase name update time to 500 ms. Nicholas Marriott 2009-02-13 00:43:04 +00:00
  • b1e911aff0 Update TODO. Nicholas Marriott 2009-02-12 23:16:00 +00:00
  • 3a7f3bd292 Reset name when clearing mode. Nicholas Marriott 2009-02-12 17:31:23 +00:00
  • 9d2697f78b Whoops. Build testing is a good idea... Nicholas Marriott 2009-02-12 00:19:31 +00:00
  • e6ed1cc44f Never draw last character: stops stray scrolling sometimes should status line be disabled. Nicholas Marriott 2009-02-12 00:18:05 +00:00
  • 5a04f74d81 Only use RI at the top of the screen. Nicholas Marriott 2009-02-12 00:03:58 +00:00
  • 959eeef505 FreeBSD's console wraps lines at $COLUMNS - 1 rather than $COLUMNS (the cursor can never be beyond $COLUMNS - 1) and does not appear to support changing this behaviour, or any of the obvious possibilities (turning off right margin wrapping, insert mode). This is irritating, most notably because it impossible to write to the very bottom-right of the screen without scrolling. To work around this, if built on FreeBSD and run with a "cons" $TERM, the bottom-right cell on the screen is omitted. Nicholas Marriott 2009-02-11 23:16:45 +00:00
  • 4ddac7f0b3 Update. Nicholas Marriott 2009-02-11 19:37:05 +00:00
  • e0fe64b464 Further unbreakage. Nicholas Marriott 2009-02-11 19:35:50 +00:00
  • c6193f7f3f Unbreak OS X. Nicholas Marriott 2009-02-11 19:31:58 +00:00
  • d5eaf3a9f6 Emulate CSR with existing screen data on old/stupid terminals which don't support it. Nicholas Marriott 2009-02-11 19:06:58 +00:00
  • 6c76aaca92 Lose unnecessary cursor restores, fix a couple of placement bugs and remove unused CR. Nicholas Marriott 2009-02-11 18:44:08 +00:00
  • 03d531ebc6 Move sx,sy into tty rather than client. Nicholas Marriott 2009-02-11 17:50:36 +00:00
  • 65378588ac Don't debug this stuff. Nicholas Marriott 2009-02-11 17:08:09 +00:00
  • 514fe11727 We are going to need the updated screen data for emulating the scroll region, which may involve changing the cursor position; however, the old (before redraw) cursor position is necessary for writing to the tty. So, save it before doing the redraw then update the internal screen then update the tty. Nicholas Marriott 2009-02-11 17:04:39 +00:00
  • 91c9d95279 Change tty_cmd_* to use a window_pane. Nicholas Marriott 2009-02-11 07:02:34 +00:00
  • e444b0b92a Split most of tty_cmd_cell off to tty_cell. First step on making tty_cmd_* take a window_pane for later use emulating scroll region. Nicholas Marriott 2009-02-11 06:50:16 +00:00
  • c6be7d3ee6 Simplify screen/tty write code to eliminate function pointer which is now unnecessary (it always does the same thing). Nicholas Marriott 2009-02-11 06:31:09 +00:00
  • 89f30822ef Update TODO. Nicholas Marriott 2009-02-11 06:30:19 +00:00
  • b37399304f Don't redraw status line unless it has actually changed. Stops extraneous updates between clock/#() changes and doesn't require manual status-interval 0 when no updates are occuring. Nicholas Marriott 2009-02-10 00:18:06 +00:00
  • cc5a0ab0e4 Update TODO. Nicholas Marriott 2009-02-10 00:17:00 +00:00
  • d9f3bcdb50 Zero to turn off updates. Nicholas Marriott 2009-02-10 00:09:44 +00:00
  • b7c446f051 FAQ entry for automatic rename CPU use. Nicholas Marriott 2009-02-09 18:13:41 +00:00
  • 1b036c1ca9 Return -1 not NULL on error. Doh. Nicholas Marriott 2009-02-09 18:09:58 +00:00
  • c9cfc9a9f3 Don't try to change the window name unless the pid of the process chosen has changed. Reduces CPU use. Nicholas Marriott 2009-02-09 18:08:01 +00:00
  • 9d90d9ad70 Increase name refresh interval to 250 ms to reduce CPU use. Nicholas Marriott 2009-02-09 16:11:26 +00:00
  • 8c7c4423e1 Tweak language. Nicholas Marriott 2009-02-08 19:06:16 +00:00
  • 44cc9c4459 Typos. Nicholas Marriott 2009-02-08 18:41:03 +00:00
  • 9b09c8d71e Test. Nicholas Marriott 2009-02-08 18:33:04 +00:00
  • f5d064afba Test syncmail III. Nicholas Marriott 2009-02-08 18:30:47 +00:00
  • b94ddce409 Test syncmail II. Nicholas Marriott 2009-02-08 18:27:10 +00:00
  • b9af4919c1 Test syncmail. Nicholas Marriott 2009-02-08 18:23:52 +00:00
  • dd1ebf1b9d Handle "" properly. Nicholas Marriott 2009-02-08 16:38:19 +00:00
  • b235815831 Don't close fds, so error message appears. Nicholas Marriott 2009-02-08 16:26:43 +00:00
  • 7942e49aea Session name is now shown. Nicholas Marriott 2009-02-08 16:11:52 +00:00
  • 62d2ab3e68 Continue process if suspended. Nicholas Marriott 2009-02-08 16:11:26 +00:00
  • 85fd2147af Move to 0.8. Nicholas Marriott 2009-02-08 14:11:37 +00:00
  • 33d56a36d4 Remove senseless if statement. Tiago Cunha 2009-02-08 13:36:40 +00:00
  • 4264ad761d Don't accept NULL argv[0]. Nicholas Marriott 2009-02-08 13:03:43 +00:00
  • 091c08fcaa Use both pgrp. Nicholas Marriott 2009-02-08 12:33:03 +00:00
  • 505b071a12 More tweakery. Nicholas Marriott 2009-02-08 12:31:02 +00:00
  • dd962b60d0 automatic-rename added. Tiago Cunha 2009-02-08 01:54:23 +00:00
  • 0e03dc29c4 Update. Nicholas Marriott 2009-02-07 20:08:09 +00:00
  • 028419ff4b Comment. Missing OS X headers. +TODO. Nicholas Marriott 2009-02-07 19:41:35 +00:00
  • 1583b87ae6 And again. Nicholas Marriott 2009-02-07 19:33:07 +00:00
  • 523b2e863f Tweak FreeBSD too. Nicholas Marriott 2009-02-07 19:27:11 +00:00
  • f53bcc8798 Even better. Nicholas Marriott 2009-02-07 19:24:50 +00:00
  • 1d3fba86a3 Make process name guessing pick up SSTOP. Nicholas Marriott 2009-02-07 19:16:25 +00:00
  • 69ebc15808 Time for 0.7. Nicholas Marriott 2009-02-07 08:36:34 +00:00
  • 3c7fefd90d Document automatic-rename. Nicholas Marriott 2009-02-07 08:35:26 +00:00
  • bb3eb77a2a New sentence, new line. Nicholas Marriott 2009-02-07 08:22:11 +00:00
  • ea8a8d39d4 Document command sequences. Nicholas Marriott 2009-02-07 08:20:54 +00:00
  • c8e27271e2 Update cursor y on newline otherwise RI gets screwed up at y=0. Nicholas Marriott 2009-02-07 00:05:23 +00:00
  • fe9320a064 Prevent weird output on OpenBSD (probably on other BSD's too?). From nicm. Tiago Cunha 2009-02-06 19:36:17 +00:00
  • 5edb3246c2 Update. Nicholas Marriott 2009-02-06 18:52:41 +00:00
  • 70dbc2f5b1 - Document find-window. - Document suspend-client. - Document window-status-{attr,bg,fg}. - Options without arguments should be listed first. - s/Copies/Copy/. Tiago Cunha 2009-02-06 18:38:30 +00:00
  • 4213ff8faa copy-buffer command. Tiago Cunha 2009-02-03 17:21:19 +00:00
  • b5f4b7730b Update. Tiago Cunha 2009-02-02 15:53:33 +00:00
  • 5a7b7aaa1c Don't leak fd. Nicholas Marriott 2009-02-02 15:46:36 +00:00
  • dd4e160d71 - Document the -p and -l options in split-window. - Update {copy,scroll}-mode with the -u option. - While there sort options alphabetically. Tiago Cunha 2009-02-01 18:24:25 +00:00
  • c7ffee6b8c {message,status,mode}-attr added Tiago Cunha 2009-02-01 18:16:39 +00:00
  • 804beb9266 Support commands with right parenthesis. From nicm and me. Tiago Cunha 2009-02-01 18:14:49 +00:00
  • 051dcdcba8 Fix all rxvt*. Nicholas Marriott 2009-02-01 18:11:51 +00:00
  • ef7c891aab Missing line break. Nicholas Marriott 2009-02-01 18:11:40 +00:00
  • 43c936cd33 Bye bye debugging. Nicholas Marriott 2009-01-30 21:18:26 +00:00
  • 0127137bbe move-window bound to ., from joshe. Nicholas Marriott 2009-01-30 21:10:10 +00:00
  • d8f027c070 Missing ;. Nicholas Marriott 2009-01-30 20:14:35 +00:00
  • e16ed21e5d Format. Nicholas Marriott 2009-01-30 00:39:06 +00:00
  • 6fb9d4dfee Tweak example. Nicholas Marriott 2009-01-30 00:27:00 +00:00
  • 882316ad6a Set colour of window entry in status line based on window options. Nicholas Marriott 2009-01-30 00:24:49 +00:00
  • 2bb499c8af Support #(command) in status-left, and status-right. Tiago Cunha 2009-01-29 23:35:14 +00:00
  • 871f57cb63 Ugh. Another inner loop variable reuse bug. Nicholas Marriott 2009-01-29 20:13:12 +00:00
  • b4076865bb Fix page down, again. Nicholas Marriott 2009-01-29 20:02:33 +00:00
  • 2bf9f4973b Undo this and just shut lint up. Nicholas Marriott 2009-01-29 19:26:53 +00:00
  • 6ad0d2ab4a Nuke debugging. Nicholas Marriott 2009-01-29 19:24:34 +00:00
  • 2057e666a2 Mouse in copy mode. Nicholas Marriott 2009-01-28 22:00:22 +00:00
  • 4428987e95 * Better support for at least the most common variant of mouse input: parse it and adjust for different panes. Also support mouse in window/session choice mode. * Bring back the fancy window titles with session/window names: it is easy to work around problems with elinks (see FAQ). Nicholas Marriott 2009-01-28 19:52:21 +00:00
  • 70024b3685 Exit properly when bas password. Nicholas Marriott 2009-01-28 17:57:00 +00:00
  • 2af52440ba -u to start with screen scrolled up. Nicholas Marriott 2009-01-27 23:35:44 +00:00
  • 7b18a9a6eb Avoid warning. Nicholas Marriott 2009-01-27 23:26:15 +00:00
  • 167178aba4 Tweak selection slightly. Nicholas Marriott 2009-01-27 23:10:18 +00:00
  • fbbf46ef71 Close stdin/stdout/stderr. Nicholas Marriott 2009-01-27 22:55:33 +00:00
  • c1726281c9 Handle cursor on/off better. Nicholas Marriott 2009-01-27 21:39:15 +00:00
  • eafc1693ae Don't use NULL argv. Nicholas Marriott 2009-01-27 21:01:26 +00:00
  • 162546a6ed Done! Nicholas Marriott 2009-01-27 20:37:31 +00:00
  • c6bd9e2063 Allow status, mode and message attributes to be changed by three new options: status-attr, mode-attr, message-attr. A comma-separataed list is accepted containing: bright, dim, underscore, blink, reverse, hidden, italics, for example: set -g status-attr bright,blink Nicholas Marriott 2009-01-27 20:22:33 +00:00