Commit Graph

  • 673290d019 Adjust mouse for x offset. Nicholas Marriott 2009-04-01 18:46:03 +00:00
  • 15362ef6b8 Don't need to refresh layout here. Also don't redraw over status line. Nicholas Marriott 2009-04-01 18:33:19 +00:00
  • a45e33114a Tweak to CHANGES. Nicholas Marriott 2009-04-01 18:22:31 +00:00
  • b6450b167b Basic horizontal splitting and layout management. Still some redraw and other issues - particularly, don't mix with manual pane resizing and be careful when viewing from multiple clients; generally cycling the layout a few times will fix most problems. Getting this in for testing while I think about how to deal with manual mode. Nicholas Marriott 2009-04-01 18:21:42 +00:00
  • 6789b3367a UTF-8 is now fine, and AIX works. Nicholas Marriott 2009-03-31 23:17:28 +00:00
  • 64bfe099e8 0.8. Nicholas Marriott 2009-03-31 23:16:14 +00:00
  • 0c61b35807 Update www. Nicholas Marriott 2009-03-31 23:15:27 +00:00
  • c4ac39f67a +UTF-8 fixed to CHANGES. Nicholas Marriott 2009-03-31 23:14:22 +00:00
  • 75012d59c2 Close .tmux.conf... DOH. Nicholas Marriott 2009-03-31 22:23:43 +00:00
  • 907bec675a FD_CLOEXEC more fds. Still one I can't find... Nicholas Marriott 2009-03-31 22:20:42 +00:00
  • d13add828a More AIX tweaks. Nicholas Marriott 2009-03-31 22:08:45 +00:00
  • 92594c8029 Update CHANGES. Nicholas Marriott 2009-03-31 21:30:03 +00:00
  • 3576ce6d01 Missing \. Nicholas Marriott 2009-03-31 21:24:33 +00:00
  • 8c36db6e93 AIX forkpty. Nicholas Marriott 2009-03-31 21:23:18 +00:00
  • 792b28ec3e Most of AIX support. Nicholas Marriott 2009-03-31 21:22:10 +00:00
  • 6c27f1c335 Draw vertical line on the right when window size is limited. Nicholas Marriott 2009-03-31 18:39:45 +00:00
  • 9bdba2e84f Er, i should be j and c should be u. Nicholas Marriott 2009-03-31 15:10:43 +00:00
  • b0dc1712ec UTF8_SIZE. Nicholas Marriott 2009-03-31 12:28:45 +00:00
  • aecded5da0 Copy columns correctly. Nicholas Marriott 2009-03-30 21:08:04 +00:00
  • fb5a92ff9f Only need to print this once... Nicholas Marriott 2009-03-30 20:58:25 +00:00
  • c2a45b1532 $Id$ Nicholas Marriott 2009-03-30 20:22:08 +00:00
  • 8a160f2d58 - Unbreak selection colouring. - Get UTF-8 check the right way round... Nicholas Marriott 2009-03-30 20:14:50 +00:00
  • e2a7ac4b36 Fix UTF-8 in c&p mode. Nicholas Marriott 2009-03-30 19:57:02 +00:00
  • 6fdac02b53 Add UTF-8 to grid_compare.. Nicholas Marriott 2009-03-30 19:44:55 +00:00
  • 4db72582aa Include protocol version. Nicholas Marriott 2009-03-29 19:09:57 +00:00
  • 23fef99009 8 -> UTF8_SIZE. Nicholas Marriott 2009-03-29 11:18:28 +00:00
  • 4cbf7d489e - Ignore padding when writing so copying the screen for copy-mode doesn't include extra characters. - Handle combined characters properly when the previous character is not UTF-8. Nicholas Marriott 2009-03-29 11:06:22 +00:00
  • ae0ba11ac2 Add some more to server-info. Nicholas Marriott 2009-03-29 10:51:50 +00:00
  • c9856ebad1 Update/reorganise. Nicholas Marriott 2009-03-28 20:20:51 +00:00
  • cf7b384c43 Better UTF-8 support, including combined characters. Unicode data is now stored as UTF-8 in a separate array, the code does a lookup into this every time it gets to a UTF-8 cell. Zero width characters are just appended onto the UTF-8 data for the previous cell. This also means that almost no bytes extra are wasted non-Unicode data (yay). Nicholas Marriott 2009-03-28 20:17:29 +00:00
  • 34dd72f008 _fill functions are no longer needed. Nuke them. Nicholas Marriott 2009-03-28 16:57:03 +00:00
  • abf170d6d0 Whoops. Missed a few changes. Nicholas Marriott 2009-03-28 16:55:46 +00:00
  • 6c0728fe07 Step 2 of the Grand Plan To Make UTF-8 Better. Nicholas Marriott 2009-03-28 16:30:05 +00:00
  • 5872633aef Now unused variable. Nicholas Marriott 2009-03-28 15:49:05 +00:00
  • 989d67ccd7 struct grid_data -> struct grid. Stage 1 of the Grand Plan To Make UTF-8 Better. Nicholas Marriott 2009-03-28 15:43:41 +00:00
  • 8762338e30 +. Nicholas Marriott 2009-03-28 15:40:10 +00:00
  • cb2ac5c269 Key repeating is now a property of the key binding not of the command. Repeat is turned on when the key is bound with the -r flag to bind-key. next/previous- window no longer repeat by default as it turned out to annoy me. Nicholas Marriott 2009-03-28 14:08:09 +00:00
  • 587badecdb Clear using ED when redrawing the screen. I foolishly assumed using spaces would be equivalent and terminals would pick up on this, but apparently not. This fixes copy and paste in xterm/rxvt. Nicholas Marriott 2009-03-28 10:15:01 +00:00
  • a7f57773b7 Not const. Nicholas Marriott 2009-03-27 17:04:04 +00:00
  • f1aa1ff57f const. Nicholas Marriott 2009-03-27 16:59:57 +00:00
  • f6001f9ffc Whoops. Didn't mean to commit this yet. Nicholas Marriott 2009-03-27 16:44:51 +00:00
  • b97264bb70 Update TODO. Nicholas Marriott 2009-03-27 16:44:00 +00:00
  • be0c79f3ad Sockets in /tmp are now created in a subdirectory named, tmux-UID, eg tmux-1000. The default socket is thus /tmp/tmux-UID/default. To start a separate server, the new -L command line option should be used: this creates a socket in the same directory with a different name ("-L main" will create socket called "main"). -S should only be used to place the socket outside /tmp. This makes sockets a little more secure and a bit more convenient to use multiple servers. Nicholas Marriott 2009-03-27 15:57:10 +00:00
  • 0cb069a6b1 Use lstat. No change yet due to realpath call in tmux.c. Nicholas Marriott 2009-03-27 08:58:28 +00:00
  • 52fb9ca250 Clear pollfds first. Nicholas Marriott 2009-03-27 08:46:02 +00:00
  • 12bb7436c3 Update. Nicholas Marriott 2009-03-27 08:44:29 +00:00
  • 1f06ae2def Typo. Nicholas Marriott 2009-03-27 08:44:12 +00:00
  • f5f04a9344 * New session flag "set-remain-on-exit" to set remain-on-exit flag for new windows created in that session (like "remain-by-default" used to do). Not perfectly happy about this, but until I can think of a good way to introduce it generically (maybe a set of options in the session) this will do. Fixes SF request 2527847. Nicholas Marriott 2009-03-21 12:44:06 +00:00
  • 7398241e58 Done. Nicholas Marriott 2009-03-07 10:46:36 +00:00
  • e6d35b6aa4 Support for 88 colour terminals. Nicholas Marriott 2009-03-07 10:29:06 +00:00
  • 521fa7d640 Unused variable. Nicholas Marriott 2009-03-07 10:11:20 +00:00
  • 3f09bf99b8 char not char *... Nicholas Marriott 2009-03-07 09:42:13 +00:00
  • 56f80a5b09 break-pane command to split a pane off into a new window; bound to ! by default. Nicholas Marriott 2009-03-07 09:29:54 +00:00
  • 8a6a7e74da CSR resets the cursor to the top-left. Reported by merdely. Nicholas Marriott 2009-03-05 20:27:51 +00:00
  • 0402ef2e31 Log socket path so I can tell which tmux log is which. Nicholas Marriott 2009-03-05 20:24:41 +00:00
  • a9a22d7ede Initialise socket_path before parsing configuration file. Nicholas Marriott 2009-03-04 17:33:30 +00:00
  • 65b9aeb337 Put socket path in $TMUX. Nicholas Marriott 2009-03-04 17:24:07 +00:00
  • 171256057e Extra function keys from Dashing dashing at hushmail dot com Nicholas Marriott 2009-03-02 18:05:40 +00:00
  • 5803c4fc5b Fix window choice mode, again. Nicholas Marriott 2009-03-02 17:01:00 +00:00
  • 57f5f44d0f Sort out escape key handling so it works. Nicholas Marriott 2009-03-02 16:55:23 +00:00
  • 792b4db4a7 Doh. Set a message when pane is too small rather than dying... Nicholas Marriott 2009-03-01 22:05:35 +00:00
  • a2a5abef13 This is now fixed. Nicholas Marriott 2009-02-28 12:13:38 +00:00
  • 26edf4cce0 Don't segfault on lock when no sessions attached. Nicholas Marriott 2009-02-27 16:01:31 +00:00
  • eae026f2f7 Redraw selection properly. Nicholas Marriott 2009-02-25 21:56:46 +00:00
  • 092cca4b5f Update TODO. Nicholas Marriott 2009-02-25 21:55:15 +00:00
  • c45eb2713b Check the right variable. Doh. Nicholas Marriott 2009-02-24 21:49:05 +00:00
  • 3969b59ae5 Don't turn cursor off unless actually drawing something. Nicholas Marriott 2009-02-21 19:25:58 +00:00
  • 5b7e882bf6 Don't redraw status if it has already been redrawed as part of entire screen. Nicholas Marriott 2009-02-21 17:52:25 +00:00
  • afd67ce89f Allow selection in vi mode. Nicholas Marriott 2009-02-21 17:46:13 +00:00
  • 78f420e7a9 Reuse CPPFLAGS. Nicholas Marriott 2009-02-18 09:04:15 +00:00
  • 664c79cf73 INCDIRS after CPPFLAGS. Nicholas Marriott 2009-02-18 08:50:30 +00:00
  • 761db94050 Exclude NetBSD. Nicholas Marriott 2009-02-18 08:41:46 +00:00
  • 03b76dbf35 Use CPPFLAGS. Nicholas Marriott 2009-02-18 08:41:22 +00:00
  • 6d8ff85167 -err.h. Nicholas Marriott 2009-02-17 18:54:14 +00:00
  • 546a9d5257 Don't die on any error from fd. Nicholas Marriott 2009-02-17 18:53:10 +00:00
  • ca8b6a08ff NetBSD flags. Nicholas Marriott 2009-02-17 08:08:42 +00:00
  • 5a6ed33a3f Don't leak string arguments and options. Nicholas Marriott 2009-02-16 19:29:17 +00:00
  • b03783efad strdup() not necessary here. Nicholas Marriott 2009-02-16 19:01:16 +00:00
  • 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