aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Not all terminals swap CSI and SS3 on ctrl, so remove that.Nicholas Marriott2009-10-26
| | | | | | | | | | Also mark the rxvt special-cases as such until terminfo is updated to have kLFT5, kRIT5 etc.
| * Rewrite xterm-keys code (both input and output) so that works (doesn't alwaysNicholas Marriott2009-10-26
| | | | | | | | | | output the same modifiers, accepts all the possible input keys) and is more understandable.
| * Support the (mostly new) function key+modifier caps (kIC-kIC7). Most of theseNicholas Marriott2009-10-26
| | | | | | | | | | will be caught (soon) by the xterm keys code in xterm itself but some other descriptions such as rxvt define them as well.
| * On second thoughts, drop the rxvt output entirely.Nicholas Marriott2009-10-26
| |
| * Set the output code for ctrl+cursor keys correctly, and disable (comment)Nicholas Marriott2009-10-26
| | | | | | | | rxvt-style output.
| * As we always put the cursor keys into application mode, assume keys sentNicholas Marriott2009-10-26
| | | | | | | | | | | | with CSI have ctrl. Also add a couple of comments.
| * Tidy up table.Nicholas Marriott2009-10-26
| |
| * Drop INPUTKEY_CTRL and just handle it as part of the table.Nicholas Marriott2009-10-26
| |
| * Add or fix some comments.Nicholas Marriott2009-10-26
| |
| * Tidy up table.Nicholas Marriott2009-10-26
| |
| * Rename keypad keys to something more useful.Nicholas Marriott2009-10-26
| |
| * Remove the xterm-keys code which is broken (a replacement is coming but someNicholas Marriott2009-10-26
| | | | | | | | more cleanup is needed first).
| * Don't try to continue processing a client if the session has been destroyed.Nicholas Marriott2009-10-25
| |
| * Remove -d from tmux.1 as well.Nicholas Marriott2009-10-25
| |
| * Remove the -d flag to tmux and just use op/AX to detect default colours.Nicholas Marriott2009-10-25
| | | | | | | | | | | | | | | | | | | | | | | | Irritatingly, although op can be used to tell if a terminal supports default colours, it can't be used to set them because in some terminfo descriptions it resets attributes as a side-effect (acts as sgr0) and in others it doesn't, so it is not possible to determine reliably what the terminal state will be afterwards. So if AX is missing and op is present, tmux just sends sgr0. Anyone using -d for a terminal who finds they actually needed it can replace it using terminal-overrides, but please let me know as it is probably an omission from terminfo.
| * +time.h.Nicholas Marriott2009-10-25
| |
| * [ is a punctuation character and should be escaped with Ql. Although theNicholas Marriott2009-10-25
| | | | | | | | | | current groff version we have seems to handle it fine, other versions are not so tolerant.
| * Bring a comment into line with reality.Nicholas Marriott2009-10-24
| |
| * -a option to kill all except current pane. From Tiago Cunha, thanks!Nicholas Marriott2009-10-24
| |
| * Support the bright fg/bg colour SGR 90-97 and 100-107.Nicholas Marriott2009-10-23
| | | | | | | | Reported by Tim Allen.
| * Redraw checks have to after handling input or pane redraw flags set by keyNicholas Marriott2009-10-22
| | | | | | | | presses will not be acted on.
| * The client buffers have to be checked after every event in order to catch theNicholas Marriott2009-10-22
| | | | | | | | escape timers and properly reset the cursor.
| * Split the server code handling clients, jobs and windows off into separateNicholas Marriott2009-10-22
| | | | | | | | | | | | | | | | | | files from server.c (merging server-msg.c into the client file) and rather than iterating over each set after poll(), allow a callback to be specified when the fd is added and just walk once over the returned pollfds calling each callback where needed. More to come, getting this in so it is tested.
| * Only redraw the pane when changing mode, not the entire window.Nicholas Marriott2009-10-22
| |
| * Merge prepare_cmd into main as it is short and only called once.Nicholas Marriott2009-10-22
| |
| * Tidy identify message send into a separate function.Nicholas Marriott2009-10-21
| |
| * Don't try to unsuspend a client if it isn't suspended.Nicholas Marriott2009-10-21
| |
| * Client tidying: get rid of client_ctx struct in favour of two variables inNicholas Marriott2009-10-21
| | | | | | | | client.c, and move the functions in client-fn.c into other files.
| * Unused variable.Nicholas Marriott2009-10-21
| |
| * Remove unused function.Nicholas Marriott2009-10-21
| |
| * Nuke dead store.Nicholas Marriott2009-10-21
| |
| * Now we are correctly not redrawing the whole pane on linefeed, redo theNicholas Marriott2009-10-21
| | | | | | | | last-cursor-position code to move to the right position when panes reach EOL.
| * Tweak descriptions for up/down pane to be clearer.Nicholas Marriott2009-10-21
| |
| * Don't redraw the scroll region on linefeed/reverse index unless it is necessaryNicholas Marriott2009-10-21
| | | | | | | | | | (the cursor is at the bottom/top). Should fix slow cursor movement when using vi in a pane spotted by pirofti@.
| * Some terminals don't correctly clear their let's-wrap flag after changing theNicholas Marriott2009-10-21
| | | | | | | | | | | | | | scroll region (which moves the cursor to 0,0). This means that if the cursor was at the edge of the screen, any further output after scroll region change incorrectly causes a line wrap. Add a workaround to move the cursor to position 0 if it is at the screen edge before changing scroll region.
| * Getting the read and write ends of the pipe the right way round is usuallyNicholas Marriott2009-10-21
| | | | | | | | recommended. DOH.
| * %zu not %u, doh.Nicholas Marriott2009-10-20
| |
| * Sort out stdout before stdin/stderr in case the stdout side of the pipe got oneNicholas Marriott2009-10-20
| | | | | | | | of their fds.
| * Correctly nuke the EOL $ marker when scrolling, reported by martynas@, thanks.Nicholas Marriott2009-10-20
| |
| * Try to reduce the UTF-8 mess.Nicholas Marriott2009-10-20
| | | | | | | | | | | | | | | | | | | | | | | | Get rid of passing around u_char[4]s and define a struct utf8_data which has character data, size (sequence length) and width. Move UTF-8 character collection into two functions utf8_open/utf8_append in utf8.c which fill in this struct and use these functions from input.c and the various functions in screen-write.c. Space for rather more data than is necessary for one UTF-8 sequence is in the utf8_data struct because screen_write_copy is still nasty and needs to reinject the character (after combining) into screen_write_cell.
| * UTF-8 combined character fixes.Nicholas Marriott2009-10-20
| | | | | | | | | | | | | | | | | | | | Thai can have treble combinations (1 x width=1 then 2 x width=0) so bump the UTF-8 cell data size to 9 and alter the code to allow this. Also break off the combining code into a separate function, handle any further combining beyond the buffer size by replacing the character with _s, and when redrawing the UTF-8 character don't assume the first part has just been printed, redraw the entire line.
| * Move the check for whether to force a line wrapper lower down into the tty codeNicholas Marriott2009-10-20
| | | | | | | | where it has access to the tty width, which is what should have been checked.
| * Nuke stray blank line.Nicholas Marriott2009-10-20
| |
| * Stop updating the screen when not in output mode, stops copy mode gettingNicholas Marriott2009-10-19
| | | | | | | | confused.
| * Always move the cursor position on !xenl terminals, since there is no invisibleNicholas Marriott2009-10-17
| | | | | | | | | | | | last cursor position. Also nuke an unused variable.
| * Don't print wide characters at screen width - 1. Matches uterm behaviour andNicholas Marriott2009-10-17
| | | | | | | | is probably a better idea anyway.
| * Instead of having a complicated check to see if the cursor is in the lastNicholas Marriott2009-10-17
| | | | | | | | | | | | position to avoid an explicit wrap, actually move it there. Some UTF-8 fixes to come.
| * When checking whether the region will scroll and the cursor position is thusNicholas Marriott2009-10-16
| | | | | | | | | | unsuitable for using CUD/CUU, check the current cursor position not the target position.
| * The pane pty name isn't useful for anything so show the pane number instead.Nicholas Marriott2009-10-15
| |
| * cmd_find_client shouldn't die when there is an empty slot in the clientsNicholas Marriott2009-10-14
| | | | | | | | array. DOH.