nicm
c176361788
Remove unused variable from Thomas Adam.
2019-05-01 06:07:14 +00:00
nicm
429c4bc51b
Fix user options after show-hooks merge, GitHub issue 1704.
2019-04-30 18:02:03 +00:00
nicm
5a288b1efe
Don't redraw control clients, from George Nachman.
2019-04-30 06:21:30 +00:00
nicm
82c789ee58
Fix memory leak in window tree search, from Amos Bird.
2019-04-30 06:19:51 +00:00
nicm
ec81bd2399
Add support for keys to jump between matching brackets - C-M-f and C-M-b
...
in emacs, % in vi. Suggested by and help from Chris Barber in GitHub
issue 1666.
2019-04-29 06:55:21 +00:00
nicm
c4b0da5513
Support multiple occurances of the same argument. Use this for a new
...
flag -e to new-window, split-window, respawn-window, respawn-pane to
pass environment variables into the newly created process. From Steffen
Christgau in GitHub issue 1697.
2019-04-28 20:05:50 +00:00
nicm
dfb7bb6830
Merge hooks into options and make each one an array option. This allows
...
multiple commands to be easily bound to one hook. set-hook and
show-hooks remain but they are now variants of set-option and
show-options. show-options now has a -H flag to show hooks (by default
they are not shown).
2019-04-26 11:38:51 +00:00
nicm
f1e14f86c4
Destroy panes before options to avoid crash when forced into a mode by a
...
hook.
2019-04-26 10:24:26 +00:00
nicm
6644d209d2
Unbreak main-vertical and main-horizontal layouts.
2019-04-26 10:15:40 +00:00
nicm
2d65bbd941
options_array_item_value cannot return NULL.
2019-04-25 19:36:59 +00:00
nicm
a609e6361a
Need a fallback for -2 for aixterm colours.
2019-04-25 19:03:43 +00:00
nicm
32a81e197b
Make options_tostring allocate its result instead of using a stack
...
buffer (needed for something in the future).
2019-04-25 18:18:55 +00:00
nicm
1677bb0dea
Need to escape ].
2019-04-25 15:35:07 +00:00
nicm
567d3e27ab
Automatically scroll if dragging to create a selection with the mouse
...
and the cursor reaches the top or bottom line.
2019-04-25 06:34:57 +00:00
nicm
6aa0bedad2
Use bg not fg when adjusting for aixterm, from Ailin Nemui.
2019-04-24 20:32:31 +00:00
nicm
c6e39976c6
Do not loop forever if there is a nonprintable character in the format.
2019-04-24 20:27:52 +00:00
nicm
b9022e33ea
Somehow missed these bits in last commit.
2019-04-23 20:40:03 +00:00
nicm
772b3b7a06
Indicate an array option with a flag rather than a special type so that
...
in future will not have to be strings.
2019-04-23 20:36:55 +00:00
nicm
564e44adc6
Add -no-clear variants of copy-selection and copy-pipe which do not
...
clear the selection after copying. Make copy-pipe clear the selection by
default to be consistent with copy-selection. From Avi Halachmi.
2019-04-23 09:39:07 +00:00
nicm
6752f41c2a
Do not try to resize if the parent cell is NULL, problem reported by
...
Sunil Nimmagadda.
2019-04-23 09:15:24 +00:00
nicm
5b9211d827
Copy the code to infer the option type to show-options and document it.
2019-04-18 12:22:07 +00:00
nicm
3f189945d8
Pass target client and session to load_cfg from source-file so formats
...
work. Reported by Thomas Sattler.
2019-04-18 11:07:28 +00:00
nicm
f3ab05e7cd
Update session activity on focus event, from tafryn at gmail dot com.
2019-04-18 10:11:52 +00:00
jmc
2219f7cc73
mark up punctuation-as-macro-args properly;
2019-04-17 16:34:35 +00:00
nicm
1fd3b9ec1c
Fix minimum size check on split and size of first cell on spread out
...
with a pane status line.
2019-04-17 14:44:33 +00:00
nicm
da31eddadc
Rewrite main-vertical and horizontal to use the common spread out code
...
and to handle the case where the panes won't fit into the existing
window size.
2019-04-17 14:44:14 +00:00
nicm
c660e46149
Set the window size as well as the layout size when using the preset
...
layouts.
2019-04-17 14:43:49 +00:00
nicm
e3b1358bbc
Do not let the size of the pane status screen go negative.
2019-04-17 14:41:08 +00:00
nicm
5943cd1907
Document that switch-client can change all of session,window,pane and
...
check for % in the target as well as ":.".
2019-04-17 14:39:37 +00:00
nicm
78287e27c8
Break new window and pane creation common code from various commands and
...
window.c into a separate file spawn.c.
2019-04-17 14:37:48 +00:00
nicm
835ccbac46
select-word was missing from the command list, from pawel-slowik.
2019-04-08 17:55:51 +00:00
nicm
bb629f3be7
Current window style also needs to be tested for default.
2019-04-07 20:18:20 +00:00
nicm
1b5a8a0f09
Fix some warnings, from Thomas Adam.
2019-04-05 20:32:31 +00:00
nicm
f4aefb738e
Fix size check for splitw -f and top level pane size for tiled layout,
...
problems reported by Thomas Sattler.
2019-04-04 10:25:35 +00:00
nicm
f6c54f3f03
Do not load /etc/tmux.conf if given -f.
2019-04-03 06:43:19 +00:00
nicm
06d58b3b7b
screen_write_fast_copy can no longer assume the target screen is default
...
(it isn't for the pane status lines).
2019-04-03 06:43:04 +00:00
nicm
09f71ed1b2
Silence flag should use the same option as activity, reported by Thomas
...
Sattler.
2019-04-02 18:41:24 +00:00
nicm
7bcc0d16f2
Add an argument to copy commands to set the prefix for the buffer name,
...
allows buffers for different sessions to be named separately.
2019-04-02 09:03:39 +00:00
nicm
ffa4d48967
Store and restore cursor across reflow by working out a position based
...
on unwrapped lines, rather than a grid offset. Fixes problems reported
by Thomas Sattler and Paul de Weerd.
2019-04-02 08:45:32 +00:00
nicm
792fcb1dbf
Restore a check to stop scrolled lines becoming larger than total lines,
...
fixes a crash reported by Thomas Sattler.
2019-04-01 19:33:38 +00:00
nicm
d68a17a1df
Free old strings after they have been expanded in format_choose.
2019-03-29 09:33:24 +00:00
nicm
c6c4960b35
Fix offset of list ranges.
2019-03-28 22:18:46 +00:00
nicm
08bc226527
Expand session and window formats for buffer filters.
2019-03-28 21:05:15 +00:00
nicm
c1f0918f8a
Fix stop-selection, from Avi Halachmi.
2019-03-27 13:25:11 +00:00
nicm
9f8d193b11
Break copy mode commands into individual functions instead of a big load
...
of if statements.
2019-03-26 21:01:19 +00:00
nicm
d21f8ecc13
Add StatusDefault binding for the mouse on any otherwise unassigned
...
parts of the status line, from Avi Halachmi.
2019-03-25 18:59:55 +00:00
nicm
ff4d7d541f
Fix columns of cursor_character format in list.
2019-03-25 14:29:36 +00:00
nicm
517d673dbe
Ignore mouse on status line which are not part of a range, GitHub issue 1649.
2019-03-25 09:22:09 +00:00
nicm
b4a301f8fe
Clarify that styles can be space or comma separated, from Stephen Zapatka.
2019-03-22 10:45:17 +00:00
nicm
04a1fc9d36
I forgot to document resize-window, window-size and default-size;
...
reminded by okan@.
2019-03-22 09:33:04 +00:00