Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Fix $Id$. | Nicholas Marriott | 2009-07-08 | |
| | ||||
* | Handle empty or unset TERM correctly; also fix a fatal() message while here. | Nicholas Marriott | 2009-07-08 | |
| | ||||
* | $Id$. | Nicholas Marriott | 2009-07-01 | |
| | ||||
* | Fix $Id$. | Nicholas Marriott | 2009-06-29 | |
| | ||||
* | Copy the 256-colour flag into the tty saved cell as well as the actual colour, | Nicholas Marriott | 2009-06-29 | |
| | | | | | otherwise colour 8 isn't reset. | |||
* | Whitespace and more syncing. | Nicholas Marriott | 2009-06-25 | |
| | ||||
* | Restore $Id$ and add script to do so. | Nicholas Marriott | 2009-06-25 | |
| | ||||
* | Miscellaneous unused functions, including one which was basically a | Nicholas Marriott | 2009-06-25 | |
| | | | | | duplicate. Found by lint. | |||
* | Unused variables. Found by lint, no binary change. | Nicholas Marriott | 2009-06-25 | |
| | ||||
* | Trying to predict the cursor position for UTF-8 output in the same way as for | Nicholas Marriott | 2009-06-25 | |
| | | | | | | | normal eight-bit output is wrong, separate it into a different function. Fixes spacing when mixing UTF-8 with some escape sequences, notably the way w3m does it. | |||
* | Implement the DEC alignment test. With the last change this is enough for the | Nicholas Marriott | 2009-06-25 | |
| | | | | | | first cursor test in vttest (in ports) to pass; it still shops a few more problems though. | |||
* | Fix some miscalculations when clearing to start of screen: the number of lines | Nicholas Marriott | 2009-06-25 | |
| | | | | | to the cursor is cy not cy - 1, and the current cursor cell should be included. | |||
* | UTF-8 detection is broken on sparc64; disable until I get time to test it ↵ | Nicholas Marriott | 2009-06-24 | |
| | | | | further. | |||
* | Try to guess if the window is UTF-8 by outputting a three-byte UTF-8 wide ↵ | Nicholas Marriott | 2009-05-19 | |
| | | | | character and seeing how much the cursor moves. Currently tries to figure out if this works by some stupid checks on the terminal, these need to be rethought. Also might be better using a width 1 character rather than width 2. | |||
* | Don't force wrapping with \n when asked, let the cursor code figure it out. ↵ | Nicholas Marriott | 2009-05-14 | |
| | | | | Should fix terminals which use this to detect line breaks. | |||
* | Space trimmage mega-diff. | Nicholas Marriott | 2009-05-04 | |
| | ||||
* | Region can reset cursor to 0,0 - bad if there is an offset. So sort out ↵ | Nicholas Marriott | 2009-05-04 | |
| | | | | region before cursor. | |||
* | Use ACS for line drawing characters. | Nicholas Marriott | 2009-05-04 | |
| | ||||
* | Use a u_char so top-bit-set update the cursor as well. | Nicholas Marriott | 2009-04-29 | |
| | ||||
* | Ignore del too. | Nicholas Marriott | 2009-04-29 | |
| | ||||
* | Change scroll/pane redraws to only redraw the single pane affected rather than | Nicholas Marriott | 2009-04-02 | |
| | | | | | the entire window. | |||
* | If redrawing the region would mean redrawing > half the pane, just schedule to | Nicholas Marriott | 2009-04-02 | |
| | | | | | | | redraw the entire window. Also add a flag to skip updating the window any further if it is scheduled to be redrawn. This has the effect of batching multiple redraws together. | |||
* | Basic horizontal splitting and layout management. Still some redraw and other | Nicholas Marriott | 2009-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. | |||
* | FD_CLOEXEC more fds. Still one I can't find... | Nicholas Marriott | 2009-03-31 | |
| | ||||
* | Draw vertical line on the right when window size is limited. | Nicholas Marriott | 2009-03-31 | |
| | ||||
* | - Unbreak selection colouring. | Nicholas Marriott | 2009-03-30 | |
| | | | | | - Get UTF-8 check the right way round... | |||
* | 8 -> UTF8_SIZE. | Nicholas Marriott | 2009-03-29 | |
| | ||||
* | Better UTF-8 support, including combined characters. Unicode data is now stored | Nicholas Marriott | 2009-03-28 | |
| | | | | | | | | | | | as UTF-8 in a separate array, the code does a lookup into this every time it gets to a UTF-8 cell. Zero width characters are just appended onto the UTF-8 data for the previous cell. This also means that almost no bytes extra are wasted non-Unicode data (yay). Still some oddities, such as copy mode skips over wide characters in a strange way, and the code could do with some tidying. | |||
* | Step 2 of the Grand Plan To Make UTF-8 Better. | Nicholas Marriott | 2009-03-28 | |
| | | | | | | | | | | | | | | | | | | | Split grid into two arrays, one containing grid attributes/flags/colours (keeps the name grid_cell for now) and a separate with the character data (called text). The text is stored as a u_short but is treated as a uint64_t elsewhere; eventually the grid will have two arrays. I'm not happy with the naming so that might change. Still need to decide where to go from here. I'm not sure whether to combine the peek/set functions together, and also whether to continue to treat the text as a uint64_t (and convert to/from Unicode) or make it a char array (of size one when UTF-8 disabled, eight when enabled) and keep everything as UTF-8. Also since UTF-8 will eventually become an attribute of the grid itself it might be nice to move all the padding crap into grid.c. | |||
* | Clear using ED when redrawing the screen. I foolishly assumed using spaces | Nicholas Marriott | 2009-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 Marriott | 2009-03-27 | |
| | ||||
* | Update TODO. | Nicholas Marriott | 2009-03-27 | |
| | ||||
* | Support for 88 colour terminals. | Nicholas Marriott | 2009-03-07 | |
| | ||||
* | Don't die on any error from fd. | Nicholas Marriott | 2009-02-17 | |
| | ||||
* | strdup() not necessary here. | Nicholas Marriott | 2009-02-16 | |
| | ||||
* | Use the right row when calling RI. | Nicholas Marriott | 2009-02-13 | |
| | ||||
* | Reset region before using CUD etc. | Nicholas Marriott | 2009-02-13 | |
| | ||||
* | Code tidying on my way to find tmux-in-tmux bug. | Nicholas Marriott | 2009-02-13 | |
| | ||||
* | Whoops. Build testing is a good idea... | Nicholas Marriott | 2009-02-12 | |
| | ||||
* | Never draw last character: stops stray scrolling sometimes should status ↵ | Nicholas Marriott | 2009-02-12 | |
| | | | | line be disabled. | |||
* | Only use RI at the top of the screen. | Nicholas Marriott | 2009-02-12 | |
| | ||||
* | FreeBSD's console wraps lines at $COLUMNS - 1 rather than $COLUMNS (the ↵ | Nicholas Marriott | 2009-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. | |||
* | Emulate CSR with existing screen data on old/stupid terminals which don't ↵ | Nicholas Marriott | 2009-02-11 | |
| | | | | support it. | |||
* | Lose unnecessary cursor restores, fix a couple of placement bugs and remove ↵ | Nicholas Marriott | 2009-02-11 | |
| | | | | unused CR. | |||
* | We are going to need the updated screen data for emulating the scroll region, | Nicholas Marriott | 2009-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. | |||
* | Change tty_cmd_* to use a window_pane. | Nicholas Marriott | 2009-02-11 | |
| | ||||
* | Split most of tty_cmd_cell off to tty_cell. First step on making tty_cmd_* take | Nicholas Marriott | 2009-02-11 | |
| | | | | | a window_pane for later use emulating scroll region. | |||
* | Update cursor y on newline otherwise RI gets screwed up at y=0. | Nicholas Marriott | 2009-02-07 | |
| | ||||
* | * Better support for at least the most common variant of mouse input: parse ↵ | Nicholas Marriott | 2009-01-28 | |
| | | | | | | | it and adjust for different panes. Also support mouse in window/session choice mode. * Bring back the fancy window titles with session/window names: it is easy to work around problems with elinks (see FAQ). | |||
* | Handle cursor on/off better. | Nicholas Marriott | 2009-01-27 | |
| |