| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
| |
Permit panes to be referred to as "top", "bottom", "top-left" etc, if the right
pane can be identified.
|
|
|
|
|
|
| |
vte is buggy and doesn't home the cursor after changing the scroll
region. Several people are hitting this, so add a workaround.
|
|
|
|
|
| |
Wrap at 80 columns.
|
|
|
|
|
|
|
| |
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...
|
|
|
|
|
|
|
|
|
| |
Eliminate duplicate code and ease the passage for server-wide options by adding
a -w flag to set-option and show-options and making setw and showw aliases to
set -w and show -w.
Note: setw and showw are still there, but now aliases for set -w and show -w.
|
|
|
|
|
| |
Reflect the keypad mode of the application so that numlock works.
|
|
|
|
|
|
| |
Close the pane if the process died due to a signal, not just if it exited
normally.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
New command, capture-pane, which copies the entire pane contents to a paste
buffer. From Jonathan Alvarado.
|
|
|
|
|
|
| |
Look for mice and xterm keys before standard function keys as they are less
likely to be partial versions.
|
|
|
|
|
| |
Handle partial xterm function key sequences.
|
| |
|
|
|
|
|
| |
Add a couple of comments.
|
|
|
|
|
| |
This doesn't need to be u_int.
|
|
|
|
|
| |
Make types clearer and lint happier.
|
|
|
|
|
| |
Fix type - attributes should be u_char not int.
|
|
|
|
|
| |
Change paranoia check to check for <= 0 and to avoid warning.
|
|
|
|
|
|
| |
Tidy up various bits of the paste code, make the data buffer char * and add
comments.
|
|
|
|
|
|
| |
Continue rather than returning if not a mouse key, to avoid hanging on any
function key...
|
|
|
|
|
|
| |
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
the rest to reduce lint output.
|
|
|
|
|
| |
Rename a variable to something more helpful.
|
|
|
|
|
|
|
|
| |
Get a u_char from the string, otherwise it isn't possible to enter \0377 as it
is mistaken for EOF (doh).
Also drop an unused argument.
|
|
|
|
|
| |
Handle the possibility of partial mouse reads, and fix a comment while here.
|
|
|
|
|
| |
Emulate il1, dl1, ich1 to run (albeit slowly) with vt100 feature set.
|
|
|
|
|
|
| |
Output the right keys for application and number keypad modes (they were the
wrong way round).
|
|
|
|
|
|
|
| |
Add a -p flag to display-message to print the output rather than displaying in
the status line, this allows things like "display -p '#W'" to find the current
window index.
|
|
|
|
|
| |
Add cursor keys to the key names list.
|
|
|
|
|
|
|
| |
their act together, so add an ifdef to use ncurses.h instead of curses.h.
Untested.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Use home from struct passwd if HOME is empty as well as if it is NULL, and fix
a style nit. Both from Tiago Cunha.
|
|
|
|
|
|
| |
When -h and -p are given to split-window, calculate the percentage size using
the width instead of the height.
|
|
|
|
|
|
| |
Display UTF-8 properly in status line messages and prompt. Cursor handling is
still way off though.
|
|
|
|
|
| |
Remove oldest messages from log when limit is hit, not newest.
|
|
|
|
|
|
| |
Get some brackets in the right place so ## works. Also fix a space in a
comment.
|
| |
|
|
|
|
|
|
|
| |
Change status line drawing to create the window list in a separate screen and
then copy it into the status line screen. This allows UTF-8 in window names and
fixes some problems with #[] in window-status-format.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Two new options, window-status-format and window-status-current-format, which
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.
|
|
|
|
|
| |
tweak previous;
|
|
|
|
|
|
|
| |
Revert to xterm-keys off by default. It was on as an experiment to see if the
option could be removed, but it affects vi, so we have to keep the option, and
a conservative default is better.
|
|
|
|
|
|
| |
Tidy up by breaking the # replacement code into a separate function, also add a
few comments.
|
| |
|
|
|
|
|
|
| |
Don't interpret #() for display-message, it usually doesn't make sense and may
leak commands.
|
|
|
|
|
| |
Missed an unused variable :-/.
|
|
|
|
|
|
|
|
|
| |
Cleanup by moving various (mostly horrible) little bits handling UTF-8 grid
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.
|