Up to [local] / src / usr.bin / tmux
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.38 / (download) - annotate - [select for diffs], Thu Mar 21 11:32:49 2024 UTC (2 months, 2 weeks ago) by nicm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored) to selected 1.15 (colored)
Use -p for default paste-buffer command in buffer mode, it will only do anything if the application asked for it. From Gregory Anders.
Revision 1.37 / (download) - annotate - [select for diffs], Thu Nov 3 08:41:53 2022 UTC (19 months, 1 week ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.36: +8 -1 lines
Diff to previous 1.36 (colored) to selected 1.15 (colored)
If there are no buffers, reset mode as soon as any key pressed. Fixes crash reported by Gaoyang Zhang in GitHub issue 3373.
Revision 1.36 / (download) - annotate - [select for diffs], Mon May 30 12:55:25 2022 UTC (2 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) to selected 1.15 (colored)
Spacing/style nits.
Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 20 19:50:17 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) to selected 1.15 (colored)
Hide struct args behind a couple of accessor functions.
Revision 1.34 / (download) - annotate - [select for diffs], Thu Jun 10 07:45:43 2021 UTC (3 years ago) by nicm
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored) to selected 1.15 (colored)
Fix warnings, from Jan Tache in GitHub issue 2692.
Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 12 06:50:25 2021 UTC (3 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE,
OPENBSD_6_9
Changes since 1.32: +57 -4 lines
Diff to previous 1.32 (colored) to selected 1.15 (colored)
Permit shortcut keys in buffer, client, tree modes to be configured with a format; the default remains the line number. GitHub issue 2636.
Revision 1.32 / (download) - annotate - [select for diffs], Thu Dec 3 07:12:12 2020 UTC (3 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.31: +13 -1 lines
Diff to previous 1.31 (colored) to selected 1.15 (colored)
Redraw any visible modes when status line changes so that formats like the pane title are updated. GitHub issue 2487. Also a man page fix from jmc.
Revision 1.31 / (download) - annotate - [select for diffs], Sat May 16 16:13:09 2020 UTC (4 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8
Changes since 1.30: +11 -62 lines
Diff to previous 1.30 (colored) to selected 1.15 (colored)
Move editor stuff to common code in popup.c.
Revision 1.30 / (download) - annotate - [select for diffs], Sat May 16 16:02:24 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.15 (colored)
Add a customize mode where keys and options may be browsed and changed, includes adding a brief description of each option. Bound to "C" by default.
Revision 1.29 / (download) - annotate - [select for diffs], Sat May 16 15:35:19 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.15 (colored)
Use VIS_CSTYLE for paste buffers also.
Revision 1.28 / (download) - annotate - [select for diffs], Sat May 16 15:24:28 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.27: +135 -1 lines
Diff to previous 1.27 (colored) to selected 1.15 (colored)
Add 'e' key in buffer mode to open the buffer in an editor.
Revision 1.27 / (download) - annotate - [select for diffs], Sat May 16 14:10:29 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.15 (colored)
Tweak the default choose modes formats: - Only show pane title if it is not default and not empty. - Add a prettier time format and use that instead of long ctime(). - Remove clutter and change the order.
Revision 1.26 / (download) - annotate - [select for diffs], Thu Apr 9 13:52:31 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored) to selected 1.15 (colored)
Some unnecessary assignments and unused variables.
Revision 1.25 / (download) - annotate - [select for diffs], Tue Feb 11 07:01:09 2020 UTC (4 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.15 (colored)
Remove unused variables from Ben Boeckel, and a Pp from jmc.
Revision 1.24 / (download) - annotate - [select for diffs], Fri Dec 13 09:15:13 2019 UTC (4 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.23: +12 -17 lines
Diff to previous 1.23 (colored) to selected 1.15 (colored)
Show UTF-8 in choose-buffer mode. From KOIE Hidetaka.
Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 3 10:47:23 2019 UTC (4 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.15 (colored)
Style nits in function arguments.
Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 16 11:49:12 2019 UTC (4 years, 9 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.21: +24 -48 lines
Diff to previous 1.21 (colored) to selected 1.15 (colored)
Add a flag to reverse sort in the various choose modes, from Benjamin Poirier in GitHub issue 1875.
Revision 1.21 / (download) - annotate - [select for diffs], Wed May 29 20:05:15 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.15 (colored)
Use VIS_CSTYLE for the arguments and add the missing escapes it can generate to the parser.
Revision 1.20 / (download) - annotate - [select for diffs], Tue May 28 07:18:42 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.19: +17 -14 lines
Diff to previous 1.19 (colored) to selected 1.15 (colored)
Change display-menu from taking a single string to a set of arguments, which is much easier to work with. Based on a diff from Avi Halachmi.
Revision 1.19 / (download) - annotate - [select for diffs], Sun May 12 08:58:09 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.18: +33 -3 lines
Diff to previous 1.18 (colored) to selected 1.15 (colored)
Add simple menus to tree, client, buffer modes.
Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 28 21:05:15 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.17: +15 -3 lines
Diff to previous 1.17 (colored) to selected 1.15 (colored)
Expand session and window formats for buffer filters.
Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 18 14:10:25 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored) to selected 1.15 (colored)
Add format variables for the default formats for the various modes (tree_mode_format and so on) and add a -a flag to display-message to list variables with values.
Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 12 20:02:47 2019 UTC (5 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)
DECRC and DECSC apparently need to preserve origin mode as well, based on a fix from Marc Reisner.
Revision 1.15 / (download) - annotate - [selected], Thu Mar 7 20:24:21 2019 UTC (5 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.14: +16 -14 lines
Diff to previous 1.14 (colored)
Add a separate mode struct for the active window mode if any.
Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 18 13:20:44 2018 UTC (5 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (colored) to selected 1.15 (colored)
Pass window into mode functions.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 28 08:55:44 2018 UTC (6 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored) to selected 1.15 (colored)
Add -Z flag to choose-tree, choose-client, choose-buffer to automatically zoom the pane when the mode is entered and unzoom when it exits, assuming the pane is not already zoomed. Add -Z to the default key bindings.
Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 3 17:02:33 2017 UTC (6 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.15 (colored)
Support mouse on preview in tree mode.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 2 22:00:42 2017 UTC (6 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.10: +8 -17 lines
Diff to previous 1.10 (colored) to selected 1.15 (colored)
Make the mode draw function use the parent screen directly rather than its own to avoid copying twice.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 25 11:26:11 2017 UTC (6 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.9: +32 -31 lines
Diff to previous 1.9 (colored) to selected 1.15 (colored)
Add P key to paste tagged in buffer mode, and trim some code that should no longer be necessary.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Aug 9 11:43:45 2017 UTC (6 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.8: +21 -14 lines
Diff to previous 1.8 (colored) to selected 1.15 (colored)
Add -F to choose-tree, choose-client, choose-buffer to specify the format of each line, as well as adding a couple of formats needed for the default display.
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 9 16:01:39 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.7: +21 -4 lines
Diff to previous 1.7 (colored) to selected 1.15 (colored)
Extend filters (f key) to buffer and client mode and add -f flag to specify to command.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 9 15:29:15 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.15 (colored)
Add -O option to choose-* to set initial sort order.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 9 15:17:20 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.15 (colored)
Default sort for buffer mode should be time not name.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 7 15:27:46 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.15 (colored)
Return 1 if name matches not 0, also fix some spaces.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 7 14:37:30 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.3: +20 -4 lines
Diff to previous 1.3 (colored) to selected 1.15 (colored)
Add simple searching (C-s and n) to the various choose modes: by name for client and tree, and by name and content for buffer.
Revision 1.3 / (download) - annotate - [select for diffs], Wed May 31 17:56:48 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.15 (colored)
Style and spacing nits.
Revision 1.2 / (download) - annotate - [select for diffs], Wed May 31 15:26:41 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.15 (colored)
Need time.h.
Revision 1.1 / (download) - annotate - [select for diffs], Tue May 30 21:44:59 2017 UTC (7 years ago) by nicm
Branch: MAIN
Diff to selected 1.15 (colored)
Rewrite of choose mode, both to simplify and tidy the code and to add some modern features. Now the common code is in mode-tree.c, which provides an API used by the three modes now separated into window-{buffer,client,tree}.c. Buffer mode shows buffers, client mode clients and tree mode a tree of sessions, windows and panes. Each mode has a common set of key bindings plus a few that are specific to the mode. Other changes are: - each mode has a preview pane: for buffers this is the buffer content (very useful), for others it is a preview of the pane; - items may be sorted in different ways ('O' key); - multiple items may be tagged and an operation applied to all of them (for example, to delete multiple buffers at once); - in tree mode a command may be run on the selected item (session, window, pane) or on tagged items (key ':'); - displayed items may be filtered in tree mode by using a format (this is used to implement find-window) (key 'f'); - the custom format (-F) for the display is no longer available; - shortcut keys change from 0-9, a-z, A-Z which was always a bit weird with keys used for other uses to 0-9, M-a to M-z. Now that the code is simpler, other improvements will come later. Primary key bindings for each mode are documented under the commands in the man page (choose-buffer, choose-client, choose-tree). Parts written by Thomas Adam.