Commit Graph

6631 Commits

Author SHA1 Message Date
0264ef094a Can scroll away full lines to clear them too. 2017-05-12 23:06:43 +00:00
f688653710 Remove an unused variable. 2017-05-12 22:43:15 +00:00
886d896098 Merge branch 'obsd-master' 2017-05-12 18:01:14 +01:00
8331000764 Merge branch '2.5-rc' 2017-05-12 16:18:31 +01:00
0cd74723e1 When expanding a line in order to clear it, we need to use the default
background colour - there may be portions that we do not want to clear
with the new background colour.
2017-05-12 15:18:13 +00:00
2bff5e7867 ECH needs to use background colour. 2017-05-12 16:16:16 +01:00
90f2a417af Need to clear tty context before using it. 2017-05-12 16:04:13 +01:00
7c07f5f640 Cannot rely on cursor position after DL and IL (some terminals move to
column 0, some do not).
2017-05-12 16:03:49 +01:00
20e30593a5 Merge branch 'obsd-master' 2017-05-12 16:01:14 +01:00
e2a18e2b37 Need to store bg for ECH. 2017-05-12 14:56:56 +00:00
da724fe1c0 Cannot rely on cursor position after DL and IL (some terminals move to
column 0, some do not).
2017-05-12 14:13:54 +00:00
ffd8beb6f6 Need to clear tty context before using it. 2017-05-12 13:29:05 +00:00
5d3cf2ff15 Only redraw single client, and tweak some logging. 2017-05-12 13:27:57 +00:00
7f813dcb6a Merge branch 'obsd-master' 2017-05-12 14:01:17 +01:00
18bab30792 Scrolling needs to use background colour. 2017-05-12 13:00:56 +00:00
60f7b05c0c Regions can't be smaller than 2 so don't try to clear them by scrolling if so. 2017-05-12 11:19:24 +00:00
7f626c8959 Can use INDN to clear regions with default background colour if margins
are supported.
2017-05-12 11:13:43 +00:00
886d50dcab ECH needs to use background colour. 2017-05-12 10:50:11 +00:00
7d3e2c83d4 Store copy mode search string in pane so search-again command works even
if you exit and reenter copy mode (it doesn't remember the position,
just the search string), suggested by espie@.
2017-05-12 10:45:38 +00:00
1cdc4568bd Merge branch '2.5-rc' 2017-05-11 23:28:56 +01:00
69df38f8d8 Clear to start of screen needs to use background colour. 2017-05-11 23:28:44 +01:00
5e30b81825 Need to redraw out to cellsize (total cells used in a line) rather than
cellused (only non-space cells) because there may be cells with a
nondefault background.
2017-05-11 23:28:22 +01:00
99582befc4 Merge branch 'obsd-master' 2017-05-11 14:01:10 +01:00
c0d3f204b0 Clear to start of screen needs to use background colour. 2017-05-11 11:39:30 +00:00
989cdca95f Need to redraw out to cellsize (total cells used in a line) rather than
cellused (only non-space cells) because there may be cells with a
nondefault background.
2017-05-11 11:38:49 +00:00
def8f852e3 Merge branch 'obsd-master' 2017-05-11 10:01:10 +01:00
349cdd6110 Make environ_log prefix take a format. 2017-05-11 07:34:54 +00:00
c54a5b3690 Change how we resolve which pane is dragging when there are multiple
options - choose the largest pane, which is more likely to be the one the
user wants to resize. Prompted by a report from Thomas Sattler.
2017-05-11 07:24:42 +00:00
6d961d672d Merge branch 'obsd-master' 2017-05-10 22:01:13 +01:00
247ec2ad88 Merge branch 'obsd-master' 2017-05-10 20:01:17 +01:00
8ab2753521 Move to the right cursor position before using spaces to clear. 2017-05-10 18:40:13 +00:00
2dc9bfd93a Prevent control clients from affecting the session size until they have
specified a size with refresh-client -C. Prompted by a different change
with the same purpose from George Nachman.
2017-05-10 16:48:36 +00:00
9dc6946ebf We can use ECH to clear sections of lines, so use it for internal panes
(that don't touch an edge). Move all the tty clear code into two common
functions rather than having the same bunch of checks everywhere.
2017-05-10 16:47:03 +00:00
0868512bbc Merge branch 'obsd-master' 2017-05-10 16:01:10 +01:00
b519551153 Expand formats in option names and add -F flag to do so in option values as well. 2017-05-10 13:05:41 +00:00
f8b3f1622d Merge branch 'obsd-master' 2017-05-10 14:01:11 +01:00
0e3c5ebe1a Insert copy mode bindings at the right place in the command queue. 2017-05-10 10:46:59 +00:00
daef51e038 Typo. 2017-05-09 23:18:48 +01:00
e82c42661b Back to master. 2017-05-09 23:11:01 +01:00
3a47dec424 Fix test. 2017-05-09 23:01:10 +01:00
7b17618890 2.5-rc and changes. 2017-05-09 22:53:36 +01:00
71bc255e6f Merge branch 'master' of github.com:tmux/tmux 2017-05-09 22:34:15 +01:00
8f990c573c Update TODO. 2017-05-09 22:33:39 +01:00
3f1d6102f3 Merge branch 'obsd-master' 2017-05-09 20:01:10 +01:00
3712b41aba If the target pane for send-keys in in a mode with a key table (that is,
copy mode), then look the key up in the table and fire any command
instead of delivering the key to the pane directly where it will be
ignored. This makes C-b C-b (send-prefix) work in copy mode again.
2017-05-09 17:56:55 +00:00
4bcb64f8c1 Merge branch 'obsd-master' 2017-05-09 15:44:33 +01:00
a651b08a2f Merge branch 'obsd-master'
Conflicts:
	format.c
2017-05-09 15:44:13 +01:00
3b35daacf7 If the current screen was complex enough, it was possible to make redraw
itself hit the "terminal can't keep up" check. To avoid this, record how
much data we send during redraw (we know we will be starting with 0) and
skip the check until it has been flushed. GitHub issue 912.
2017-05-09 13:04:36 +00:00
18f36906a9 Set current pane in rotate-window. 2017-05-09 11:00:48 +00:00
5fee4638e0 Add a format for the name of the pane's mode, lets it be used as a
conditional for key bindings.
2017-05-07 22:27:57 +00:00