Instant Terminal Sharing
Go to file
Nicholas Marriott 6c0728fe07 Step 2 of the Grand Plan To Make UTF-8 Better.
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.
2009-03-28 16:30:05 +00:00
compat vis functions for Linux. 2009-01-10 12:52:57 +00:00
examples automatic-rename added. 2009-02-08 01:54:23 +00:00
util +UTF-8-demo.txt 2009-01-10 14:08:24 +00:00
arg.c Support OS X by moving to gettimeofday(2) and adding poll compat from OpenSSH. 2008-08-28 17:45:30 +00:00
array.h UINT_MAX. 2008-09-29 16:58:02 +00:00
attributes.c Allow status, mode and message attributes to be changed by three new options: status-attr, mode-attr, message-attr. A comma-separataed list is accepted containing: bright, dim, underscore, blink, reverse, hidden, italics, for example: set -g status-attr bright,blink 2009-01-27 20:22:33 +00:00
buffer-poll.c Initial UTF-8 support. 2008-09-09 22:16:37 +00:00
buffer.c Lose ensure* stuff. 2008-08-07 20:20:52 +00:00
cfg.c Support command sequences separated by " ; ". Also clean up command printing. 2009-01-18 14:40:48 +00:00
CHANGES Key repeating is now a property of the key binding not of the command. Repeat 2009-03-28 14:08:09 +00:00
client-fn.c Put socket path in $TMUX. 2009-03-04 17:24:07 +00:00
client-msg.c Handle SIGTERM (and kill-server which uses it), a bit more neatly - tidy up 2009-01-21 22:47:31 +00:00
client.c Not const. 2009-03-27 17:04:04 +00:00
clock.c const. 2009-03-27 16:59:57 +00:00
cmd-attach-session.c Better error messages for fork. 2009-01-23 16:59:14 +00:00
cmd-bind-key.c Key repeating is now a property of the key binding not of the command. Repeat 2009-03-28 14:08:09 +00:00
cmd-break-pane.c break-pane command to split a pane off into a new window; bound to ! by default. 2009-03-07 09:29:54 +00:00
cmd-choose-session.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-choose-window.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-clock-mode.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-command-prompt.c And another memory leak. 2009-02-16 18:58:14 +00:00
cmd-copy-buffer.c copy-buffer command. 2009-02-03 17:21:19 +00:00
cmd-copy-mode.c Redraw selection properly. 2009-02-25 21:56:46 +00:00
cmd-delete-buffer.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-detach-client.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-down-pane.c Key repeating is now a property of the key binding not of the command. Repeat 2009-03-28 14:08:09 +00:00
cmd-find-window.c Step 2 of the Grand Plan To Make UTF-8 Better. 2009-03-28 16:30:05 +00:00
cmd-generic.c Add -a properly. 2009-01-23 20:20:23 +00:00
cmd-has-session.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-kill-pane.c break-pane command to split a pane off into a new window; bound to ! by default. 2009-03-07 09:29:54 +00:00
cmd-kill-server.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-kill-session.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-kill-window.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-last-window.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-link-window.c Better error messages for fork. 2009-01-23 16:59:14 +00:00
cmd-list-buffers.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-list-clients.c Move sx,sy into tty rather than client. 2009-02-11 17:50:36 +00:00
cmd-list-commands.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-list-keys.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-list-sessions.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-list-windows.c Step 2 of the Grand Plan To Make UTF-8 Better. 2009-03-28 16:30:05 +00:00
cmd-list.c Memory leak. 2009-02-16 18:57:16 +00:00
cmd-load-buffer.c Avoid warning. 2009-01-27 23:26:15 +00:00
cmd-lock-server.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-move-window.c Better error messages for fork. 2009-01-23 16:59:14 +00:00
cmd-new-session.c Move sx,sy into tty rather than client. 2009-02-11 17:50:36 +00:00
cmd-new-window.c Better error messages for fork. 2009-01-23 16:59:14 +00:00
cmd-next-window.c Key repeating is now a property of the key binding not of the command. Repeat 2009-03-28 14:08:09 +00:00
cmd-paste-buffer.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-previous-window.c Key repeating is now a property of the key binding not of the command. Repeat 2009-03-28 14:08:09 +00:00
cmd-refresh-client.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-rename-session.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-rename-window.c Try to change the window title to match the command running it in. This is done 2009-01-20 19:35:03 +00:00
cmd-resize-pane-down.c Key repeating is now a property of the key binding not of the command. Repeat 2009-03-28 14:08:09 +00:00
cmd-resize-pane-up.c Key repeating is now a property of the key binding not of the command. Repeat 2009-03-28 14:08:09 +00:00
cmd-respawn-window.c Put socket path in $TMUX. 2009-03-04 17:24:07 +00:00
cmd-save-buffer.c Remove senseless if statement. 2009-02-08 13:36:40 +00:00
cmd-scroll-mode.c -u to start with screen scrolled up. 2009-01-27 23:35:44 +00:00
cmd-select-pane.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-select-prompt.c Move status prompt/message init and teardown into status.c. 2009-02-13 18:57:55 +00:00
cmd-select-window.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-send-keys.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-send-prefix.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-server-info.c Move sx,sy into tty rather than client. 2009-02-11 17:50:36 +00:00
cmd-set-buffer.c Make the caller responsible for allocating memory for the paste buffer data 2009-01-25 18:51:28 +00:00
cmd-set-option.c * New session flag "set-remain-on-exit" to set remain-on-exit flag for new windows created in that session (like "remain-by-default" used to do). Not perfectly happy about this, but until I can think of a good way to introduce it generically (maybe a set of options in the session) this will do. Fixes SF request 2527847. 2009-03-21 12:44:06 +00:00
cmd-set-password.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-set-window-option.c Set colour of window entry in status line based on window options. 2009-01-30 00:24:49 +00:00
cmd-show-buffer.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-show-options.c Allow status, mode and message attributes to be changed by three new options: status-attr, mode-attr, message-attr. A comma-separataed list is accepted containing: bright, dim, underscore, blink, reverse, hidden, italics, for example: set -g status-attr bright,blink 2009-01-27 20:22:33 +00:00
cmd-show-window-options.c Allow status, mode and message attributes to be changed by three new options: status-attr, mode-attr, message-attr. A comma-separataed list is accepted containing: bright, dim, underscore, blink, reverse, hidden, italics, for example: set -g status-attr bright,blink 2009-01-27 20:22:33 +00:00
cmd-source-file.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-split-window.c Put socket path in $TMUX. 2009-03-04 17:24:07 +00:00
cmd-start-server.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-string.c Don't leak string arguments and options. 2009-02-16 19:29:17 +00:00
cmd-suspend-client.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-swap-window.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-switch-client.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-unbind-key.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-unlink-window.c Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
cmd-up-pane.c Key repeating is now a property of the key binding not of the command. Repeat 2009-03-28 14:08:09 +00:00
cmd.c break-pane command to split a pane off into a new window; bound to ! by default. 2009-03-07 09:29:54 +00:00
colour.c Support for 88 colour terminals. 2009-03-07 10:29:06 +00:00
FAQ Typo. 2009-03-27 08:44:12 +00:00
GNUmakefile break-pane command to split a pane off into a new window; bound to ! by default. 2009-03-07 09:29:54 +00:00
grid-view.c Step 2 of the Grand Plan To Make UTF-8 Better. 2009-03-28 16:30:05 +00:00
grid.c Step 2 of the Grand Plan To Make UTF-8 Better. 2009-03-28 16:30:05 +00:00
index.html.in +index.html.in 2007-11-20 17:01:38 +00:00
input-keys.c Extra function keys from Dashing dashing at hushmail dot com 2009-03-02 18:05:40 +00:00
input.c Step 2 of the Grand Plan To Make UTF-8 Better. 2009-03-28 16:30:05 +00:00
key-bindings.c Key repeating is now a property of the key binding not of the command. Repeat 2009-03-28 14:08:09 +00:00
key-string.c Extra function keys from Dashing dashing at hushmail dot com 2009-03-02 18:05:40 +00:00
log.c Make window options work the same was as session options, add mode-fg/mode-bg options, force -g for global on set/show/setw/showw/ 2008-12-08 16:19:51 +00:00
Makefile break-pane command to split a pane off into a new window; bound to ! by default. 2009-03-07 09:29:54 +00:00
mode-key.c Allow selection in vi mode. 2009-02-21 17:46:13 +00:00
names.c Looking up argv[0] is expensive, so just use p_comm for the window name which is good enough. Also increase name update time to 500 ms. 2009-02-13 00:43:04 +00:00
NOTES Emulate CSR with existing screen data on old/stupid terminals which don't support it. 2009-02-11 19:06:58 +00:00
options-cmd.c Allow status, mode and message attributes to be changed by three new options: status-attr, mode-attr, message-attr. A comma-separataed list is accepted containing: bright, dim, underscore, blink, reverse, hidden, italics, for example: set -g status-attr bright,blink 2009-01-27 20:22:33 +00:00
options.c Some options tidying/code shrinkage. Also add -u option to unset non-global options (allowing them to inherit), and some extra info. 2009-01-07 19:53:17 +00:00
osdep-darwin.c Looking up argv[0] is expensive, so just use p_comm for the window name which is good enough. Also increase name update time to 500 ms. 2009-02-13 00:43:04 +00:00
osdep-freebsd.c Looking up argv[0] is expensive, so just use p_comm for the window name which is good enough. Also increase name update time to 500 ms. 2009-02-13 00:43:04 +00:00
osdep-linux.c Looking up argv[0] is expensive, so just use p_comm for the window name which is good enough. Also increase name update time to 500 ms. 2009-02-13 00:43:04 +00:00
osdep-netbsd.c Exclude NetBSD. 2009-02-18 08:41:46 +00:00
osdep-openbsd.c -err.h. 2009-02-17 18:54:14 +00:00
osdep-unknown.c Exclude NetBSD. 2009-02-18 08:41:46 +00:00
paste.c Make the caller responsible for allocating memory for the paste buffer data 2009-01-25 18:51:28 +00:00
resize.c Move sx,sy into tty rather than client. 2009-02-11 17:50:36 +00:00
screen-redraw.c Clear using ED when redrawing the screen. I foolishly assumed using spaces 2009-03-28 10:15:01 +00:00
screen-write.c Step 2 of the Grand Plan To Make UTF-8 Better. 2009-03-28 16:30:05 +00:00
screen.c Step 2 of the Grand Plan To Make UTF-8 Better. 2009-03-28 16:30:05 +00:00
server-fn.c char not char *... 2009-03-07 09:42:13 +00:00
server-msg.c Support for 88 colour terminals. 2009-03-07 10:29:06 +00:00
server.c Now unused variable. 2009-03-28 15:49:05 +00:00
session.c * New session flag "set-remain-on-exit" to set remain-on-exit flag for new windows created in that session (like "remain-by-default" used to do). Not perfectly happy about this, but until I can think of a good way to introduce it generically (maybe a set of options in the session) this will do. Fixes SF request 2527847. 2009-03-21 12:44:06 +00:00
status.c Redo mode keys slightly more cleanly and apply them to command prompt editing. vi or emacs mode is controlled by the session option status-keys. 2009-02-13 21:39:45 +00:00
tmux.1 Zero to turn off updates. 2009-02-10 00:09:44 +00:00
tmux.c Sockets in /tmp are now created in a subdirectory named, tmux-UID, eg 2009-03-27 15:57:10 +00:00
tmux.h Step 2 of the Grand Plan To Make UTF-8 Better. 2009-03-28 16:30:05 +00:00
TODO +. 2009-03-28 15:40:10 +00:00
tty-keys.c Extra function keys from Dashing dashing at hushmail dot com 2009-03-02 18:05:40 +00:00
tty-term.c Support for 88 colour terminals. 2009-03-07 10:29:06 +00:00
tty-write.c Don't turn cursor off unless actually drawing something. 2009-02-21 19:25:58 +00:00
tty.c Step 2 of the Grand Plan To Make UTF-8 Better. 2009-03-28 16:30:05 +00:00
utf8.c Don't screw up UTF-8 combined characters. 2009-01-26 20:57:45 +00:00
util.c find-window command. 2009-01-18 17:20:52 +00:00
window-choose.c Fix window choice mode, again. 2009-03-02 17:01:00 +00:00
window-clock.c * Better support for at least the most common variant of mouse input: parse it and adjust for different panes. Also support mouse in window/session choice mode. 2009-01-28 19:52:21 +00:00
window-copy.c Step 2 of the Grand Plan To Make UTF-8 Better. 2009-03-28 16:30:05 +00:00
window-more.c Redo mode keys slightly more cleanly and apply them to command prompt editing. vi or emacs mode is controlled by the session option status-keys. 2009-02-13 21:39:45 +00:00
window-scroll.c Redo mode keys slightly more cleanly and apply them to command prompt editing. vi or emacs mode is controlled by the session option status-keys. 2009-02-13 21:39:45 +00:00
window.c break-pane command to split a pane off into a new window; bound to ! by default. 2009-03-07 09:29:54 +00:00
xmalloc-debug.c Window attachment, malloc debugging, fix a segfault with no sessions. 2007-10-04 11:52:03 +00:00
xmalloc.c Nuke debugging. 2009-01-29 19:24:34 +00:00