Age | Commit message (Collapse) | Author |
|
|
|
multiple times, also remove the default space in window_flags and use a
conditional to add it in window-status-format (this means additional
flags can be added in the option without extra spaces). From Thomas Adam
with tweaks by me.
|
|
|
|
|
|
|
|
recipe for errors.
|
|
|
|
Conflicts:
Makefile
cmd-link-window.c
cmd-unlink-window.c
|
|
|
|
|
|
Conflicts:
format.c
window.c
|
|
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.
|
|
Conflicts:
Makefile
tmux.1
window.c
|
|
environment. Previously it came from the session environment. From J
Raynor.
|
|
Conflicts:
Makefile
cmd-server-info.c
cmd-start-server.c
|
|
J Raynor.
|
|
descriptors rather than strings.
- Each session still has a current working directory.
- New sessions still get their working directory from the client that
created them or its attached session if any.
- New windows are created by default in the session working directory.
- The -c flag to new, neww, splitw allows the working directory to be
overridden.
- The -c flag to attach let's the session working directory be changed.
- The default-path option has been removed.
To get the equivalent to default-path '.', do:
bind c neww -c $PWD
To get the equivalent of default-path '~', do:
bind c neww -c ~
This also changes the client identify protocol to be a set of messages rather
than one as well as some other changes that should make it easier to make
backwards-compatible protocol changes in future.
|
|
When calling 'movew -r' on a session to reorder the winlinks, ensure
when adding back in the information for the lastw stack that we look up
the winlink based on the window and not its index.
Using the index doesn't make sense here because when comparing it to the
old set, it will never match since the winlink has been renumbered.
Bug reported by Ben Boeckel. Patch by Thomas Adam.
|
|
|
|
rather than strings.
- Each session still has a current working directory.
- New sessions still get their working directory from the client that created
them or its attached session if any.
- New windows are created by default in the session working directory.
- The -c flag to new, neww, splitw allows the working directory to be
overridden.
- The -c flag to attach let's the session working directory be changed.
- The default-path option has been removed.
To get the equivalent to default-path '.', do:
bind c neww -c $PWD
To get the equivalent of default-path '', do:
bind c neww -c '#{pane_current_path}'
The equivalent of default-path '~' is left as an exercise for the reader.
This also changes the client identify protocol to be a set of messages rather
than one as well as some other changes that should make it easier to make
backwards-compatible protocol changes in future.
|
|
When calling 'movew -r' on a session to reorder the winlinks, ensure when
adding back in the information for the lastw stack that we look up the
winlink based on the window and not its index.
Using the index doesn't make sense here because when comparing it to the old
set, it will never match since the winlink has been renumbered.
Bug reported by Ben Boeckel.
|
|
|
|
to use it, extended from a diff from George Nachman.
|
|
Aaron Jensen.
|
|
it, extended from a diff from George Nachman.
|
|
Jensen.
|
|
xfree is not particularly helpful, remove it. From Thomas Adam.
|
|
Clear flags across all sessions, from Thomas Adam.
|
|
|
|
|
|
Add a flag to move-window to renumber the windows in a session (closing
any gaps) and add an option to do this automatically each time a window
is killed. From Thomas Adam.
|
|
any gaps) and add an option to do this automatically each time a window
is killed. From Thomas Adam.
|
|
Add notify hooks for various events, the functions are currently empty
stubs but will be filled in for control mode later. From George Nachman.
|
|
stubs but will be filled in for control mode later. From George Nachman.
|
|
Correctly skip existing numbers when generating the name for a new
session.
|
|
session.
|
|
|
|
|Date: 2011/04/06 22:51:31
|Author: nicm
|Branch: HEAD
|Tag: (none)
|Log:
|Change so that an empty session name always means the current sessions
|even if given with, for example, -t '', and explicitly forbid empty
|session names and those containing a : when they are created.
|
|
even if given with, for example, -t '', and explicitly forbid empty
session names and those containing a : when they are created.
|
|
Check if the index is in use and fail before creating the child process,
rather than leaving a stray child on failure.
|
|
rather than leaving a stray child on failure.
|
|
Er, fix next and previous session functions to actually work, part 2.
|
|
Fix next and previous session functions to actually work.
|
|
|
|
|
|
Don't reset the activity timer for unattached sessions every second,
this screws up the choice of most-recently-used. Instead, break the time
update into a little function and do it when the session is attached.
Pointed out by joshe@.
|
|
this screws up the choice of most-recently-used. Instead, break the time
update into a little function and do it when the session is attached.
Pointed out by joshe@.
|
|
much more convenient and also simplifies lot of code. This renders
copy-buffer useless and makes buffer-limit now a server option.
By Tiago Cunha.
|
|
As a consequence buffer-limit is now a server option.
|
|
Store sessions in an RB tree by name rather than a list, this is tidier
and allows them to easily be shown sorted in various lists
(list-sessions/choose-sessions).
Keep a session index which is used in a couple of places internally but
make it an ever-increasing number rather than filling in gaps with new
sessions.
|