aboutsummaryrefslogtreecommitdiff
path: root/screen-redraw.c
Commit message (Collapse)AuthorAge
* Sync OpenBSD patchset 1122:Tiago Cunha2012-05-30
| | | | | Use a predefined structure for not-space cells used to set attributes.
* Sync OpenBSD patchset 1015:Tiago Cunha2012-01-29
| | | | | | Add an option to move the status line to the top of the screen, requested by many.
* Sync OpenBSD patchset 1010:Tiago Cunha2012-01-23
| | | | | Show pane size in top right of display panes mode.
* Sync OpenBSD patchset 979:Tiago Cunha2011-11-25
| | | | | Make window_pane_index work the same as window_index, from Ben Boeckel.
* Sync OpenBSD patchset 936:Tiago Cunha2011-07-08
| | | | | | | | Do not continue to send data to suspended/locked clients or there will be a huge rush of it after they are resumed/unlocked. The main output path was fine but status line updates and the terminal state reset code were missed.
* Sync OpenBSD patchset 762:Tiago Cunha2010-09-18
| | | | | | | | | | 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.
* Sync OpenBSD patchset 632:Tiago Cunha2010-02-05
| | | | | | Option to display the active pane in a different colour with the display-panes command. From Paul Hoffman, thanks.
* Sync OpenBSD patchset 597:Tiago Cunha2010-01-05
| | | | | | Options to set the colour of the pane borders, with different colours for the active pane.
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | 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...
* Sync OpenBSD patchset 471:Tiago Cunha2009-10-28
| | | | | | Add a minor optimisatin: if the character being printed is space, don't worry about setting the background colour or attributes (except reverse).
* Sync OpenBSD patchset 393:Tiago Cunha2009-10-15
| | | | | Similarly add a tty_cursor_pane function to tidy up most of the calls.
* Sync OpenBSD patchset 322:Tiago Cunha2009-09-11
| | | | | | Permit options such as status-bg to be configured using the entire 256 colour palette by setting "colour0" to "colour255".
* Sync OpenBSD patchset 302:Tiago Cunha2009-08-31
| | | | | | | 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.
* Sync OpenBSD patchset 240:Tiago Cunha2009-08-10
| | | | | | | | 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).
* Sync OpenBSD patchset 209:Tiago Cunha2009-07-31
| | | | | | Pass the ACS border characters through tty_get_acs so they appear correctly on terminals which don't use the standard set.
* Sync OpenBSD patchset 179:Tiago Cunha2009-07-25
| | | | | | Use the full range of ACS line drawing characters to draw pane borders, including intersections.
* Sync OpenBSD patchset 177:Tiago Cunha2009-07-25
| | | | | | | Simplify screen redrawing by drawing the border and background together rather than border separately, and consolidating all the drawing characters into one string.
* For some reason when clearing status/message it was redrawing the entire clientNicholas Marriott2009-07-15
| | | | | | not just the status line. Changing this also revealed the check for the status line was incorrect when drawing the pane.
* Instead of faking up a status line in status_redraw, use the same code toNicholas Marriott2009-07-15
| | | | | redraw it as to draw the entire screen, just skip all lines but the last.
* Get rid of the PANE_HIDDEN flag in favour of a function, and moving theNicholas Marriott2009-07-15
| | | | | | | | | 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.
* Restore $Id$ and add script to do so.Nicholas Marriott2009-06-25
|
* Unused variables. Found by lint, no binary change.Nicholas Marriott2009-06-25
|
* Space trimmage mega-diff.Nicholas Marriott2009-05-04
|
* Use ACS for line drawing characters.Nicholas Marriott2009-05-04
|
* Change scroll/pane redraws to only redraw the single pane affected rather thanNicholas Marriott2009-04-02
| | | | | the entire window.
* Only redraw screen when not hidden. Heh.Nicholas Marriott2009-04-01
|
* Don't need to refresh layout here. Also don't redraw over status line.Nicholas Marriott2009-04-01
|
* Basic horizontal splitting and layout management. Still some redraw and otherNicholas Marriott2009-04-01
| | | | | | | | | | | 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.
* Draw vertical line on the right when window size is limited.Nicholas Marriott2009-03-31
|
* Clear using ED when redrawing the screen. I foolishly assumed using spacesNicholas Marriott2009-03-28
| | | | | | would be equivalent and terminals would pick up on this, but apparently not. This fixes copy and paste in xterm/rxvt.
* Whoops. Didn't mean to commit this yet.Nicholas Marriott2009-03-27
|
* Update TODO.Nicholas Marriott2009-03-27
|
* Don't redraw status if it has already been redrawed as part of entire screen.Nicholas Marriott2009-02-21
|
* Never draw last character: stops stray scrolling sometimes should status ↵Nicholas Marriott2009-02-12
| | | | line be disabled.
* FreeBSD's console wraps lines at $COLUMNS - 1 rather than $COLUMNS (the ↵Nicholas Marriott2009-02-11
| | | | 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.
* Move sx,sy into tty rather than client.Nicholas Marriott2009-02-11
|
* We are going to need the updated screen data for emulating the scroll region,Nicholas Marriott2009-02-11
| | | | | | | | | 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.
* Split most of tty_cmd_cell off to tty_cell. First step on making tty_cmd_* takeNicholas Marriott2009-02-11
| | | | | a window_pane for later use emulating scroll region.
* Fix various silly problems with status line off.Nicholas Marriott2009-01-19
|
* Update.Nicholas Marriott2009-01-14
|
* Multiple window splitting.Nicholas Marriott2009-01-14
|
* Make the window pane code handle panes of different sizes, and add a -l and ↵Nicholas Marriott2009-01-12
| | | | -p arguments to split-window to specify the new window size in lines or as a percentage.
* Window splitting. Two vertical panes fixed 50% each. This is a huge diff, ↵Nicholas Marriott2009-01-11
| | | | still a couple of bugs (notably heap corruption somewhere causing segfault on exit).
* Build array of codes, stop using ncurses global variables and push ncurses ↵Nicholas Marriott2009-01-09
| | | | crap into tty-term.c.
* Make window options work the same was as session options, add ↵Nicholas Marriott2008-12-08
| | | | mode-fg/mode-bg options, force -g for global on set/show/setw/showw/
* Trim.Nicholas Marriott2008-09-26
|
* Internal screen data rewrite for better 256 colour/UTF-8 support.Nicholas Marriott2008-09-25
|
* Fix bold/non-bold mismatch in 256 colour mode by adding an extra 8 bits ↵Nicholas Marriott2008-09-08
| | | | (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 :-/.
* Initial 256 colour support, lightly tested.Nicholas Marriott2008-09-08
|
* Unused variable.Nicholas Marriott2008-06-18
|