Nicholas Marriott
c96a2a3c9e
Rename variables to something a but more understandable.
2012-09-03 10:02:39 +00:00
Nicholas Marriott
7263fa36eb
add cmd-choose-list to allow arbitrary options to be selected. From
...
Thomas Adam.
2012-09-03 09:57:57 +00:00
Nicholas Marriott
adc9fad4ac
Remove an unused variable.
2012-09-03 09:36:07 +00:00
Nicholas Marriott
9247c90d69
Send notifications to control clients. Also don't redraw client when
...
suspended.
2012-09-03 09:32:38 +00:00
Nicholas Marriott
a679a4a708
Change format of choose-tree arrows slightly, from Romain Francoise.
2012-09-03 09:01:16 +00:00
Nicholas Marriott
2e43372d0b
If stdin in the client is enable immediately, tmux will eat anything
...
sent to stdin before it is needed, which can be inconvenient (eg pasting
commands). Instead, start with stdin disabled and reuse MSG_STDIN from
server->client to mean that stdin should be enabled. Based on a diff
from Chris Johnsen.
2012-09-03 08:48:57 +00:00
Nicholas Marriott
473911fb73
Can't call evtimer_pending on uninitialized events, call
...
evtimer_initialized first. Reported by Vladimir Lomov, fix from Thomas
Adam slightly modified by me.
2012-09-03 06:26:48 +00:00
Nicholas Marriott
84a4007b06
Change a log to fprintf that was missed last time around, from Tiago Cunha.
2012-08-27 21:35:11 +00:00
Nicholas Marriott
753775033a
Instead of requiring a prompt to enter all numbers >10, go back to
...
0-9a-z and add A-Z and enter the prompt when M-0 to M-9 are pressed
(like in copy mode). Prompted by request from mcbride@, help from Thomas
Adam.
2012-08-27 21:29:23 +00:00
Nicholas Marriott
d39c58c01c
xterm won't reach version 500 for a while so set that as the upper limit.
2012-08-21 10:08:11 +00:00
Nicholas Marriott
58e8e0eac8
Fix up window reference counting and don't crash if the rename timer
...
fires while the window is dead but still referenced. Fixes problem
reported by Michael Scholz.
2012-08-21 10:00:33 +00:00
Nicholas Marriott
a1e4908ed7
Boldify windows with alerts in choose-* list.
2012-08-14 09:17:14 +00:00
Nicholas Marriott
f61fc576d9
Tidy up tty_write, from Sean Estabrooks.
2012-08-14 08:58:25 +00:00
Nicholas Marriott
73c6785538
Use a separate define for each default format template and strip clutter
...
from the choose-tree defaults.
2012-08-14 08:51:53 +00:00
Nicholas Marriott
6804d5841e
Add a patch missed during a merge sometime to use
...
TAILQ_FOREACH_SAFE. From Tiago Cunha.
2012-08-14 08:15:00 +00:00
Nicholas Marriott
20129b7bf9
Simplify width calculation (all numbers always sequential) and don't
...
rely on uninitialized data, from Thomas Adam.
2012-08-12 06:22:26 +00:00
Nicholas Marriott
a194430e5d
Remove dead code, from Sean Estabrooks.
2012-08-11 07:32:16 +00:00
Nicholas Marriott
cf2e65c0e2
Another missing format from sam at sltosis.org.
2012-08-11 07:10:01 +00:00
Nicholas Marriott
8889a48f9b
Fix a return type.
2012-08-11 06:46:47 +00:00
Nicholas Marriott
a3dec6bece
Instead of numbering choose mode items 0-9a-z and then nothing, number
...
them all and if there are more than 10 use a prompt when 0-9 is
pressed. From Thomas Adam.
2012-08-11 06:45:33 +00:00
Nicholas Marriott
ff4097e02c
Add some missing formats from Samuel Le Thiec.
2012-08-11 05:55:12 +00:00
Nicholas Marriott
89a96b05fa
Document pane_index variable, from sam at sltosis dot org.
2012-07-15 06:51:57 +00:00
Nicholas Marriott
5385a9bb34
Add a queue of notifys and a way to turn them off and on (we do not want
...
notifys to happen during some commands). Based on code from George
Nachman.
2012-07-13 06:27:41 +00:00
Nicholas Marriott
35a8a61254
Nuke unused variable from Thomas Adam.
2012-07-12 13:03:42 +00:00
Nicholas Marriott
ede8312d59
Make command exec functions return an enum rather than -1/0/1 values and
...
add a new value to mean "leave client running but don't attach" to fix
problems with using some commands in a command sequence. Most of the
work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.
2012-07-11 07:10:15 +00:00
Nicholas Marriott
df912e3540
xfree is not particularly helpful, remove it. From Thomas Adam.
2012-07-10 11:53:01 +00:00
Nicholas Marriott
a3391692ad
Move a NULL check inside a function, from Tiago Cunha.
2012-07-09 09:55:57 +00:00
Nicholas Marriott
91f54b59ac
Fix choose-tree usage string.
2012-07-09 07:08:03 +00:00
Jason McIntyre
b0f4f94b5b
remove extraneous line;
2012-07-08 17:24:29 +00:00
Nicholas Marriott
f20c6fe009
Add choose-tree command to show windows and sessions in the same
...
list. Change choose-window and -session to use the same code. From
Thomas Adam.
2012-07-08 16:04:38 +00:00
Nicholas Marriott
191a92c0c6
Sort SRCS list.
2012-07-08 15:24:08 +00:00
Nicholas Marriott
63f5c38023
Clear flags across all sessions, from Thomas Adam.
2012-07-08 07:27:32 +00:00
Nicholas Marriott
67b926cf3c
Provide common helper function for adding windows and sessions to choose
...
lists and expand %% in command before using it rather than at callback
time. From Thomas Adam.
2012-06-25 14:27:25 +00:00
Nicholas Marriott
5b6f78186c
Clean up and simplify the choose mode code, from Thomas Adam.
2012-06-25 14:08:55 +00:00
Nicholas Marriott
39abca401a
Trim a blank line.
2012-06-25 13:49:16 +00:00
Nicholas Marriott
a7917430d8
Remove a couple of unused variables from redbrain at gcc dot gnu dot org.
2012-06-20 12:55:55 +00:00
Nicholas Marriott
0f00c3b47a
Actually write all the data to stdout/stderr.
2012-06-18 13:34:56 +00:00
Nicholas Marriott
2942eca895
Add a skeleton mode to tmux (called "control mode") that let's tmux
...
commands be sent and output received on stdout. This can be used to
integrate with other terminal emulators and should allow some other
things to be made simpler later. More to come so doesn't do much yet and
deliberately not documented.
2012-06-18 13:16:42 +00:00
Nicholas Marriott
7c39850d1f
Tidy up bell code, from Thomas Adam.
2012-06-18 10:58:44 +00:00
Nicholas Marriott
a13b4a819a
Add a couple of NULL pointer checks to key binding functions, from
...
jspenguin on SF bug 3535531.
2012-06-18 09:58:02 +00:00
Nicholas Marriott
a4a2c68fa9
Do not crash when the current session has no window, fixes a bug
...
reported by Giorgio Lando. Fix from Thomas Adam.
2012-06-18 09:20:19 +00:00
Nicholas Marriott
2113115cdd
Add -a for kill-session, from Thomas Adam.
2012-06-18 09:16:15 +00:00
Nicholas Marriott
038e8b770d
Add -a flag for detach-client, from Thomas Adam.
2012-06-18 09:15:22 +00:00
Nicholas Marriott
04ac61ecd7
Simplify references to alerts in the man page, from Thomas Adam.
2012-06-18 09:13:12 +00:00
Nicholas Marriott
021e95b09f
Do not use stderr for log file and don't call log_close when not needed.
2012-05-30 15:01:21 +00:00
Nicholas Marriott
db20f2d907
Add pane title to choose-window template and use the right index for the
...
pane, from Romain Francoise.
2012-05-29 08:15:45 +00:00
Nicholas Marriott
63d109fb7f
Use RB_FOREACH_SAFE as winlinks are being removed, from Chris Johnsen.
2012-05-29 08:12:13 +00:00
Nicholas Marriott
226f9fa012
Use session from -t for killw -a, from Chris Johnsen.
2012-05-29 08:11:34 +00:00
Nicholas Marriott
f51c55c3f0
Use default-shell not _PATH_BSHELL to spawn commands, pointed out by
...
Dennis G?nnewig and Thomas Adam.
2012-05-28 08:55:43 +00:00
Nicholas Marriott
fbf2bd865c
Trim a double space from template.
2012-05-28 08:00:46 +00:00