Go to file
nicm 13a0b6bb3f Collect sequences of printable ASCII characters and process them
together instead of handling them one by one. This is significantly
faster. Sequences are terminated when we reach the end of the line, fill
the internal buffer, or a different character is seen by the input
parser (an escape sequence, or UTF-8).

Rather than writing collected sequences out immediately, hold them until
it is necessary (another screen modification, or we consume all
available data). This means we can discard changes that would have no
effect (for example, lines that would just be scrolled off the screen or
cleared). This reduces the total amount of data we write out to the
terminal - not important for fast terminals, but a big help with slow
(like xterm).
2017-02-08 16:45:18 +00:00
alerts.c Clear window alert flags after setting winlink alert flags, fixes problem 2016-11-01 09:07:18 +00:00
arguments.c Plain stravis() because it will mangle UTF-8 characters, so add 2017-01-18 10:08:05 +00:00
attributes.c Use snprintf for constructing attribute string, from Tim Ruehsen. 2012-03-17 21:45:25 +00:00
cfg.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
client.c Add support for custom command aliases, this is an array option which 2017-01-24 19:53:37 +00:00
cmd-attach-session.c Cancel key table when switching session, unless the key is going to 2017-02-06 15:00:41 +00:00
cmd-bind-key.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-break-pane.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-capture-pane.c Escape backspace for capture-pane -P, from George Nachman. 2017-01-02 22:42:19 +00:00
cmd-choose-buffer.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-choose-client.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-choose-tree.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-clear-history.c Minor tidying in a couple of commands. 2017-01-10 19:45:55 +00:00
cmd-command-prompt.c It is silly for cmd_list_parse to return an integer error when it could 2017-01-15 22:00:56 +00:00
cmd-confirm-before.c It is silly for cmd_list_parse to return an integer error when it could 2017-01-15 22:00:56 +00:00
cmd-copy-mode.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-detach-client.c Add -E to detach-client to exec a command to replace the client instead 2017-01-13 10:12:12 +00:00
cmd-display-message.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-display-panes.c It is silly for cmd_list_parse to return an integer error when it could 2017-01-15 22:00:56 +00:00
cmd-find-window.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-find.c The target validity check used window_pane_visible but that may be false 2016-11-16 00:24:03 +00:00
cmd-has-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-if-shell.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-join-pane.c Use the notify name string instead of going via an enum and change 2016-10-16 22:06:40 +00:00
cmd-kill-pane.c killp -a should not kill the window if only one pane. 2017-01-14 18:53:08 +00:00
cmd-kill-server.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-kill-session.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-kill-window.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-list-buffers.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-list-clients.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-list-keys.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-list-panes.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-list-sessions.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-list-windows.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-list.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
cmd-load-buffer.c Nits found with clang. 2017-01-06 13:26:09 +00:00
cmd-lock-server.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-move-window.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-new-session.c Cancel key table when switching session, unless the key is going to 2017-02-06 15:00:41 +00:00
cmd-new-window.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-paste-buffer.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-pipe-pane.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-queue.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-refresh-client.c Minor tidying in a couple of commands. 2017-01-10 19:45:55 +00:00
cmd-rename-session.c Don't error if renaming a session to its current name, from shik dot 2016-11-16 11:41:17 +00:00
cmd-rename-window.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-resize-pane.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-respawn-pane.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-respawn-window.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-rotate-window.c rotate-window needs to unzoom, problem reported by Sean Haugh. 2016-11-14 16:27:12 +00:00
cmd-run-shell.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-save-buffer.c Nits found with clang. 2017-01-06 13:26:09 +00:00
cmd-select-layout.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-select-pane.c The target validity check used window_pane_visible but that may be false 2016-11-16 00:24:03 +00:00
cmd-select-window.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-send-keys.c Add support for the OSC 4 and OSC 104 palette setting escape sequences, 2017-01-07 15:28:13 +00:00
cmd-send-prefix.c Make command exec functions return an enum rather than -1/0/1 values and 2012-07-11 07:10:15 +00:00
cmd-set-buffer.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-set-environment.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-set-hook.c It is silly for cmd_list_parse to return an integer error when it could 2017-01-15 22:00:56 +00:00
cmd-set-option.c Cache status line position to reduce option lookups during output. 2017-02-03 21:01:02 +00:00
cmd-show-buffer.c Make command exec functions return an enum rather than -1/0/1 values and 2012-07-11 07:10:15 +00:00
cmd-show-environment.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-show-messages.c server-info can become an alias rather than a command. 2017-01-24 19:59:19 +00:00
cmd-show-options.c When a flag option is used in a format, it should use the number form 2017-01-30 21:41:17 +00:00
cmd-source-file.c Add -n to break-pane. 2017-01-29 22:10:55 +00:00
cmd-split-window.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
cmd-string.c Add support for custom command aliases, this is an array option which 2017-01-24 19:53:37 +00:00
cmd-swap-pane.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-swap-window.c Fix up winlink lists after swap-window. 2016-12-14 17:38:59 +00:00
cmd-switch-client.c Cancel key table when switching session, unless the key is going to 2017-02-06 15:00:41 +00:00
cmd-unbind-key.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd-wait-for.c Mass rename struct cmd_q to struct cmdq_item and related. 2016-10-16 19:04:05 +00:00
cmd.c server-info can become an alias rather than a command. 2017-01-24 19:59:19 +00:00
colour.c Instead of representing colours in several different forms with various 2016-07-15 00:42:56 +00:00
control-notify.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
control.c It is silly for cmd_list_parse to return an integer error when it could 2017-01-15 22:00:56 +00:00
environ.c Make update-environment an array as well. 2017-01-24 20:15:32 +00:00
format.c Remove a debugging leftover. 2017-02-07 18:06:42 +00:00
grid-view.c Collect sequences of printable ASCII characters and process them 2017-02-08 16:45:18 +00:00
grid.c Collect sequences of printable ASCII characters and process them 2017-02-08 16:45:18 +00:00
hooks.c Provide a way for hooks to tag formats onto the commands they fire so 2016-10-16 19:36:37 +00:00
input-keys.c Implement "all event" (1003) mouse mode but in a way that works. The 2017-02-01 09:55:07 +00:00
input.c Collect sequences of printable ASCII characters and process them 2017-02-08 16:45:18 +00:00
job.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
key-bindings.c Cancel key table when switching session, unless the key is going to 2017-02-06 15:00:41 +00:00
key-string.c Implement "all event" (1003) mouse mode but in a way that works. The 2017-02-01 09:55:07 +00:00
layout-custom.c Use the notify name string instead of going via an enum and change 2016-10-16 22:06:40 +00:00
layout-set.c Some other stuff that can be local to one file. 2016-10-11 13:45:47 +00:00
layout.c Use the notify name string instead of going via an enum and change 2016-10-16 22:06:40 +00:00
log.c Missing va_end, from Anton Lindqvist. 2017-02-04 23:42:53 +00:00
Makefile Open /dev/ptm before pledge() and save it to be used for PTMGET later 2017-01-23 10:09:43 +00:00
mode-key.c Drop the edit mode key tables and just use fixed key bindings for the 2016-10-12 14:50:14 +00:00
names.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
notify.c Some tidying and tweaks to options code. 2017-01-11 14:56:44 +00:00
options-table.c Make update-environment an array as well. 2017-01-24 20:15:32 +00:00
options.c When a flag option is used in a format, it should use the number form 2017-01-30 21:41:17 +00:00
paste.c Shorten a long line, and don't leak buffer in paste_add if size is zero. 2017-01-24 13:28:33 +00:00
proc.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
procname.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
pty.c Add support for custom command aliases, this is an array option which 2017-01-24 19:53:37 +00:00
resize.c Improve some of the logging on resize. 2017-02-08 13:53:32 +00:00
screen-redraw.c Add a helper to store a cell, and some tidying. 2017-02-08 15:41:41 +00:00
screen-write.c Collect sequences of printable ASCII characters and process them 2017-02-08 16:45:18 +00:00
screen.c Collect sequences of printable ASCII characters and process them 2017-02-08 16:45:18 +00:00
server-client.c Some other tidying bits. 2017-02-08 15:49:29 +00:00
server-fn.c Make options_get_string return const string. 2017-01-13 11:56:43 +00:00
server.c Do not execute commands for a client until it has identified, fixes 2016-11-12 19:04:41 +00:00
session.c Cache status line position to reduce option lookups during output. 2017-02-03 21:01:02 +00:00
signal.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
status.c Cache status line position to reduce option lookups during output. 2017-02-03 21:01:02 +00:00
style.c Major tidy up and rework of options tree and set-option/show-options 2017-01-15 20:48:41 +00:00
tmux.1 Implement "all event" (1003) mouse mode but in a way that works. The 2017-02-01 09:55:07 +00:00
tmux.c Open /dev/ptm before pledge() and save it to be used for PTMGET later 2017-01-23 10:09:43 +00:00
tmux.h Collect sequences of printable ASCII characters and process them 2017-02-08 16:45:18 +00:00
tty-acs.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
tty-keys.c Use a macro for looking up tty types. 2017-01-11 16:05:46 +00:00
tty-term.c Use DECFRA on VT420 compatible terminals (so, xterm) and ED on all 2017-02-06 22:05:11 +00:00
tty.c Collect sequences of printable ASCII characters and process them 2017-02-08 16:45:18 +00:00
utf8.c Plain stravis() because it will mangle UTF-8 characters, so add 2017-01-18 10:08:05 +00:00
window-choose.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
window-clock.c Add support for the OSC 4 and OSC 104 palette setting escape sequences, 2017-01-07 15:28:13 +00:00
window-copy.c Add a window or pane id "tag" to each format tree and use it to separate 2017-02-03 11:57:27 +00:00
window.c Remove event watermarks, don't work well enough to be worth it. 2017-02-08 08:25:12 +00:00
xmalloc.c Key running commands for #() by the unexpanded command, and run them 2016-11-17 10:06:08 +00:00
xmalloc.h Key running commands for #() by the unexpanded command, and run them 2016-11-17 10:06:08 +00:00
xterm-keys.c Revert previous for now, it will break TERM=screen. 2017-01-25 14:36:08 +00:00