aboutsummaryrefslogtreecommitdiff
path: root/screen-redraw.c
Commit message (Collapse)AuthorAge
* 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
|
* Informational messages on window option changes.Nicholas Marriott2008-06-16
|
* I'm an idiot - it is start,len not start,end. Unbreak.Nicholas Marriott2008-06-14
|
* New window options: force-width and force-height. This will force a window toNicholas Marriott2008-06-14
| | | | | | | | | 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.
* Clear blank area properly on redraw, and add a marker line below it.Nicholas Marriott2008-06-14
|
* Some key tweaks, fix status bar to not rely on attr.Nicholas Marriott2008-01-03
|
* This was wrong...Nicholas Marriott2008-01-03
|
* Write status across entire line.Nicholas Marriott2008-01-03
|
* Major reorganisation of screen handling.Nicholas Marriott2007-12-06