Commit Graph

582 Commits

Author SHA1 Message Date
c20eb0c0ae Make struct cmd local to cmd.c and move it out of tmux.h. 2020-04-13 08:26:27 +00:00
a1fc8f8b23 More style nits. 2020-04-09 15:35:27 +00:00
52e3d960e7 Merge branch 'obsd-master' 2020-04-09 16:01:45 +01:00
315961faec Some more, and use of wp->window before wp NULL check in format.c. 2020-04-09 13:53:50 +00:00
5d0eb619f1 Restore pane_current_path format from portable tmux, it is no longer
used by default and is very useful.
2020-04-08 11:26:07 +00:00
0bb1a50b88 Merge branch 'obsd-master' 2020-03-31 16:01:29 +01:00
2a4714e76b Add session_path from Chris Ruegge in GitHub issue 2142. 2020-03-31 11:58:05 +00:00
c9cd8f9b5d Merge branch 'obsd-master' 2020-03-31 10:01:29 +01:00
3bbd66c013 Move alternate screen into the screen rather than the pane. 2020-03-31 07:00:34 +00:00
88ca500546 Merge branch 'obsd-master' 2020-03-28 10:01:27 +00:00
e0b17e796b Add formats for top paste buffer by default. Also a tmux.1 fix from jmc. 2020-03-28 09:39:27 +00:00
e4efd59fe0 Merge branch 'obsd-master' 2020-03-20 20:01:34 +00:00
1a4e64ba69 Apply same menu items to view mode like copy mode. 2020-03-20 18:35:53 +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
e8273a993e Add a flag to run a background process in a pty as well, not used for
anything yet.
2020-03-19 13:43:18 +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
c391d50cbb Merge branch 'obsd-master' 2020-02-14 16:01:26 +00:00
58b47bf01b Fix top/bottom pane calculation with pane border status enabled,
reported by Stanislav Spassov.
2020-02-14 13:57:58 +00:00
ee3d3db364 Merge branch 'obsd-master' 2020-01-28 11:17:08 +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
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
0aa6c6f647 Merge branch 'obsd-master' 2019-12-26 16:01:25 +00:00
88ee5b1a73 Pass correct value into iterator callback for time formats. 2019-12-26 14:48:29 +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
34084fe666 Merge branch 'obsd-master' 2019-11-28 22:01:24 +00:00
c5d74b1deb Do not crash when a format doesn't exist, reported by Thomas Sattler. 2019-11-28 21:18:38 +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
5d0504ee11 Allow multiple substitutions in a single format. 2019-11-25 15:02:48 +00:00
dbdff241b2 Merge branch 'obsd-master' 2019-11-15 12:01:27 +00:00
5dfe9db788 Do not add path if it is NULL, duh. 2019-11-15 11:21:32 +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
b5de0a20d8 Merge branch 'obsd-master' 2019-10-23 10:01:27 +01:00
f7fb5df543 Use the existing code in format.c to add foramts for word and line at
cursor position in copy mode, from Anindya Mukherjee.
2019-10-23 07:42:05 +00:00
eb57cbcc29 Merge branch 'obsd-master' 2019-10-14 12:01:26 +01:00
b598bbcc2e Do not crash with pane_current_command if the pane is newly created and
has no shell set, from Thomas Adam.
2019-10-14 09:24:06 +00:00
2534aa4d2d Merge branch 'obsd-master' 2019-09-24 18:01:24 +01:00
48c684cbc2 Mouse formats don't work in copy mode so don't try to use them. 2019-09-24 14:50:08 +00:00
a5e36a4bd6 Merge branch 'obsd-master' 2019-09-13 04:01:25 +01:00
658ecb0777 Merge branch 'obsd-master' 2019-09-11 16:48:58 +01:00
a23ce1b45f Add window_marked_flag, GitHub issue 1887. 2019-09-11 06:43:17 +00:00
4b7e97ba53 Set up format tree for %if, GitHub issue 1896. 2019-09-10 07:50:33 +00:00
98ef369b27 Merge branch 'obsd-master' 2019-07-09 17:02:26 +01:00