Commit Graph

1937 Commits

Author SHA1 Message Date
e4efd59fe0 Merge branch 'obsd-master' 2020-03-20 20:01:34 +00:00
06c3079d66 Make the mouse_word and mouse_line formats work in copy mode and enable
the default pane menu in copy mode.
2020-03-20 17:59:39 +00:00
17e4f2394a Merge branch 'obsd-master' 2020-03-19 14:01:31 +00:00
581ed718e7 Add C position for terminal centre with display-menu -x and -y. 2020-03-19 13:32:49 +00:00
c91a0948e3 Merge branch 'obsd-master' 2020-03-12 16:01:28 +00:00
6385bd1e08 Merge branch 'obsd-master' 2020-03-12 14:01:29 +00:00
6571dd50f8 Tidy up the default mouse key bindings and:
- Add double and triple click bindings to copy a word or line outside
  copy mode. The text is selected for a short period to show what has
  been copied. This is in line with the existing mouse selection where
  the text is copied and the selection is cleared when the mouse button
  is released.

- Change the existing double and triple click bindings in copy mode to
  behave in the same way.

- Add a button 2 binding to paste the top buffer.
2020-03-12 13:48:32 +00:00
516f6099fc Add a -d flag to run-shell to wait for delay before running the command,
also allow run-shell to accept no command to just delay.
2020-03-12 13:25:45 +00:00
7863445e5d Add a copy-mode -H flag to hide the position marker in the top right. 2020-03-12 13:19:20 +00:00
5625c62044 Merge branch 'obsd-master' 2020-03-12 12:01:25 +00:00
b8b48e2e37 Add C-g to cancel command prompt with vi(1) keys as well as emacs, and q
in command mode.
2020-03-12 09:49:43 +00:00
e512a3642a Merge branch 'obsd-master'
Also add a check for -lm via AC_SEARCH_LIBS in configure.ac for
portablility fixes.
2020-03-11 17:23:38 +00:00
c820585dd0 Add some number operators for formats, from Tyler Culp. 2020-03-11 14:17:55 +00:00
4694afbed4 Merge branch 'obsd-master' 2020-02-20 10:01:29 +00:00
229be034fb Add selection_active format for when the selection is present but not
moving with the cursor, from Mark Kelly.
2020-02-20 07:34:57 +00:00
0c6c8c4efc Merge branch 'obsd-master' 2020-02-15 16:01:25 +00:00
a1f6bd55b6 Add -a to list-keys to also list keys without notes with -N, suggested
by Shehu Dikko.
2020-02-15 15:08:08 +00:00
a4d8437bc2 Merge branch 'obsd-master' 2020-02-11 08:01:30 +00:00
dc882adb2e Remove unused variables from Ben Boeckel, and a Pp from jmc. 2020-02-11 07:01:08 +00:00
54553903de Merge branch 'obsd-master' 2020-02-05 14:01:26 +00:00
fb29242168 Make list-keys description clearer in tmux.1 and remove an unused variable. 2020-02-05 13:06:49 +00:00
8b22da69b6 Merge branch 'obsd-master' 2020-01-29 10:01:25 +00:00
7a15d10bf4 Remove extra Pp (from jmc) and add a missing word. 2020-01-29 08:28:17 +00:00
f165221dc4 Reduce a difference with portable tmux by adding the -V flag and
#{version} format; on OpenBSD these just report the OpenBSD version.
2020-01-28 10:44:30 +00:00
f3ea318a04 Merge branch 'obsd-master' 2020-01-27 10:01:27 +00:00
2c38e01b54 Expand description of start-server. 2020-01-27 09:04:47 +00:00
d0b8d036be Add support for adding a note to a key binding (with bind-key -N) and
use this to add descriptions to the default key bindings. A new -N flag
to list-keys shows key bindings with notes rather than the default
bind-key command used to create them. Change the default ? binding to
use this to show a readable summary of keys.

Also extend command-prompt to return the name of the key pressed and add
a default binding (/) to show the note for the next key pressed

Suggested by Alex Tremblay in GitHub issue 2000.
2020-01-27 08:53:13 +00:00
0eb7b54731 Merge branch 'obsd-master' 2020-01-25 18:01:26 +00:00
9169ee0e87 Mention swap-window -d, GitHub issue 2068. 2020-01-25 16:40:32 +00:00
e9b1294331 Merge branch 'obsd-master' 2020-01-12 22:01:26 +00:00
193e637de0 The terminal type was never as much use as I expected so remove it in
favour of a couple of flags for the features used (DECSLRM and DECFRA).
Also rename the flag for no xenl to be more obvious while here.
2020-01-12 21:07:07 +00:00
7110226b96 Merge branch 'obsd-master' 2020-01-02 00:01:29 +00:00
ac85a3e0d3 Document client exit messages. 2020-01-01 22:12:05 +00:00
b931bbb319 Merge branch 'obsd-master' 2019-12-26 12:01:26 +00:00
817d199cbb Add a number of new formats to inspect what sessions and clients a
window is present or active in. From Tyler Culp in GitHub issue 2034.
2019-12-26 11:04:58 +00:00
67d2408279 Merge branch 'obsd-master' 2019-12-24 12:01:25 +00:00
07e37479c2 Fix name of option, GitHub issue 2030. 2019-12-24 09:57:11 +00:00
5f5f029e3b Merge branch 'obsd-master' 2019-11-28 12:18:41 +00:00
2349b1dbef Make a best effort to set xpixel and ypixel for each pane and add
formats for them.
2019-11-28 09:45:15 +00:00
067604bf8c Store xpixel/ypixel from TIOCGWINSZ and add formats. 2019-11-28 09:05:34 +00:00
daa93b3fdc Merge branch 'obsd-master' 2019-11-25 16:01:27 +00:00
1ebd8c1234 Add p format modifier for padding to width. 2019-11-25 15:04:15 +00:00
0d3f306c8e Merge branch 'obsd-master' 2019-11-18 10:01:25 +00:00
350a434939 Add -f for full size to join-pane (like split-window), from Theo Buehler. 2019-11-18 09:43:31 +00:00
dbdff241b2 Merge branch 'obsd-master' 2019-11-15 12:01:27 +00:00
f3dc38dcae Handle OSC 7 (a VTE extension) and put the result in a new format (pane_path). 2019-11-15 11:16:53 +00:00
518a687886 Merge branch 'obsd-master' 2019-11-14 10:01:29 +00:00
08b07b1a08 Add an option to set the key sent by backspace for those whose system
uses ^H rather than ^?. GitHub issue 1969.
2019-11-14 07:55:01 +00:00
eb215d3d3f Merge branch 'obsd-master' 2019-11-07 08:01:26 +00:00
c225262e13 Add -F flag to send-keys to expand formats in search-backward and
forward copy mode commands, this makes it easier to use the cursor_word
and cursor_line formats. From Anindya Mukherjee in GitHub issue 1964.
2019-11-07 07:11:25 +00:00