Commit Graph

966 Commits

Author SHA1 Message Date
179d0686d7 For initial session, use size of command client even if detached. 2011-10-23 08:10:11 +00:00
b32254acda Ignore LC_ALL and LC_CTYPE if they are empty as well as unset. 2011-10-23 08:03:27 +00:00
16d75a6bf2 Add client formats, from Ben Boeckel. 2011-10-23 01:12:46 +00:00
e63909655c Plug a memory leak and update some comments, from Tiago Cunha. 2011-10-23 00:49:25 +00:00
6821ccc882 Add an else clause for if-shell, from "arno-" on SourceForge. 2011-10-18 08:57:01 +00:00
49ef0b4af3 Add a few more formats for panes (tty, pid, start cmd/cwd). 2011-10-02 06:55:48 +00:00
b1ed2d5bd9 Add -S option to refresh-client to redraw status line, from Marco Beck. 2011-09-28 20:11:21 +00:00
e6a59c4bee Reject $SHELL if it is not a full path. 2011-09-25 18:53:04 +00:00
f14da260c8 Tweaks to the format parts, from Tiago Cunha. 2011-09-23 18:33:43 +00:00
b6bd9515ea Fix typo: ) -> }. 2011-09-23 12:23:24 +00:00
5985143813 Mark dead panes with some text saying they are dead, suggested by and
with help from Randy Stauner.
2011-09-05 23:40:51 +00:00
9800eaa63f Another memory leak from Tiago Cunha. 2011-08-30 09:20:17 +00:00
423649b2c6 Plug memory leak, from Tiago Cunha. 2011-08-30 09:18:52 +00:00
2888843a18 tweak previous; 2011-08-26 13:07:49 +00:00
4a5dff3f11 Add initial framework for more powerful formatting of command output and
use it for list-{panes,windows,sessions}. This allows more descriptive
replacements (such as #{session_name}) and conditionals.

Later this will be used for status_replace and list-keys and other
places.
2011-08-26 10:53:16 +00:00
4697b35d4f -lm is no longer needed, from Tiago Cunha. 2011-08-25 10:52:23 +00:00
0588168a64 Support \ for line continuation in the configuration file, from Julius
Plenz.
2011-08-24 10:46:01 +00:00
f01b7191a3 Add pane-base-index option, from Ben Barbour. 2011-08-24 10:29:57 +00:00
029c34ce6b Add a tty_bell wrapper function, from Dylan Alex Simon. 2011-08-24 09:58:44 +00:00
47d41d0203 There is no need to use sqrt()/INFINITY here which simplifies the code
and makes it more portable, from Havard Eidnes.
2011-08-22 10:14:15 +00:00
3657aa675e Fix a couple of memory leaks, from marcel partap. 2011-08-20 20:37:30 +00:00
88e9079870 Add a -r flag to switch-client to toggle the client read-only flag. From
Johan Commelin.
2011-08-16 10:00:52 +00:00
f95f792ddf Add up/down/left/right keys in vi edit mode. From "livibetter" SF bug
3385651.
2011-08-16 09:47:18 +00:00
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