bae95844d7
Merge branch 'obsd-master'
...
Conflicts:
format.c
window.c
2014-05-13 21:58:48 +01:00
b3e8d440ed
If multiple arguments are given to new-session, new-window,
...
split-window, respawn-window or respawn-pane, pass them directly to
execvp() to help avoid quoting problems. One argument still goes to "sh
-c" like before. Requested by many over the years. Patch from J Raynor.
2014-05-13 08:08:32 +00:00
b1a06ef22e
Add a copy mode key binding to copy to a named buffer. From J Raynor.
2014-05-13 07:54:20 +00:00
3dbacbb62b
Add support for named buffers. If you don't name a buffer, things work
...
much as before - buffers are automatically named "buffer0000",
"buffer0001" and so on and ordered as a stack. Buffers can be named
explicitly when creating ("loadb -b foo" etc) or renamed ("setb -b
buffer0000 -n foo"). If buffers are named explicitly, they are not
deleted when buffer-limit is reached. Diff from J Raynor.
2014-05-13 07:34:35 +00:00
f4ffaf5a7f
Just use char ** for argv like normal people, not char *const *.
2014-05-09 09:11:24 +00:00
94ccc6aeaa
Instead of forcing mouse scroll to 1 in choose mode, scale it down
...
instead. Means modifier keys still increase the line count, just not as
much. Based on a diff from Marcel Partap.
2014-05-08 07:54:47 +00:00
540f0b3e45
Both the two previous ways of navigating panes by direction have
...
irritating flaws:
a) The old way of always using the top or left if the choice is
ambiguous is annoying when the layout is unbalanced.
b) The new way of remembering the last used pane is annoying if the
layout is balanced and the leftmost is obvious to the user (because
clearly if we go right from the top-left in a tiled set of four we want
to end up in top-right, even if we were last using the bottom-right).
So instead, use a combination of both: if there is only one possible
pane alongside the current pane, move to it, otherwise choose the most
recently used of the choice.
2014-05-08 06:03:30 +00:00
3f54c9292f
Merge branch 'obsd-master'
2014-04-24 12:59:00 +01:00
bec6c807cd
There is no longer a need for a paste_stack struct or for global_buffers
...
to be global. Move to paste.c.
2014-04-24 09:14:43 +00:00
953c3ef47a
Merge branch 'obsd-master'
...
Conflicts:
Makefile
tmux.1
window.c
2014-04-23 11:26:11 +01:00
806520f025
Add some UTF-8 utility functions and use them to prevent the width limit
...
on formats from splitting UTF-8 characters improperly.
2014-04-17 15:37:55 +00:00
3e27be353d
Set PATH explicitly, either from client or session
...
environment. Previously it came from the session environment. From J
Raynor.
2014-04-17 13:02:59 +00:00
ada75af199
Don't limit the DCS buffer to 256 bytes, expand it as needed. Requested
...
by Suraj Kurapati.
2014-04-17 12:43:38 +00:00
2e98c9057d
Correct the dance to fix the active pane in join-pane by pulling the
...
(right) code from break-pane and window_remove_pane into a helper
function.
2014-04-17 09:13:13 +00:00
2740490e27
Remove the "info" message mechanism, this was only used for about five
...
mostly useless and annoying messages. Change those commands to silence
on success like all the others. Still accept the -q command line flag
and "quiet" server option for now.
2014-04-17 07:55:43 +00:00
992ef70fb6
Remove the monitor-content option and associated bits and bobs. It's
...
never worked very well. If there is a big demand for it to return, will
consider better ways to do it.
2014-04-17 07:36:45 +00:00
871b83cbab
Remove a leftover prototype and fix some spacing.
2014-04-16 21:16:19 +00:00
14a96df9ee
Remove the choose-list command to prepare for some later choose-* work.
2014-04-16 21:02:41 +00:00
0c99c7dbff
Merge branch 'obsd-master'
...
Conflicts:
Makefile
tty-keys.c
2014-04-05 12:36:14 +01:00
acef311fe3
Work out mouse scroll wheel effect when the mouse is first detected and
...
store it in struct mouse_event, reduce the scroll size the 3 but allow
shift to reduce it to 1 and meta and ctrl to multiply by 3 if the
terminal supports them, also support wheel in choose mode. From Marcel
Partap.
2014-04-03 08:20:29 +00:00
252a7373d6
Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also make
...
buffer_sample bigger to let it trim at window right edge.
2014-04-02 18:12:18 +00:00
d9960b2d4d
missed commit matching log.c
2014-04-01 05:50:30 +00:00
7bdb675469
GRID_DEBUG is no longer needed.
2014-03-31 21:42:27 +00:00
f155316be7
Remove unused log functions.
2014-03-31 21:42:05 +00:00
46593e7aa2
Add names for mouse button bits rather than using magic numbers, from
...
Marcel Partap.
2014-03-31 21:40:21 +00:00
fcdae6925a
Use hex constants rather than shifts for mouse events and flags, pointed
...
out by Marcel Partap.
2014-03-31 21:39:59 +00:00
0e4d1d8493
Add setb -a to append and a copy mode append command, from J Raynor with
...
minor changes.
2014-03-31 21:39:31 +00:00
b11de5adc7
Make session_attached a count and add session_many_attached flag.
2014-03-31 21:37:55 +00:00
9368914ee7
Add start-of-list, end-of-list, top-line and bottom-line in choice mode,
...
from madmaverick9 at roxxmail dot eu, similar diff a few days later from
Marcel Partap.
2014-03-31 21:36:43 +00:00
175f215187
Having three *clock* files is ridiculous, remove clock.c.
2014-03-31 21:34:08 +00:00
b1a87b2ee4
Remove log_debug2 as well and simplify log.c.
2014-03-07 16:05:29 +00:00
c5a30513ed
GRID_DEBUG is no longer needed.
2014-03-07 15:51:27 +00:00
ebe7bd7c8b
Remove unused log functions.
2014-03-07 15:49:09 +00:00
23e944c91d
Add names for mouse button bits rather than using magic numbers, from Marcel
...
Partap.
2014-03-06 12:00:30 +00:00
f15fcb6a1d
Use hex constants rather than shifts for mouse events and flags, pointed out by
...
Marcel Partap.
2014-03-06 11:53:46 +00:00
8c0edcbfa3
Add setb -a to append and a copy mode append command, from J Raynor with minor
...
changes.
2014-03-06 11:50:07 +00:00
b7f6356053
Make session_attached a count and add session_many_attached flag.
2014-03-06 11:25:27 +00:00
9134e4de1e
Add start-of-list, end-of-list, top-line and bottom-line in choice mode, from
...
madmaverick9 at roxxmail dot eu, similar diff a few days earlier from Marcel
Partap.
2014-02-26 22:22:07 +00:00
582c2671dd
Having three *clock* files is ridiculous, remove clock.c.
2014-02-26 21:59:33 +00:00
4273c1b80e
Use utempter to update utmp if it's around for configure, from madmaverick9 at
...
roxxmail dot eu.
2014-02-24 23:07:22 +00:00
f1828921df
Change terminal-overrides to a server option (now that we have them), it
...
doesn't make much sense as a session option.
2014-02-23 00:53:06 +00:00
d50e47fc4a
Merge branch 'obsd-master'
...
Conflicts:
Makefile
cmd-server-info.c
cmd-start-server.c
2014-01-31 21:39:56 +00:00
9f02feb9d0
Break up and simplify screen_redraw_screen.
2014-01-31 14:19:24 +00:00
945339b443
Allow replacing each of the many sets of separate foo-{fg,bg,attr}
...
options with a single foo-style option. For example:
set -g status-fg yellow
set -g status-bg red
set -g status-attr blink
Becomes:
set -g status-style fg=yellow,bg=red,blink
The -a flag to set can be used to add to rather than replace a style. So:
set -g status-bg red
Becomes:
set -ag status-style bg=red
Currently this is fully backwards compatible (all *-{fg,bg,attr} options
remain) but the plan is to deprecate them over time.
From Tiago Cunha.
2014-01-28 23:07:09 +00:00
c930fd5ff6
Remember the last active pane in the top-bottom or left-right cell so
...
that it can be restored when moving back to that cell with selectp
-L/-R/etc. From Suraj N Kurapati.
2014-01-28 22:19:17 +00:00
1a0d3cd5d3
Allow attach-session -t to accept a window and pane to select them on
...
attach. Based on a diff from J Raynor.
2014-01-09 14:20:55 +00:00
3e498cdb49
Merge branch 'obsd-master'
2013-11-14 07:51:26 +00:00
7fa55b0419
Key to swap to other end of selection (bound to o with vi keys), from J
...
Raynor.
2013-10-23 11:31:03 +00:00
bf35441608
Do not run any command line command from the client which starts the
...
server until after the configuration file completes. This prevents it
racing against run-shell or if-shell in .tmux.conf that run in the
background.
2013-10-20 17:28:43 +00:00
d0566a474a
Remove the KERN_PROC_CWD the proc_current_path format (which is the only
...
thing that uses it now).
2013-10-10 12:39:24 +00:00