Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-26 | Continue rather than returning if not a mouse key, to avoid hanging on any | Nicholas Marriott | |
function key... | |||
2009-11-26 | Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to | Nicholas Marriott | |
the rest to reduce lint output. | |||
2009-11-26 | Rename a variable to something more helpful. | Nicholas Marriott | |
2009-11-26 | Get a u_char from the string, otherwise it isn't possible to enter \0377 as it | Nicholas Marriott | |
is mistaken for EOF (doh). Also drop an unused argument. | |||
2009-11-26 | Handle the possibility of partial mouse reads, and fix a comment while here. | Nicholas Marriott | |
2009-11-26 | Emulate il1, dl1, ich1 to run (albeit slowly) with vt100 feature set. | Nicholas Marriott | |
2009-11-25 | Output the right keys for application and number keypad modes (they were the | Nicholas Marriott | |
wrong way round). | |||
2009-11-24 | Add a -p flag to display-message to print the output rather than displaying in | Nicholas Marriott | |
the status line, this allows things like "display -p '#W'" to find the current window index. | |||
2009-11-22 | Add cursor keys to the key names list. | Nicholas Marriott | |
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@. |