2fc84c7c34
Use key_bindings_remove for unbind-key -a to allow it to work from key
...
bindings. From "miaout17" SF bug 3392063.
2011-08-16 09:37:48 +00:00
6b734d1074
Correctly skip existing numbers when generating the name for a new
...
session.
2011-08-16 09:36:23 +00:00
cf90f2a29c
fix error in previous;
2011-07-30 18:27:57 +00:00
cc5bcbfb59
Extend the mode-mouse option to add a third choice which means the mouse
...
does not enter copy mode. Patch from SF bug 3374493.
In future the mode-mouse option is likely to die and be broken into
several smaller options.
2011-07-30 18:01:26 +00:00
be179f6d7e
Do not require a client here, or pipe-pane will not work from the
...
command line.
2011-07-30 17:52:32 +00:00
0252796a57
Sort options alphabetically, from Tiago Cunha.
2011-07-25 09:57:28 +00:00
7e423ea491
Unused variable.
2011-07-09 01:37:00 +00:00
9dacc1700b
Pass the right size to calloc (* not **).
2011-07-09 01:36:42 +00:00
d5269a2eed
Do not continue to send data to suspended/locked clients or there will
...
be a huge rush of it after they are resumed/unlocked. The main output
path was fine but status line updates and the terminal state reset code
were missed.
2011-07-08 21:51:40 +00:00
a8e9654b65
flags[] should be initialized. From Thomas Adam.
2011-07-08 15:18:20 +00:00
2de9b1e005
Make confirm-before prompt customizable with -p option like
...
command-prompt. Also move responsibility for calling status_replace into
status_prompt_{set,update} and add #W and #P to the default kill-window
and kill-pane prompts. By Tiago Cunha.
2011-07-08 06:37:57 +00:00
b4b3d9c936
Fix a couple of comments.
2011-07-08 06:28:05 +00:00
26aa0689a5
Show full targets for lsp/lsw -a.
2011-07-04 14:04:40 +00:00
a70379d8f9
Use screen_reinit for respawn-pane to keep history and call input_init
...
for respawn-window to break out of waiting for DCS/OSC to finish.
2011-07-04 13:35:37 +00:00
5e90476b25
Change the list-keys format so that it shows the keys using actual tmux
...
commands which should be able to be directly copied into the config
file. From Markus Schnalke, tweaked by me.
2011-07-04 00:31:57 +00:00
f12158bc25
Add an option to trigger the terminal bell when there is an alert, from
...
Marco Beck.
2011-07-03 19:07:54 +00:00
94f86edfee
Include the existing window and session name in the prompt when renaming
...
and add a new key binding ($) for rename session. From Tiago Cunha.
2011-07-03 18:18:15 +00:00
ad60a2c952
Allow the initial context on prompts to be set with the new -I option to
...
command-prompt. From Tiago Cunha.
2011-07-02 21:05:44 +00:00
1202284f37
PANE_FREEZE doesn't do anything anymore, so remove it.
2011-06-27 00:04:49 +00:00
0503f83c64
Add a couple of extra xterm-style keys that gnome terminal provides,
...
from Dustin Kirkland.
2011-06-23 10:02:49 +00:00
65177b82be
Add a respawn-pane command, from Marcel Partap.
2011-06-05 11:19:03 +00:00
2b60c648c4
Get rid of the layout string code which tries to walk through the layout
...
hierarchy and instead just look at what panes are actually in the window.
2011-06-05 10:53:05 +00:00
f537870909
Fix a typo, spotted by Michal Mazurek..
2011-05-30 21:02:28 +00:00
34e5ec1807
Trim another useless if statement, from Ailin Nemui.
2011-05-26 07:08:48 +00:00
480e48aa66
Memory leak in error path, from Tiago Cunha.
2011-05-25 17:51:31 +00:00
70d232289b
Nuke a redundant if statement, from Tiago Cunha.
2011-05-25 17:50:52 +00:00
240cae4c92
tweak the TERMINFO section; ok nicm
2011-05-21 10:04:17 +00:00
1af2021de6
Pass prompts through status_replace so that they can be more helpful
...
(such as showing the previous session name when renaming). From Tiago
Cunha.
2011-05-20 19:29:13 +00:00
3ea5e06bfb
Support DECSCUSR sequence to set the cursor style with two new
...
terminfo(5) extensions, Cs and Csr. Written by Ailin Nemui.
2011-05-20 19:17:39 +00:00
944b5e6fa0
Support xterm(1) cursor colour change sequences through terminfo(5) Cc
...
(set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked
by me and Ailin Nemui.
2011-05-20 19:03:58 +00:00
96e7f33da3
Support setting the xterm clipboard when copying from copy mode using
...
the xterm escape sequence for the purpose (if xterm is configured to
allow it).
Written by and much discussed Ailin Nemui, guidance on
xterm/termcap/terminfo from Thomas Dickey.
2011-05-18 20:24:29 +00:00
58908fd8c5
Add three new copy-mode commands - select-line, copy-line,
...
copy-end-of-line. From Dave Disser and Randy Stauner a while back.
2011-05-18 18:06:36 +00:00
f702dbfea2
Use xfree not free, from Tiago Cunha.
2011-05-18 08:07:44 +00:00
fb527c1bad
Use button mouse mode not any for copy mode, fixes issues with
...
putty. From Ailin Nemui.
2011-05-18 08:04:47 +00:00
ec3efab01e
Reset last pane properly when using break-pane as well, fixes a problem
...
reported to Debian by Hannes von Haugwitz (bug 622677).
2011-05-08 21:30:00 +00:00
583c885d68
Reset last pane on swap-pane across windows, fixes crash noticed by hsim
...
at gmx.li.
2011-05-08 21:12:52 +00:00
acfabf3a50
Only select pane on click, not drag. From hsim at gmx.li.
2011-05-08 20:45:35 +00:00
538af37c35
Fix a couple of memory leaks, from Tiago Cunha.
2011-05-08 20:37:04 +00:00
6f08472049
Fix a memory leak if cmd_pane_session succeeds, from Tiago Cunha.
2011-05-08 20:35:58 +00:00
f3741f0653
Add a new option, mouse-resize-pane. When on, panes may be resized by
...
dragging their borders. From hsim at gmx.li.
2011-05-08 20:34:12 +00:00
295ace6820
Use the tsl and fsl terminfo(5) capabilities to update terminal title
...
and automatically fill them in on terminals with the XT capability
(which means their title setting is xterm-compatible). From hsim at
gmx.li.
2011-05-08 19:53:06 +00:00
b0a88ebead
Change window with mouse wheel over status line if mouse-select-window
...
is on, from marcel partap.
2011-05-04 18:10:28 +00:00
a70df70d20
Don't need vis.h anymore.
2011-05-04 17:43:35 +00:00
b1dfc740a3
Don't use strnvis for the title as it breaks UTF-8. set-titles is now
...
off by default and we have to trust the terminal can understand what we
send it anyway so there isn't any harm.
2011-05-04 17:43:11 +00:00
7dddf56c08
Check if mouse-select-pane is ON not off when setting mouse flags,
...
reported by oga.
2011-05-04 17:40:32 +00:00
075816eb72
Only redraw the status line on command update, not the entire client
...
(big DOH).
2011-04-29 07:07:31 +00:00
eb288aae32
Provide #h for short hostname (no domain) from Michal Mazurek.
2011-04-24 21:32:07 +00:00
dc8fb9fb23
Tweak copy behaviour slightly in vi mode to be closer to real vi. From
...
Tiago Resende.
2011-04-24 21:06:12 +00:00
8738141913
When mode-mouse is on (it is off by default), automatically enter copy
...
mode when the mouse is dragged or the mouse wheel is used. Also exit
copy mode when the mouse wheel is scrolled off the bottom. Discussed
with and written by hsim at gmx dot li.
2011-04-19 21:31:33 +00:00
3970853feb
POSIX only guarantees uname() will return a non-negative value on
...
success.
ok nicm@
2011-04-19 20:12:47 +00:00