Commit Graph

  • 46210344a6 Add notify hooks for various events, the functions are currently empty stubs but will be filled in for control mode later. From George Nachman. Nicholas Marriott 2012-03-17 22:35:09 +00:00
  • 4f480c901d $Id$ -> $OpenBSD$. Nicholas Marriott 2012-03-17 22:34:12 +00:00
  • 50f5d2a7ec Use snprintf for constructing attribute string, from Tim Ruehsen. Nicholas Marriott 2012-03-17 21:45:25 +00:00
  • 95f48a219a Add a wrap-search option to turn off wrapping of searches in copy mode. From Jacobo de Vera. Nicholas Marriott 2012-03-17 21:40:53 +00:00
  • 87d092d226 Michael Krysiak points out that some terminals (eg mintty) have cursor styles 5 and 6 too, so allow them to be set. Nicholas Marriott 2012-03-17 21:37:36 +00:00
  • e87d4b43ab Need to call recalculate_sizes() when changing window with the mouse, from marcel partap. Nicholas Marriott 2012-03-17 21:34:34 +00:00
  • f152379e5a Add -q option to set-option to turn off info message, from marcel partap. Nicholas Marriott 2012-03-17 21:33:33 +00:00
  • 889fe42e11 Break out termios initialization into a separate function, from George Nachman. Nicholas Marriott 2012-03-17 21:27:51 +00:00
  • 164e85cca7 Do not clear to end of line if the line is full, fixes missing last character in rightmost pane. Nicholas Marriott 2012-03-17 19:29:46 +00:00
  • 0b34fefe6e Use the region lower not the pane size to work out where the bottom line is. Nicholas Marriott 2012-03-17 19:18:37 +00:00
  • 928f40615c Tweak last fix to actually hit the right end of pane. Nicholas Marriott 2012-03-17 18:51:50 +00:00
  • 7ad052583a Fix warnings. Doh. Nicholas Marriott 2012-03-17 18:38:58 +00:00
  • d3c842d367 Check event_initialized before event_del if event may not have been set up; libevent2 complains about this. Reported by Moriyoshi Koizumi. Nicholas Marriott 2012-03-17 18:24:07 +00:00
  • a597e3546c Redirect libevent logging to tmux's log. Nicholas Marriott 2012-03-17 18:23:03 +00:00
  • 0489213b1b Revert screen-write.c r1.54 and fix the bug properly. After wrapping a line in a pane, the cursor needs to move to the next line unless it scrolled. Nicholas Marriott 2012-03-17 17:36:03 +00:00
  • 9b8fc982ec +. Nicholas Marriott 2012-03-16 21:10:39 +00:00
  • 92a720157b +. Nicholas Marriott 2012-03-16 07:37:19 +00:00
  • c8c0d68128 Send secondary DA to terminals with XT in terminfo when starting up and parse it to work out the xterm version. Nicholas Marriott 2012-03-15 10:36:00 +00:00
  • 523ed3873d Respond to secondary DA requests. Nicholas Marriott 2012-03-15 10:05:49 +00:00
  • 005566f915 Fix a warning. Doh. Nicholas Marriott 2012-03-15 09:22:31 +00:00
  • 698361ccde Add a helper function for enabling an optimization to make some code clearer. Nicholas Marriott 2012-03-15 09:10:33 +00:00
  • 71df37c247 Store context off before moving the cursor when wrapping, to fix long standing bug drawing over the status line. Nicholas Marriott 2012-03-14 23:29:07 +00:00
  • 21c11c7f48 +. Nicholas Marriott 2012-03-12 13:58:11 +00:00
  • 4e05a2c0ae Add -P/-F flags to break-pane too, from George Nachman. Nicholas Marriott 2012-03-12 13:31:09 +00:00
  • 575bfa4b4b Erm, use EL in a way that actually works... Nicholas Marriott 2012-03-12 12:43:18 +00:00
  • 31ddae7735 Use EL to clear to end of line if possible. Nicholas Marriott 2012-03-12 12:38:42 +00:00
  • 33fac234c0 Fix trailing \, pointed out by Romain Francoise and a few others. Nicholas Marriott 2012-03-11 23:04:19 +00:00
  • 1bbb793263 Always remember last cursor position when moving up or down, not just for if crossing zero length lines. From Itay Perl. Nicholas Marriott 2012-03-11 23:01:19 +00:00
  • 799f437eff Remove some bits leftover from unused backoff code. Nicholas Marriott 2012-03-09 21:42:13 +00:00
  • be63fef872 Add a missing call to window_set_name, from George Nachman. Nicholas Marriott 2012-03-09 21:11:28 +00:00
  • ac9ebc29a2 Use a lock file and flock() to serialize server start, avoids problems when running a bunch of tmux from cron at the same time. Based on a diff from Tim Ruehsen. Nicholas Marriott 2012-03-09 09:57:40 +00:00
  • 3307813a07 Sync OpenBSD patchset 1042: Tiago Cunha 2012-03-07 13:40:08 +00:00
  • 3d98adaf91 Sync OpenBSD patchset 1041: Tiago Cunha 2012-03-07 13:39:29 +00:00
  • cf11809cd4 Sync OpenBSD patchset 1040: Tiago Cunha 2012-03-07 13:38:26 +00:00
  • 32a6092f71 Sync OpenBSD patchset 1039: Tiago Cunha 2012-03-07 13:37:44 +00:00
  • e7c7024907 Sync OpenBSD patchset 1038: Tiago Cunha 2012-03-07 13:36:57 +00:00
  • 3275e9bd5b Sync OpenBSD patchset 1037: Tiago Cunha 2012-03-07 13:36:19 +00:00
  • 9d79a56402 Sync OpenBSD patchset 1036: Tiago Cunha 2012-03-07 13:35:03 +00:00
  • 18012f5b18 free -> xfree. Nicholas Marriott 2012-03-04 20:52:05 +00:00
  • 03dca66ae2 Add -F format to new-window and split-window to use with the -P flag, from George Nachman. Nicholas Marriott 2012-03-04 20:50:53 +00:00
  • 178a20718c Accept hex values as keys, needed for send-keys, based on a diff from George Nachman. Nicholas Marriott 2012-03-04 20:40:54 +00:00
  • 30f4c30ca3 Add A and I keys for vi status line editing. Nicholas Marriott 2012-03-04 07:38:11 +00:00
  • 8b68ea1462 Terminate strftime buffer properly and free format string, whoops. From Tiago Cunha. Nicholas Marriott 2012-03-03 09:45:41 +00:00
  • f4fdddc930 Support "bracketed paste" mode. This adds a -p flag to paste-buffer - if this is used and the application has requested bracketed pastes, then tmux surrounds the pasted text by \033[200~ and \033[201~. Applications like vim can (apparently) use this to avoid, for example, indenting the text. From Ailin Nemui. Nicholas Marriott 2012-03-03 09:43:22 +00:00
  • e4f1fbd008 Sync OpenBSD patchset 1035: Tiago Cunha 2012-03-03 09:19:40 +00:00
  • 89ab147093 Sync OpenBSD patchset 1034: Tiago Cunha 2012-03-03 09:17:30 +00:00
  • 95f427c34e Sync OpenBSD patchset 1032: Tiago Cunha 2012-03-03 09:16:52 +00:00
  • e0d2221879 Sync OpenBSD patchset 1031: Tiago Cunha 2012-03-03 09:14:21 +00:00
  • 4b8bb7770f The wlmouse offset should be part of the client, not the server. From Ailin Nemui. Nicholas Marriott 2012-03-03 08:55:56 +00:00
  • 07ac16807f Add move-pane command (like join-pane but allows the same window). Also -b flag to join-pane and move-pane to place the pane to the left or above. From George Nachman. Nicholas Marriott 2012-03-03 08:31:18 +00:00
  • 82f4db0d10 ANSIfy function prototypes, from Tim Ruehsen. Nicholas Marriott 2012-03-02 11:23:51 +00:00
  • 4d9ccd3229 Add printf attribute to a couple of functions, from Tim Ruehsen. Nicholas Marriott 2012-03-02 11:16:44 +00:00
  • b801118fe5 +book at http://pragprog.com/book/bhtmux/tmux Nicholas Marriott 2012-03-01 17:16:49 +00:00
  • 952ffdd288 Remove accidentally committed option. Nicholas Marriott 2012-02-29 21:10:51 +00:00
  • 4e7de210e4 Allow a single option to be specified to show-options to show just that option. Nicholas Marriott 2012-02-25 12:57:42 +00:00
  • aaf0bfccf4 Use format for display-message, based on a diff from George Nachman. Nicholas Marriott 2012-02-23 22:40:58 +00:00
  • a870a596bc +. Nicholas Marriott 2012-02-21 08:56:18 +00:00
  • 88f25bb677 Sync OpenBSD patchset 1030: Tiago Cunha 2012-02-15 19:32:39 +00:00
  • 290636bc86 Sync OpenBSD patchset 1029: Tiago Cunha 2012-02-15 19:32:12 +00:00
  • 3e94fa70f9 Sync OpenBSD patchset 1028: Tiago Cunha 2012-02-15 19:31:35 +00:00
  • cfa6ac9161 Sync OpenBSD patchset 1026: Tiago Cunha 2012-02-15 19:30:51 +00:00
  • 6e6e8046ba Sync OpenBSD patchset 1026: Tiago Cunha 2012-02-15 19:30:17 +00:00
  • d7ea1ac847 Update, from Ben Boeckel. Nicholas Marriott 2012-02-15 18:48:52 +00:00
  • fe055c89f5 Sort some entries, from Ben Boeckel. Nicholas Marriott 2012-02-15 18:44:49 +00:00
  • fddbd44c18 Add a wrapper function tty_set_size from George Nachman. Nicholas Marriott 2012-02-15 17:25:02 +00:00
  • 67949de0a1 Don't die if fail to get root directory, from Ben Boeckel. Nicholas Marriott 2012-02-06 17:29:29 +00:00
  • 3f49137f90 Check for the right return value from sscanf. Nicholas Marriott 2012-02-05 22:23:13 +00:00
  • fe7cf0ba90 Document option values, particularly that omitting on|off for a flag is a toggle. Nicholas Marriott 2012-02-02 22:33:05 +00:00
  • 94e46dd724 Sync OpenBSD patchset 1025: Tiago Cunha 2012-02-02 02:01:18 +00:00
  • c82e06804e Sync OpenBSD patchset 1024: Tiago Cunha 2012-02-02 02:00:12 +00:00
  • 509a7e8b73 Sync OpenBSD patchset 1023: Tiago Cunha 2012-02-02 01:58:47 +00:00
  • 98e24b9f70 Sync OpenBSD patchset 1022: Tiago Cunha 2012-02-02 01:58:16 +00:00
  • 0fd0030a2a Adjust function name to the portable version. Tiago Cunha 2012-02-02 01:57:14 +00:00
  • 4bb01c1768 Sync OpenBSD patchset 1021: Tiago Cunha 2012-02-02 01:55:34 +00:00
  • efb639e1d2 Add -l flag to send-keys to send input literally (without translating key names). From Frank Terbeck. Nicholas Marriott 2012-02-02 00:15:28 +00:00
  • 8363d19307 Move window name changes into wrapper function window_set_name, from George Nachman. Nicholas Marriott 2012-02-02 00:10:11 +00:00
  • fdeaa73342 Do not change pane when changing window with mouse on status line, pointed out by Romain Francoise. Nicholas Marriott 2012-02-02 00:04:54 +00:00
  • d1ae2d9757 Get client_width and client_height the right way round, from Stephen Thirlwall. Nicholas Marriott 2012-02-02 00:03:45 +00:00
  • 908a22e41c Provide defined ways to set the various default-path possibilities: ~ for home directory, . for server start directory, - for session start directory and empty for the pane's working directory (the default). All can also be used as part of a relative path (eg -/foo). Also provide -c flags to neww and splitw to override default-path setting. Nicholas Marriott 2012-01-31 15:52:21 +00:00
  • c2176afe9c Sync OpenBSD patchset 1020: Tiago Cunha 2012-01-31 12:03:56 +00:00
  • 6b3988b749 Sync OpenBSD patchset 1019: Tiago Cunha 2012-01-31 12:03:00 +00:00
  • 896c55291f Sync OpenBSD patchset 1018: Tiago Cunha 2012-01-31 12:02:24 +00:00
  • 2ee0d851d9 Sync OpenBSD patchset 1017: Tiago Cunha 2012-01-31 12:01:43 +00:00
  • c08a532440 Sync OpenBSD patchset 1016: Tiago Cunha 2012-01-31 11:58:55 +00:00
  • 49a5a587ec Add pane id to each pane in layout description (while still accepting the old form). Based on diff from George Nachman. Nicholas Marriott 2012-01-30 20:57:02 +00:00
  • 677ed3e5f0 id -> ID; ok nicm Jason McIntyre 2012-01-30 20:48:28 +00:00
  • f188345b33 Don't print double spaces in list output. Nicholas Marriott 2012-01-30 20:39:56 +00:00
  • 0e59bc75fd Give each window a unique id, like panes but prefixed with @. Based on work from George Nachman. Nicholas Marriott 2012-01-30 09:39:34 +00:00
  • 937173ff11 Enforce history-limit option when clearing the screen, memory leak spotted by R I Pienaar. Nicholas Marriott 2012-01-29 21:31:11 +00:00
  • e4a7cefe0c Sync OpenBSD patchset 1015: Tiago Cunha 2012-01-29 12:57:01 +00:00
  • e23df3af5a Sync OpenBSD patchset 1014: Tiago Cunha 2012-01-29 12:53:33 +00:00
  • 9c1d3046ca Sync OpenBSD patchset 1013: Tiago Cunha 2012-01-29 12:52:16 +00:00
  • c846298747 Sync OpenBSD patchset 1012: Tiago Cunha 2012-01-29 12:51:43 +00:00
  • 230d0fbc9e Add an option to move the status line to the top of the screen, requested by many. Nicholas Marriott 2012-01-29 09:37:02 +00:00
  • 9bbc63ed65 Call bufferevent_free before closing file descriptor associated with it or bugs in $EventMechanism on $OtherOS makes libevent get it's knickers in a twist. From Dylan Alex Simon. Nicholas Marriott 2012-01-29 02:22:11 +00:00
  • ad2cc63412 Fill in osdep_get_cwd on Darwin, from Alex Ernst. Nicholas Marriott 2012-01-27 09:01:06 +00:00
  • a7a44bfcd9 Terminate strftime buffer properly even if a really long format string is given, from Tiago Cunha. Nicholas Marriott 2012-01-26 09:05:54 +00:00
  • d2d2df1365 Fix memory leak in error path, from Tiago Cunha. Nicholas Marriott 2012-01-26 09:03:09 +00:00
  • 224255cb89 Create a debug build by default. Tiago Cunha 2012-01-23 13:20:14 +00:00
  • 74b2eaa73e Working on 1.7. Tiago Cunha 2012-01-23 13:19:08 +00:00