Thomas Adam
b58bca9a72
Merge branch 'obsd-master'
...
Conflicts:
tmux.c
2013-04-13 17:05:49 +01:00
Nicholas Marriott
5e4d9a3197
Move the cursor back into the last column on CUU/CUD to match xterm
...
behaviour. From George Nachman.
2013-03-27 11:19:19 +00:00
Nicholas Marriott
f19836550b
Unbreak line wrapping.
2013-03-22 10:41:01 +00:00
Nicholas Marriott
ad5df9bc2f
Implement DECAWM (SM/RM 7) using existing MODE_WRAP flag.
2013-03-22 10:36:53 +00:00
Nicholas Marriott
67b4d5b609
Support the latest theory for mouse input, this is enabled/disabled with
...
SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or
\033[b;x;ym. From Egmont Koblinger.
2013-03-22 10:33:50 +00:00
Nicholas Marriott
10682b9e7e
Instead of loads of little screen_write_*_on and off functions which
...
just change mode flags, just have screen_write_mode_set and
screen_write_mode_clear.
2013-03-21 18:47:56 +00:00
Nicholas Marriott
e2b26d910c
Unbreak line wrapping.
2013-02-18 23:31:23 +00:00
Nicholas Marriott
a6c4c2cca0
Implement DECAWM (SM/RM 7) using existing MODE_WRAP flag.
2013-02-18 15:57:46 +00:00
Nicholas Marriott
e5eee7de0c
Support the latest theory for mouse input, this is enabled/disabled with SM/RM
...
1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From
Egmont Koblinger.
2013-02-18 14:52:27 +00:00
Nicholas Marriott
9d165df18a
No more lint means no more ARGSUSED.
2013-02-17 23:15:38 +00:00
Nicholas Marriott
cf2c0237f4
Instead of loads of little screen_write_*_on and off functions which just
...
change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
2013-02-17 10:43:35 +00:00
Thomas Adam
a3f4eb7b24
Merge branch 'obsd-master'
...
Conflicts:
Makefile
grid-utf8.c
2013-01-30 15:27:19 +00:00
Nicholas Marriott
fdbfc7e349
Rather than having two grids for each pane, one for ASCII and one for
...
UTF-8, collapse the two together. Simplifies the code at the expense of
more memory (which can probably be reduced again later).
2013-01-18 02:16:21 +00:00
Thomas Adam
de194016ec
Merge branch 'obsd-master'
2013-01-17 01:38:21 +00:00
Nicholas Marriott
44f8e1caff
Implement ECH (erase character, CSI X). Reported by Christian Neukirchen.
2013-01-15 23:18:55 +00:00
Thomas Adam
fb83914bd7
Merge branch 'obsd-master'
...
Sync from OpenBSD.
2012-12-08 20:29:37 +00:00
Nicholas Marriott
3fa4f691e3
Handle resetting 256-colours properly when parsing #[default],
...
#[fg=default] and #[bg=default] styles.
2012-12-08 17:05:57 +00:00
Nicholas Marriott
ce0b285aad
Fix up missing bits.
2012-09-25 08:54:01 +01:00
Nicholas Marriott
eb0ad181e9
Use ACS characters for choose-tree arrows based on diff from Romain
...
Francoise.
2012-09-24 12:53:55 +00:00
Tiago Cunha
a432fcd306
Sync OpenBSD patchset 1150:
...
xfree is not particularly helpful, remove it. From Thomas Adam.
2012-07-11 19:34:16 +00:00
Nicholas Marriott
df912e3540
xfree is not particularly helpful, remove it. From Thomas Adam.
2012-07-10 11:53:01 +00:00
Tiago Cunha
21ab66569c
Sync OpenBSD patchset 1055:
...
Revert screen-write.c r1.54 and fix the bug properly. After wrapping a
line in a pane, the cursor needs to move to the next line unless it
scrolled.
2012-03-18 01:57:01 +00:00
Tiago Cunha
c7f078dcbc
Sync OpenBSD patchset 1050:
...
Store context off before moving the cursor when wrapping, to fix long
standing bug drawing over the status line.
2012-03-18 01:40:26 +00:00
Nicholas Marriott
0489213b1b
Revert screen-write.c r1.54 and fix the bug properly. After wrapping a
...
line in a pane, the cursor needs to move to the next line unless it
scrolled.
2012-03-17 17:36:03 +00:00
Nicholas Marriott
71df37c247
Store context off before moving the cursor when wrapping, to fix long
...
standing bug drawing over the status line.
2012-03-14 23:29:07 +00:00
Tiago Cunha
3275e9bd5b
Sync OpenBSD patchset 1037:
...
Support "bracketed paste" mode. This adds a -p flag to paste-buffer - if
this is used and the application has requested bracketed pastes, then
tmux surrounds the pasted text by \033[200~ and \033[201~. Applications
like vim can (apparently) use this to avoid, for example, indenting the
text. From Ailin Nemui.
2012-03-07 13:36:19 +00:00
Nicholas Marriott
f4fdddc930
Support "bracketed paste" mode. This adds a -p flag to paste-buffer - if
...
this is used and the application has requested bracketed pastes, then
tmux surrounds the pasted text by \033[200~ and \033[201~. Applications
like vim can (apparently) use this to avoid, for example, indenting the
text. From Ailin Nemui.
2012-03-03 09:43:22 +00:00
Tiago Cunha
4bea559037
Sync OpenBSD patchset 1004:
...
Add a -R flag to send-keys to reset the terminal. Written ages ago and
Suggested by someone, I forget who.
2012-01-21 19:31:59 +00:00
Nicholas Marriott
66f04514cf
Add a -R flag to send-keys to reset the terminal. Written ages ago and
...
Suggested by someone, I forget who.
2012-01-21 08:10:21 +00:00
Tiago Cunha
03ee7f7edf
Sync OpenBSD patchset 969:
...
Support for \e[3J to clear the history. Also send the corresponding
terminfo code (E3) before locking.
2011-10-23 15:10:22 +00:00
Nicholas Marriott
f0aad68aee
Support for \e[3J to clear the history. Also send the corresponding
...
terminfo code (E3) before locking.
2011-10-23 10:16:14 +00:00
Tiago Cunha
391f1f08c0
Expand the Id keyword.
2011-07-09 09:42:33 +00:00
Tiago Cunha
89f35125b4
Sync OpenBSD patchset 914:
...
Support setting the xterm clipboard when copying from copy mode using
the xterm escape sequence for the purpose (if xterm is configured to
allow it).
Written by and much discussed Ailin Nemui, guidance on
xterm/termcap/terminfo from Thomas Dickey.
2011-05-22 16:23:07 +00:00
Nicholas Marriott
96e7f33da3
Support setting the xterm clipboard when copying from copy mode using
...
the xterm escape sequence for the purpose (if xterm is configured to
allow it).
Written by and much discussed Ailin Nemui, guidance on
xterm/termcap/terminfo from Thomas Dickey.
2011-05-18 20:24:29 +00:00
Nicholas Marriott
6351940744
|PatchSet 890
...
|Date: 2011/04/17 20:21:19
|Author: nicm
|Branch: HEAD
|Tag: (none)
|Log:
|Fix character position check, from Tiago Resende.
2011-04-18 21:06:49 +00:00
Nicholas Marriott
044c0f978f
Fix character position check, from Tiago Resende.
2011-04-17 19:21:19 +00:00
Nicholas Marriott
d74e5bffba
Fix to properly wrap wide characters, from Micah Cowan.
2011-03-26 19:07:33 +00:00
Micah Cowan
a9eb5e12ec
Fix to properly wrap wide characters.
2011-03-24 17:03:29 +00:00
Tiago Cunha
a0295b4c2f
Sync OpenBSD patchset 866:
...
Support passing through escape sequences to the underlying terminal by
using DCS with a "tmux;" prefix. Escape characters in the sequences must
be doubled. For example:
$ printf '\033Ptmux;\033\033]12;red\007\033\\'
Will pass \033]12;red\007 to the terminal (and change the cursor colour
in xterm). From Kevin Goodsell.
2011-03-19 23:30:37 +00:00
Nicholas Marriott
79e30daeae
Support passing through escape sequences to the underlying terminal by
...
using DCS with a "tmux;" prefix. Escape characters in the sequences must
be doubled. For example:
$ printf '\033Ptmux;\033\033]12;red\007\033\\'
Will pass \033]12;red\007 to the terminal (and change the cursor colour
in xterm). From Kevin Goodsell.
2011-03-07 23:46:27 +00:00
Tiago Cunha
2ab568fa88
Sync OpenBSD patchset 853:
...
When clearing the entire screen, clear lines that are used into the
history like xterm does. Requested ages ago by someone I've forgotten.
2011-02-15 15:10:47 +00:00
Nicholas Marriott
ecc22c521d
When clearing the entire screen, clear lines that are used into the
...
history like xterm does. Requested ages ago by someone I've forgotten.
2011-01-25 23:40:26 +00:00
Tiago Cunha
219442cff7
Sync OpenBSD patchset 828:
...
Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262
and supports larger terminals than the older way.
If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
UTF-8 terminals. The option defaults to on if LANG etc are set in the
same manner as the utf8 option.
With help and based on code from hsim at gmx.li.
2011-01-07 14:34:45 +00:00
Nicholas Marriott
ac3b78a841
Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262
...
and supports larger terminals than the older way.
If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
UTF-8 terminals. The option defaults to on if LANG etc are set in the
same manner as the utf8 option.
With help and based on code from hsim at gmx.li.
2011-01-03 23:35:21 +00:00
Tiago Cunha
095e1b410a
Sync OpenBSD patchset 812:
...
Support all four of the xterm mouse modes. Based on a diff from hsim at
gmx.li.
2010-12-30 22:27:38 +00:00
Nicholas Marriott
f7c42c21ba
Support all four of the xterm mouse modes. Based on a diff from hsim at
...
gmx.li.
2010-12-29 21:49:06 +00:00
Nicholas Marriott
5afb820d23
Ensure we overwrite UTF-8 wide characters properly, and never overwrite
...
characters we weren't overlapping. Fixes "disappearing wide characters"
glitch. From Micah Cowan.
2010-06-21 00:11:12 +00:00
Micah Cowan
cac532c3d1
Ensure we overwrite wide characters properly, and never overwrite characters we weren't overlapping.
...
Fixes "disappearing wide characters" glitch.
2010-06-16 18:09:23 +00:00
Nicholas Marriott
ac9daf92d7
Merge copy mode and output mode, dropping the latter. Idea and code from
...
Micah Cowan.
2010-04-06 21:35:44 +00:00
Micah Cowan
2d74ce1d3a
Merge output (more) and copy modes into one single mode (called copy).
2010-04-05 05:11:44 +00:00