summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-01-03Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262Nicholas Marriott
and supports larger terminals than the older way. If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all UTF-8 terminals. The option defaults to on if LANG etc are set in the same manner as the utf8 option. With help and based on code from hsim at gmx.li.
2011-01-03Handle a # at the end of a replacement string (such as status-left)Nicholas Marriott
correctly. Found by Thomas Adam.
2011-01-01Move the user-visible parts of all options (names, types, limit, defaultNicholas Marriott
values) together into one set of tables in options-table.c. Also clean up and simplify cmd-set-options.c and move a common print function into option-table.c.
2011-01-01suspend-client has used -t for the client target (like everything else)Nicholas Marriott
for ages, fix the usage string and man page and trim some leftover code.
2011-01-01Last few tables that should be const.Nicholas Marriott
2011-01-01Sprinkle a little more const.Nicholas Marriott
2011-01-01Another table that should be const.Nicholas Marriott
2011-01-01Key table should be const.Nicholas Marriott
2011-01-01Add a -P option to new-window and split-window to print the new windowNicholas Marriott
or pane index in target form (useful to pass it into other commands).
2011-01-01Don't reset the activity timer for unattached sessions every second,Nicholas Marriott
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@.
2011-01-01Remove unused variable.Nicholas Marriott
2010-12-31fix trailing whitespace;Jason McIntyre
2010-12-30Remove some unused defines.Nicholas Marriott
2010-12-30Fix BUFFERS section now they are global.Nicholas Marriott
2010-12-30Change from a per-session stack of buffers to one global stack which isNicholas Marriott
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.
2010-12-30Add a function to create window flags rather than doing the same thingNicholas Marriott
in two places. From Thomas Adam.
2010-12-29Support all four of the xterm mouse modes. Based on a diff from hsim atNicholas Marriott
gmx.li.
2010-12-29Allow the config file parser and source-file to return "don't exit" toNicholas Marriott
the client to let attach work from configuration files.
2010-12-27tweak previous;Jason McIntyre
2010-12-27Add a missing .Pp and sort options alphabetically, from Tiago Cunha.Nicholas Marriott
2010-12-23server_kill_window can modify the RB tree so don't use RB_FOREACH, fixesNicholas Marriott
crash seen by Dan Harnett.
2010-12-23Style tweaks.Nicholas Marriott
2010-12-21Store sessions in an RB tree by name rather than a list, this is tidierNicholas Marriott
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.
2010-12-20Fix another stray addition that was too early. Oops.Nicholas Marriott
2010-12-20Undo a change to next/previous session that got mixed in prematurely.Nicholas Marriott
2010-12-20Dead sessions are never on the active sessions list, so the SESSION_DEADNicholas Marriott
flag is effectively unused. Remove it.
2010-12-20Use pointer rather than index for the client's last session.Nicholas Marriott
2010-12-20Unify the way sessions are used by callbacks - store the address and useNicholas Marriott
the reference count, then check it is still on the global sessions list in the callback.
2010-12-19Don't nuke the index counter when a session group comes up.Nicholas Marriott
2010-12-19Add other-pane-height and other-pane-width options, allowing the widthNicholas Marriott
or height of the smaller panes in the main-horizontal and main-vertical layouts to be set. Mostly from David Goodlad.
2010-12-13Read ${X} environment variables in strings and $HOME from the globalNicholas Marriott
environment rather than getenv, this allows them to be updated during the configuration file.
2010-12-11Track the last session for a client and add a flag to switch-client andNicholas Marriott
a key binding (L) to move a client back to its last session.
2010-12-11Fix rectangle copy to behave like emacs - the cursor is not part of theNicholas Marriott
selection on the right edge but on the left it is.
2010-12-11Oops, these functions return a const char *, so make the local variableNicholas Marriott
const as well.
2010-12-11Make the prompt history global for all clients which is much more useful ↵Nicholas Marriott
than per-client history.
2010-12-10Rephrase a confusing sentence.Nicholas Marriott
2010-12-08In the built-in layouts, distribute the panes more evenly. Set theNicholas Marriott
default value of main-pane-width to 80, rather than 81. By Micah Cowan.
2010-12-06Add an option to alert (monitor) for silence (lack of activity) in aNicholas Marriott
window. From Thomas Adam.
2010-11-29If VISUAL or EDITOR contains "vi", configure mode-keys and status-keysNicholas Marriott
to vi. Based on a diff from martynas@, previously requested by a couple of other people.
2010-11-22There is somewhere that WINDOW_HIDDEN is getting set when it shouldn'tNicholas Marriott
be and I can't find it, but the flag itself is a useless optimisation that only applies to automatic-resize windows, so just dispose of it entirely. Fixes problems reported by Nicholas Riley.
2010-11-15Show more window and pane flags in list-* output, and put layout on theNicholas Marriott
same line.
2010-11-14Update man page for update-environment.Nicholas Marriott
2010-11-14Don't allow last and active window to become the same - a very bad moveNicholas Marriott
when the active window is closed and freed. Reported by sthen@.
2010-11-11Add XAUTHORITY to update-environment, requested by Andreas Kloeckner.Nicholas Marriott
2010-11-11Flag to flush all key bindings from Rob Paisley.Nicholas Marriott
2010-11-11Declaration in header should be extern.Nicholas Marriott
2010-11-01Typo, from Rob Paisley.Nicholas Marriott
2010-10-29We now send argv to the server after parsing it in the client to get theNicholas Marriott
command, so the client should not modify it. Instead, take a copy. Fixes parsing command lists, reported by mcbride@.
2010-10-23Add a last-pane command (bound to ; by default). Requested ages ago byNicholas Marriott
somebody whose name I have forgotten.
2010-10-23When removing a pane, don't change the active pane unless the activeNicholas Marriott
pane is actually the one being removed.