Go to file
nicm 7382ba82c5 If default-terminal is set to "screen" or "screen-*", emulate screen's
historical (incorrect) behaviour for SGR 3 and send smso
(standout). Previously, we would send sitm (italics) if the terminal
outside had it and smso otherwise. This was acceptably until recently
because xterm's terminfo entry lacked sitm, so most users got smso.

People who want italics should set default-terminal to the forthcoming
"tmux" entry (and be prepared to deal with it being missing on older
hosts).

As a side-effect this changes default-terminal to be a server rather
than a session option.

suggested by and ok naddy
2015-04-29 15:59:08 +00:00
arguments.c Tidy up some includes. 2014-10-20 23:27:14 +00:00
array.h Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
attributes.c Use snprintf for constructing attribute string, from Tim Ruehsen. 2012-03-17 21:45:25 +00:00
cfg.c Reset cfg_ncauses to 0 as well or we could allocate the wrong size if 2015-04-27 22:50:35 +00:00
client.c Set up signal handler earlier so that we don't get zombies, reported by 2015-04-24 20:58:44 +00:00
cmd-attach-session.c Move the functions to convert ids from strings into session.c and window.c. 2015-04-25 18:09:28 +00:00
cmd-bind-key.c Support for multiple key tables to commands to be bound to sequences of 2015-04-20 15:34:56 +00:00
cmd-break-pane.c Wrap all the individual format_* calls in a single format_defaults 2015-02-05 10:29:43 +00:00
cmd-capture-pane.c Fix some format specifier nits, from Ben Boeckel. 2015-03-31 17:45:10 +00:00
cmd-choose-buffer.c Rewrite of the target resolution internals to be simpler and more 2015-04-27 16:25:57 +00:00
cmd-choose-client.c Rewrite of the target resolution internals to be simpler and more 2015-04-27 16:25:57 +00:00
cmd-choose-tree.c Rewrite of the target resolution internals to be simpler and more 2015-04-27 16:25:57 +00:00
cmd-clear-history.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-command-prompt.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
cmd-confirm-before.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
cmd-copy-mode.c Bind mouse dragging so that it is passed through to applications if they 2015-04-21 15:34:32 +00:00
cmd-delete-buffer.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-detach-client.c Convert clients list into a TAILQ. 2015-04-24 23:17:11 +00:00
cmd-display-message.c Rewrite of the target resolution internals to be simpler and more 2015-04-27 16:25:57 +00:00
cmd-display-panes.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-find-window.c Rewrite of the target resolution internals to be simpler and more 2015-04-27 16:25:57 +00:00
cmd-find.c If looking for an index, don't fill in window when given a session. 2015-04-28 12:09:24 +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 Set working directory for run-shell and if-shell. 2015-04-24 22:19:36 +00:00
cmd-join-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-kill-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-kill-server.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-kill-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-kill-window.c Merge unlink-window into kill-window. 2014-10-22 23:11:41 +00:00
cmd-list-buffers.c Wrap all the individual format_* calls in a single format_defaults 2015-02-05 10:29:43 +00:00
cmd-list-clients.c Convert clients list into a TAILQ. 2015-04-24 23:17:11 +00:00
cmd-list-keys.c Support for multiple key tables to commands to be bound to sequences of 2015-04-20 15:34:56 +00:00
cmd-list-panes.c Wrap all the individual format_* calls in a single format_defaults 2015-02-05 10:29:43 +00:00
cmd-list-sessions.c Wrap all the individual format_* calls in a single format_defaults 2015-02-05 10:29:43 +00:00
cmd-list-windows.c Wrap all the individual format_* calls in a single format_defaults 2015-02-05 10:29:43 +00:00
cmd-list.c Various minor style and spacing nits. 2014-09-01 21:50:18 +00:00
cmd-load-buffer.c Rewrite of the target resolution internals to be simpler and more 2015-04-27 16:25:57 +00:00
cmd-lock-server.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-move-window.c Fix moving windows to nonexistent indexes when renumber-windows is 2015-04-21 21:24:49 +00:00
cmd-new-session.c Rewrite of the target resolution internals to be simpler and more 2015-04-27 16:25:57 +00:00
cmd-new-window.c Remove a couple of now-unused variables. 2015-02-05 10:32:39 +00:00
cmd-paste-buffer.c Tidy up mode-mouse check. 2014-11-05 23:25:02 +00:00
cmd-pipe-pane.c Add format_expand_time and use it instead of status_replace where 2015-02-06 17:11:39 +00:00
cmd-queue.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
cmd-refresh-client.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-rename-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-rename-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-resize-pane.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
cmd-respawn-pane.c Fix some format specifier nits, from Ben Boeckel. 2015-03-31 17:45:10 +00:00
cmd-respawn-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-rotate-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-run-shell.c Set working directory for run-shell and if-shell. 2015-04-24 22:19:36 +00:00
cmd-save-buffer.c Rewrite of the target resolution internals to be simpler and more 2015-04-27 16:25:57 +00:00
cmd-select-layout.c Add select-layout -o to undo the last layout change (apply the previously 2015-04-28 10:43:13 +00:00
cmd-select-pane.c If the requested pane is already active, do not unzoom the window (or do 2015-04-27 07:49:36 +00:00
cmd-select-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-send-keys.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +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 Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-set-environment.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-set-option.c Convert clients list into a TAILQ. 2015-04-24 23:17:11 +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 Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-show-messages.c Make message log a TAILQ. 2015-04-25 18:33:59 +00:00
cmd-show-options.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-source-file.c Move cfg_causes local into cfg.c and remove struct causelist. 2014-10-27 22:23:47 +00:00
cmd-split-window.c Remove panes from layout if spawning them fails, reported by Anthony J 2015-04-26 20:25:20 +00:00
cmd-string.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
cmd-swap-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-swap-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-switch-client.c Move the functions to convert ids from strings into session.c and window.c. 2015-04-25 18:09:28 +00:00
cmd-unbind-key.c Support for multiple key tables to commands to be bound to sequences of 2015-04-20 15:34:56 +00:00
cmd-wait-for.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd.c Rewrite of the target resolution internals to be simpler and more 2015-04-27 16:25:57 +00:00
colour.c Fix some format specifier nits, from Ben Boeckel. 2015-03-31 17:45:10 +00:00
control-notify.c Convert clients list into a TAILQ. 2015-04-24 23:17:11 +00:00
control.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
environ.c Don't leak the individual strings when copying environment. 2015-01-25 16:53:46 +00:00
format.c Always format real layout even when zoomed. 2015-04-21 22:38:49 +00:00
grid-cell.c Rather than having two grids for each pane, one for ASCII and one for 2013-01-18 02:16:21 +00:00
grid-view.c Revert to r1.16 since this is still clearly broken and I can't see how 2015-01-06 21:14:42 +00:00
grid.c use reallocarray instead of calloc; avoid the zero before infill 2015-04-23 07:45:50 +00:00
input-keys.c Don't eat the mouse event that triggers a drag end because we may want 2015-04-21 15:21:41 +00:00
input.c Fix some format specifier nits, from Ben Boeckel. 2015-03-31 17:45:10 +00:00
job.c Set working directory for run-shell and if-shell. 2015-04-24 22:19:36 +00:00
key-bindings.c Fix some char* -> char *. 2015-04-25 18:49:01 +00:00
key-string.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
layout-custom.c Always format real layout even when zoomed. 2015-04-21 22:38:49 +00:00
layout-set.c Some more long lines. 2014-04-17 14:45:49 +00:00
layout.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
log.c Prefer setvbuf() to setlinebuf() for portability; ok deraadt@ 2014-11-26 18:34:51 +00:00
Makefile Rewrite of the target resolution internals to be simpler and more 2015-04-27 16:25:57 +00:00
mode-key.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
names.c Wrap all the individual format_* calls in a single format_defaults 2015-02-05 10:29:43 +00:00
notify.c Convert clients list into a TAILQ. 2015-04-24 23:17:11 +00:00
options-table.c If default-terminal is set to "screen" or "screen-*", emulate screen's 2015-04-29 15:59:08 +00:00
options.c When given an invalid style, don't set the option to the default. Fix 2015-02-18 15:32:37 +00:00
paste.c When replacing, don't free the old paste until after the new one's name 2015-04-07 13:06:22 +00:00
procname.c Replace <sys/param.h> with <limits.h> and other less dirty headers where 2015-01-16 06:40:13 +00:00
resize.c Convert clients list into a TAILQ. 2015-04-24 23:17:11 +00:00
screen-redraw.c Support setting the default window and pane background colours (window 2015-04-19 21:05:27 +00:00
screen-write.c Two improvements to reflow from Balazs Kezes: 2014-11-08 12:58:31 +00:00
screen.c correctly use HOST_NAME_MAX. 2015-01-11 04:14:40 +00:00
server-client.c Make message log a TAILQ. 2015-04-25 18:33:59 +00:00
server-fn.c If default-terminal is set to "screen" or "screen-*", emulate screen's 2015-04-29 15:59:08 +00:00
server-window.c Convert clients list into a TAILQ. 2015-04-24 23:17:11 +00:00
server.c Convert clients list into a TAILQ. 2015-04-24 23:17:11 +00:00
session.c Move the functions to convert ids from strings into session.c and window.c. 2015-04-25 18:09:28 +00:00
signal.c Tidy up some includes. 2014-10-20 23:27:14 +00:00
status.c Make message log a TAILQ. 2015-04-25 18:33:59 +00:00
style.c Fix setting old-style window -fg/-bg/-attr options that aren't global. 2015-04-15 15:44:40 +00:00
tmux.1 If default-terminal is set to "screen" or "screen-*", emulate screen's 2015-04-29 15:59:08 +00:00
tmux.c Make a tmux-%u directory under TMUX_TMPDIR, like TMPDIR. 2015-01-19 09:58:34 +00:00
tmux.h Add select-layout -o to undo the last layout change (apply the previously 2015-04-28 10:43:13 +00:00
tty-acs.c Copy ACS characters as UTF-8, from Balazs Kezes. 2014-10-02 08:36:26 +00:00
tty-keys.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
tty-term.c Support setting the default window and pane background colours (window 2015-04-19 21:05:27 +00:00
tty.c If default-terminal is set to "screen" or "screen-*", emulate screen's 2015-04-29 15:59:08 +00:00
utf8.c Style nit - unnecessary brackets. 2015-04-20 14:48:55 +00:00
window-choose.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
window-clock.c Rewrite of tmux mouse support which was a mess. Instead of having 2015-04-19 21:34:21 +00:00
window-copy.c Set working directory for run-shell and if-shell. 2015-04-24 22:19:36 +00:00
window.c Add select-layout -o to undo the last layout change (apply the previously 2015-04-28 10:43:13 +00:00
xmalloc.c Better format for printf format attributes. 2014-10-20 23:57:13 +00:00
xterm-keys.c Drop explicit support for F13-F20 and change to match the xterm terminfo 2014-07-21 10:25:48 +00:00