summaryrefslogtreecommitdiffstats
path: root/names.c
AgeCommit message (Collapse)Author
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-04-11Turn automatic-rename off properly if turned off by renaming aNicholas Marriott
window. Reported by Romain Francoise.
2012-04-08Do not fire name timer when automatic-rename is off, from Tim Ruehsen aNicholas Marriott
while ago.
2012-03-17Check event_initialized before event_del if event may not have been setNicholas Marriott
up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
2012-03-09Add a missing call to window_set_name, from George Nachman.Nicholas Marriott
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
time now I've configured emacs to make them displayed in really annoying colours...
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott
the rest to reduce lint output.
2009-11-04Change window name change to use a timer event rather than a gettimeofday()Nicholas Marriott
check every loop.
2009-10-10When a window is zombified and automatic-rename is on, append [dead] to theNicholas Marriott
name.
2009-09-20Regularise some fatal messages.Nicholas Marriott
2009-09-01When using tmux as a login shell, there is currently no way to specify a shellNicholas Marriott
to be used as a login shell inside tmux, so add a default-shell session option. This sets the shell invoked as a login shell when the default-command option is empty. The default option value is whichever of $SHELL, getpwuid(getuid())'s pw_shell or /bin/sh is valid first. Based on a diff from martynas@, changed by me to be a session option rather than a window option.
2009-08-18Move another expensive options test to after a cheaper timer check/update.Nicholas Marriott
2009-07-08Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX,Nicholas Marriott
and some people may use shells which do not support it. Instead, make an empty default-command option mean a login shell, and fork it with a - in argv[0] which is the method used by login(1). Also fix the automatic-rename code to handle this correctly and to strip a leading - if present.
2009-06-05Remove trailing newlines, spaces, and tabs.Ray Lai
No binary change.
2009-06-03Cast char to u_char before passing to isalnum().Ray Lai
OK nicm@
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti