Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-21 | Use home from struct passwd if HOME is empty as well as if it is NULL, and fix | Nicholas Marriott | |
a style nit. Both from Tiago Cunha. | |||
2009-11-20 | When -h and -p are given to split-window, calculate the percentage size using | Nicholas Marriott | |
the width instead of the height. | |||
2009-11-20 | Display UTF-8 properly in status line messages and prompt. Cursor handling is | Nicholas Marriott | |
still way off though. | |||
2009-11-20 | Remove oldest messages from log when limit is hit, not newest. | Nicholas Marriott | |
2009-11-19 | Get some brackets in the right place so ## works. Also fix a space in a | Nicholas Marriott | |
comment. | |||
2009-11-19 | Change status line drawing to create the window list in a separate screen and | Nicholas Marriott | |
then copy it into the status line screen. This allows UTF-8 in window names and fixes some problems with #[] in window-status-format. | |||
2009-11-19 | Two new options, window-status-format and window-status-current-format, which | Nicholas Marriott | |
allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet. | |||
2009-11-19 | tweak previous; | Jason McIntyre | |
2009-11-19 | Revert to xterm-keys off by default. It was on as an experiment to see if the | Nicholas Marriott | |
option could be removed, but it affects vi, so we have to keep the option, and a conservative default is better. | |||
2009-11-19 | Tidy up by breaking the # replacement code into a separate function, also add a | Nicholas Marriott | |
few comments. | |||
2009-11-19 | Don't interpret #() for display-message, it usually doesn't make sense and may | Nicholas Marriott | |
leak commands. | |||
2009-11-18 | Missed an unused variable :-/. | Nicholas Marriott | |
2009-11-18 | Cleanup by moving various (mostly horrible) little bits handling UTF-8 grid | Nicholas Marriott | |
data into functions in a new file, grid-utf8.c, and use sizeof intead of UTF8_DATA. Also nuke trailing whitespace from tmux.1, reminded by jmc. | |||
2009-11-18 | Add a per-client log of status line messages displayed while that client | Nicholas Marriott | |
exists. A new message-limit session option sets the maximum number of entries and a command, show-messages, shows the log (bound to ~ by default). This (and prompt history) might be better as a single global log but until there are global options it is easier for them to be per client. | |||
2009-11-18 | Mark -n keys with (no prefix) rather than []. | Nicholas Marriott | |
2009-11-17 | Permit top-bit-set characters to be entered in the status line. They could | Nicholas Marriott | |
already be set from the shell and are just passed through when printing (so invisible characters or displaying on terminals with different character sets may cause problems). Note that entering UTF-8 may not work and in any case currently the status line cannot display it correctly (outside of status-left/status-right). | |||
2009-11-17 | In choose mode, assign each item a number or lowercase letter from those | Nicholas Marriott | |
available and accept that as a shortcut key for the item. | |||
2009-11-16 | A screen can be one cell wide; don't crash if that is the case. | Nicholas Marriott | |
2009-11-16 | I made a complete horlicks of the last change, fix it so it doesn't either lead | Nicholas Marriott | |
to a double free or free the item after the end of the array. | |||
2009-11-13 | Tweak a comment and add some spacing. | Nicholas Marriott | |
2009-11-13 | Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the | Nicholas Marriott | |
command entry structs and a couple of functions to check/set the flags. | |||
2009-11-13 | Unreachable statement, found by lint. | Nicholas Marriott | |
2009-11-13 | Tidy up and fix some types, prompted by lint via deraadt. | Nicholas Marriott | |
2009-11-13 | imsg_read returns ssize_t not int, pointed out by lint via deraadt. | Nicholas Marriott | |
2009-11-13 | Destroy panes immediately rather than checking them all every loop. | Nicholas Marriott | |
2009-11-13 | Use winlink_remove() to remove old winlinks when synchronizing grouped sessions | Nicholas Marriott | |
rather than doing it manually and not adjusted the reference count. Fixes crash seen by Dan Harnett. | |||
2009-11-13 | Zap unused functions, prompted by deraadt. | Nicholas Marriott | |
2009-11-12 | Emulate the ri (reverse index) capability: this allows tmux to at least start | Nicholas Marriott | |
on Sun consoles (TERM=sun or sun-color), even if there appear to still be problems on some boxes (my Blade 100 is fine but edd's Blade 1000 shows odd screen corruption). | |||
2009-11-12 | Support rxvt-style keys again, but this time: support all the variations, put | Nicholas Marriott | |
them in as raw escape sequences rather than fiddling with the values from terminfo, put them /after/ the terminfo values so the latter take precedence. | |||
2009-11-11 | Rewrite a confusing loop when freeing the arg array on exit and move the check | Nicholas Marriott | |
for argv being NULL, prompted by parfait via deraadt. Also fix some definite brokenness when assigning multiple environment variables in arguments (such as "X=1 Y=2"). | |||
2009-11-11 | Add an explicit zero-length check for UTF-8 input data, prompted by a report | Nicholas Marriott | |
from parfait via deraadt. While here, add a statement to set the width when filling with _s if not enough space (width should never be high enough at the moment anyway), and wrap some long lines. | |||
2009-11-11 | Free the pane bufferevent when the fd is closed (the signal could come before | Nicholas Marriott | |
the error callback). | |||
2009-11-11 | Only need to chmod +x or -x the socket when a client is created, lost or | Nicholas Marriott | |
attached, rather than every event loop. | |||
2009-11-10 | There is no real standard for modifier plus function keys. Previously, tmux | Nicholas Marriott | |
output some from rxvt but in other ways did the same as xterm or other terminals, but this is a bit inconsistent. xterm's method is fairly sensible and we already support it (xterm-keys), so enable it by default instead. | |||
2009-11-10 | Don't output rxvtisms either. | Nicholas Marriott | |
2009-11-10 | Twiddling the last bit is an rxvtism, so do not support it in the table by | Nicholas Marriott | |
default. | |||
2009-11-10 | Whoops, this is needed for last commit as well. | Nicholas Marriott | |
2009-11-10 | Lookup key as a named key (eg 'Space') before checking for single character | Nicholas Marriott | |
keys, makes C-Space/M-Space etc resolve to the correct key code. | |||
2009-11-10 | Don't return 1 unless there was actually a problem (signal/lost server) rather | Nicholas Marriott | |
than for all events (normal exit/detach/etc). | |||
2009-11-09 | Just ignore tty fd errors rather than dying, stops the server dying if the | Nicholas Marriott | |
session is disconnected abrubtly (eg ssh ~.). | |||
2009-11-09 | The input key should be a u_char. Fixes top-bit-set input problem reported by | Nicholas Marriott | |
ajacoutot@. | |||
2009-11-09 | Constify buf. | Nicholas Marriott | |
2009-11-06 | Don't try enable/disable the event if the window pane is dead (fd == -1), as | Nicholas Marriott | |
the event will have been freed. | |||
2009-11-05 | Clear to the end of the screen from the right starting point when drawing | Nicholas Marriott | |
line-by-line (in panes or if ed not supported). Fixes problem spotted by Frank Terbeck. | |||
2009-11-05 | Old xterm F1-F4 are \033O_P not \033[O_P. | Nicholas Marriott | |
2009-11-05 | Unused variable. Aargh. | Nicholas Marriott | |
2009-11-05 | Switch the tty key tree over to an (unbalanced) ternary tree which allows | Nicholas Marriott | |
partial matches to be done (they wait for further data or a timer to expire, like a naked escape). Mouse and xterm-style keys still expect to be atomic. | |||
2009-11-05 | key_string_lookup_key uses a static buffer, so copy its output into the working | Nicholas Marriott | |
buffer before calling the command print function which can also use it (eg send-keys). | |||
2009-11-05 | Key flags are only used for initialisation so they are not needed in the main | Nicholas Marriott | |
tty_key struct. | |||
2009-11-05 | EVLOOP_ONCE takes care of the wakeup, so no need to call event_loopexit(NULL). | Nicholas Marriott | |