Nicholas Marriott
7d45e29683
Add a UTF-8 aware string length function and make UTF-8 in
...
status-left/status-right work properly. At the moment any top-bit-set
characters are assumed to be UTF-8: a status-utf8 option to configure this will
come shortly.
2009-06-03 16:05:46 +00:00
Nicholas Marriott
41d985ace3
Add missing documentation for the -a flag used to move to next/previous window
...
with alert.
2009-06-03 15:58:40 +00:00
Nicholas Marriott
e659aa86b9
Add a section summarising the status line. There are quite a number of status
...
line options, it is something many want to configure, and the meaning of some
bits weren't really documented.
2009-06-03 15:47:14 +00:00
Jason McIntyre
5823854b5e
undo a mistake found by sobrado;
2009-06-03 09:29:06 +00:00
Nicholas Marriott
c5dbec9e85
When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmux
...
crashes when trying to find the new active pane.
While here, nuke an unused pane flag.
Fixes PR 6160, reported by and a slightly different version of diff tested by
ralf.horstmann at gmx.de.
2009-06-03 07:51:24 +00:00
Jason McIntyre
646cfa6983
some cleanup; ok nicm
2009-06-03 06:49:05 +00:00
Ray Lai
fdda4142bf
Cast char to u_char before passing to isalnum().
...
OK nicm@
2009-06-03 04:03:16 +00:00
Nicholas Marriott
3f76a973ee
Recent code to try and detect if a terminal supports UTF-8 by printing to it
...
fails spectacularly on (at least) sparc64, so disable it for now. Thanks to
naddy and Josh Elsasser for help and testing.
2009-06-02 23:39:32 +00:00
Igor Sobrado
4215d009a5
remove unused flag; while here, make usage's output fit on 80-column displays.
2009-06-02 16:53:20 +00:00
Igor Sobrado
a35630838f
sort options alphabetically.
2009-06-02 16:46:00 +00:00
Pierre-Yves Ritschard
dc373abba8
spawn login shells by default, adapt manpage bits as well.
...
ok nicm@
2009-06-02 15:55:32 +00:00
Ray Lai
f60bc7e03b
Don't access array[-1] if array is an empty string.
...
OK nicm@
2009-06-02 11:18:59 +00:00
Ray Lai
49c776ea59
Make code clearer:
...
- if (hdr->size > SIZE_MAX - 1)
+ if (hdr->size == SIZE_MAX)
OK nicm@
2009-06-02 11:17:03 +00:00
Ray Lai
3686645e77
Don't dereference NULL if buf winds up being empty. Can't happen
...
right now according to NicM but better safe than sorry.
OK nicm@
2009-06-02 11:14:08 +00:00
Ray Lai
df91860b52
Don't leak memory if multiple -f flags are given.
...
OK nicm@
2009-06-02 10:49:40 +00:00
Nicholas Marriott
29d4016572
Update the man page with some recent changes to the code:
...
- SIGUSR1 recreates the socket;
- guesswork to work out if the terminal supports UTF-8;
- a paste key for the command prompt;
- main-horizontal layout to match main-vertical, and options to configure the
size of the large pane;
- clear-history command;
- select-layout command.
2009-06-01 23:51:00 +00:00
Nicholas Marriott
6e3f673ef7
Whoops, didn't mean to add this.
2009-06-01 23:00:54 +00:00
Nicholas Marriott
35876eaab9
Import tmux, a terminal multiplexor allowing (among other things) a single
...
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
2009-06-01 22:58:49 +00:00