nicm
17cf1b21c6
Pass flags into cmd_find_from_* to fix prefer-unattached, reported by
...
Thomas Sattler.
2017-08-30 10:33:57 +00:00
nicm
a7d1ee5433
Redraw rectangle selections properly when cursor at end, GitHub issue 992.
2017-08-29 20:26:25 +00:00
nicm
5fc0be5045
Support REP escape sequence (\033[b).
2017-08-29 09:28:45 +00:00
nicm
9852bd743c
Check for complete keys before escape prefix, allows keys to be defined
...
with a leading escape. GitHub issue 1048.
2017-08-29 09:18:48 +00:00
nicm
fe4467ad2b
Do not forbid targets to specify non-visible panes - the checks for
...
visibility are better where the target is used. GitHub issue 1049.
2017-08-28 12:36:38 +00:00
nicm
fccfc4e4be
Do not allow the current line of screen when the preview is toggled,
...
from Thomas Adam.
2017-08-27 09:08:36 +00:00
nicm
25cf126de8
Use kind and kri for S-Up/Down as well as kUP and kDN.
2017-08-27 08:33:55 +00:00
nicm
3c63ad4a9c
When tty is error or closed, remove client. Reported by Thomas Sattler.
2017-08-24 08:48:37 +00:00
nicm
08b125194e
Key (v) and flag (-N) to toggle preview in choose modes.
2017-08-23 09:39:11 +00:00
nicm
1d60dd5872
Fix searching when match is at end of line, from Brad Town.
2017-08-23 09:18:22 +00:00
nicm
f0ce29c341
Allow multiple bells even if there is an existing bell (but not activity
...
or silence), from Brad Town.
2017-08-23 09:16:39 +00:00
nicm
e1b3dc89d2
Run alert hooks based on the options rather than unconditionally, from
...
Brad Town.
2017-08-23 09:14:21 +00:00
nicm
bbe9da063e
Same as previous for \r alone.
2017-08-21 21:02:58 +00:00
nicm
7ec2a2b9ce
Do not emit \r\n to move to column 0 if there are margins, because it
...
will instead move to the margin left.
2017-08-21 21:01:21 +00:00
nicm
768740ae98
Fix example for user-keys.
2017-08-19 20:40:16 +00:00
nicm
8daa1d5f54
Add monitor-bell window option to match the activity and silence
...
options, from Brad Town.
2017-08-17 08:37:38 +00:00
nicm
c6a8ad23a1
Add -d flag to display-panes to specify timeout, and make 0 mean no
...
timeout. From Laurens Post.
2017-08-16 12:12:54 +00:00
nicm
c1ec28a34b
Rename BELL_* values to ALERT_* now they are used by more than bells,
...
based on a diff from Brad Town.
2017-08-16 11:46:08 +00:00
nicm
ac2ba0961b
Fix filtering so it works after the change to only show windows if they
...
have multiple panes.
2017-08-09 13:44:36 +00:00
nicm
5dd5543fe4
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.
2017-08-09 11:43:45 +00:00
nicm
31b06571aa
Hooks for after-select-pane and after-select-window.
2017-08-08 09:21:20 +00:00
nicm
6f9b9655d7
Add selection_present format so commands in copy mode can use it, GitHub
...
issue 1028.
2017-08-02 11:10:48 +00:00
nicm
b4c9f6edba
Show pane title in window list for windows with only one pane.
2017-07-28 10:59:58 +00:00
nicm
3df7c91f1a
Add pane_at_left/right/top/bottom formats, from Amos Bird.
2017-07-27 10:42:05 +00:00
nicm
b1bd0c7fc1
Always reset the alerts timer so it works even if activity and silence
...
are enabled on the same window.
2017-07-26 16:16:25 +00:00
nicm
76887b1d27
Make bell, activity and silence alerting more consistent:
...
- remove the bell-on-alert option;
- add activity-action and silence-action options with the same possible
values as the existing bell-action;
- add "both" value for the visual-bell, visual-activity and
visual-silence options to trigger both a bell and a message.
This means all three work the same way. Based on changes from Yvain Thonnart.
2017-07-26 16:14:08 +00:00
nicm
3bb426d92c
Use the actual width written rather than the possible width to clear.
2017-07-21 22:55:45 +00:00
nicm
8c6ad55320
Trim trailing spaces from full line when it is clearly OK to do so.
2017-07-21 14:25:29 +00:00
nicm
e0d49ad758
Allow ispunct() as well as isalnum() when parsing initial window names.
2017-07-21 12:58:02 +00:00
nicm
11e2af6df7
Add -c for respawn-pane and respawn-window, from J Raynor.
2017-07-21 09:17:19 +00:00
nicm
932f6cfbfc
Because ignore SIGCHLD early, letting signal_del restore it doesn't work
...
correctly, so set it explicitly back to default (and the others for good
measure).
2017-07-14 18:49:07 +00:00
nicm
2678fe53f5
Fix redraw defer code in the presence of multiple clients - the timer
...
may be needed for all of them, so don't delete it on the first; and
don't skip setting the redraw flag if the timer is already running.
Reported by Pol Van Aubel in GitHub issue 1003.
2017-07-14 08:04:23 +00:00
nicm
8b84fc177c
Line up keys in tree mode, and don't expand windows with one pane. From
...
Thomas Adam.
2017-07-12 14:31:06 +00:00
nicm
fba6140a4a
Do not need to set up USR2 twice.
2017-07-12 12:35:31 +00:00
nicm
51112221ee
Block signals between forking and clearing signal handlers (or calling
...
event_reinit) - if the child gets a signal and fires the libevent signal
handler during this period it could write a signal into the parent's
signal pipe. GitHub issue 1001 from Aaron van Geffen.
2017-07-12 10:04:51 +00:00
nicm
0453ad0146
Move signal code into proc.c.
2017-07-12 09:24:17 +00:00
nicm
ed3cfaafb2
Make shell_command a global like other stuff rather than making it an
...
exception and using callback argument.
2017-07-12 09:21:25 +00:00
nicm
d0d42dc4cb
proc_send_s now seems unnecessary.
2017-07-12 09:07:52 +00:00
nicm
58b796608f
Some extra logging to show why tmux might exit.
2017-07-09 22:33:09 +00:00
nicm
bfaa885f10
Fix size of rightmost preview section.
2017-07-07 16:27:26 +00:00
nicm
9913cce3ba
Add a pane_pipe format to show if pipe-pane is active, GitHub issue 990.
2017-07-07 14:39:45 +00:00
nicm
1f7ca973c5
When working out the current client (for example for switch-client with
...
no target), prefer clients attached to the current session if there is
one. GitHub issue 995 from Jan Larres.
2017-07-07 07:13:14 +00:00
nicm
53d4ed22e8
< and > keys to scroll preview list left and right in tree mode.
2017-07-04 22:21:31 +00:00
nicm
bedf8bd437
Handle 0 size of preview box in caller.
2017-07-04 12:26:14 +00:00
nicm
4039802fce
Change session and window preview so that the current window or pane is
...
always shown.
2017-07-03 22:48:02 +00:00
nicm
6ee0afb579
Change previous to not wait for both process exit and pty close -
...
instead if there is a pipe-pane active, do not exit until all data is
read (including any libevent hasn't seen yet). Fixes problem reported by
Theo Buehler and still seems to solve the original issue.
2017-07-03 12:38:50 +00:00
nicm
28687f2d55
Do not close panes until process has exited and any outstanding data
...
has been written to the pipe-pane event if there is one. GitHub issue 991.
2017-07-03 08:16:03 +00:00
nicm
42285ac989
Try C.UTF-8 which is also a commonly useful locale on some platforms,
...
from Romain Francoise.
2017-07-03 08:08:30 +00:00
nicm
fa677fc0e1
Don't write over right border.
2017-06-30 22:37:35 +00:00
nicm
b565644c81
Fix previous when we end up able to show no panes.
2017-06-30 22:36:11 +00:00