Age | Commit message (Collapse) | Author |
|
Use UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupid
terminals (I'm looking at you, putty) which disable the vt100 ACS mode
switching sequences in UTF-8 mode.
Also on terminals without ACS at all, use ASCII equivalents where
obvious.
|
|
Option to display the active pane in a different colour with the display-panes
command. From Paul Hoffman, thanks.
|
|
Options to set the colour of the pane borders, with different colours for the
active pane.
|
|
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...
|
|
Add a minor optimisatin: if the character being printed is space, don't worry
about setting the background colour or attributes (except reverse).
|
|
Similarly add a tty_cursor_pane function to tidy up most of the calls.
|
|
Permit options such as status-bg to be configured using the entire 256 colour
palette by setting "colour0" to "colour255".
|
|
Add a new display-panes command, with two options (display-panes-colour and
display-panes-time), which displays a visual indication of the number of each
pane.
|
|
Reset the attributes after drawing all or part of the screen, and reset the
region before poll(2). This reduces (but does not eliminate) the chance of the
attributes not being normal if tmux is disconnected without warning (ssh ~.,
reboot from inside, etc).
|
|
Pass the ACS border characters through tty_get_acs so they appear correctly on
terminals which don't use the standard set.
|
|
Use the full range of ACS line drawing characters to draw pane borders,
including intersections.
|
|
Simplify screen redrawing by drawing the border and background together rather
than border separately, and consolidating all the drawing characters into one
string.
|
|
not just the status line. Changing this also revealed the check for the status
line was incorrect when drawing the pane.
|
|
redraw it as to draw the entire screen, just skip all lines but the last.
|
|
decision for whether or not a pane should be drawn out of the layout code and
into the redraw code.
This is needed for the new layout design, getting it in now to make that easier
to work on.
|
|
|
|
|
|
|
|
|
|
the entire window.
|
|
|
|
|
|
issues - particularly, don't mix with manual pane resizing and be careful when
viewing from multiple clients; generally cycling the layout a few times will
fix most problems. Getting this in for testing while I think about how to deal
with manual mode.
Split window as normal and cycle the layouts with C-b space. Some of the
layouts will work better when swap-pane comes along.
|
|
|
|
would be equivalent and terminals would pick up on this, but apparently
not. This fixes copy and paste in xterm/rxvt.
|
|
|
|
|
|
|
|
line be disabled.
|
|
cursor can never be beyond $COLUMNS - 1) and does not appear to support changing this behaviour, or any of the obvious possibilities (turning off right margin wrapping, insert mode). This is irritating, most notably because it impossible to write to the very bottom-right of the screen without scrolling. To work around this, if built on FreeBSD and run with a "cons" $TERM, the bottom-right cell on the screen is omitted.
|
|
|
|
which may involve changing the cursor position; however, the old (before
redraw) cursor position is necessary for writing to the tty. So, save it before
doing the redraw then update the internal screen then update the tty.
Not sure I like this solution but it does the job for now.
|
|
a window_pane for later use emulating scroll region.
|
|
|
|
|
|
|
|
-p arguments to split-window to specify the new window size in lines or as a percentage.
|
|
still a couple of bugs (notably heap corruption somewhere causing segfault on exit).
|
|
crap into tty-term.c.
|
|
mode-fg/mode-bg options, force -g for global on set/show/setw/showw/
|
|
|
|
|
|
(ick) onto the attributes and using two of them to mark the fg and bg as 256 colours when necessary. If only it was 255 colours we would have one value for default and wouln't need this :-/.
|
|
|
|
|
|
|
|
|
|
an arbitrary width and height (0 for the default unlimited). This is neat for
emacs which doesn't have a sensible way to force hard wrapping at 80
columns. Also, don't try to be clever and use clr_eol when redrawing the
whole screen, it causes trouble since the redraw functions are used to draw
the blank areas too.
|
|
|
|
|