6daf06b1ad
Fix memory leaks with paste_replace, based on changes from J Raynor.
2014-02-17 23:07:03 +00:00
945339b443
Allow replacing each of the many sets of separate foo-{fg,bg,attr}
...
options with a single foo-style option. For example:
set -g status-fg yellow
set -g status-bg red
set -g status-attr blink
Becomes:
set -g status-style fg=yellow,bg=red,blink
The -a flag to set can be used to add to rather than replace a style. So:
set -g status-bg red
Becomes:
set -ag status-style bg=red
Currently this is fully backwards compatible (all *-{fg,bg,attr} options
remain) but the plan is to deprecate them over time.
From Tiago Cunha.
2014-01-28 23:07:09 +00:00
7d3d996383
Support paste key in copy mode input (for search etc). Also clamp length
...
to screen width.
2014-01-22 22:32:15 +00:00
df680d7257
Only exit copy mode at the bottom if no selection in progress, from
...
Benoit Pierre.
2014-01-22 13:57:49 +00:00
72a4602b88
missing unsigned char casts areound tolower()
...
ok nicm
2013-11-20 17:01:23 +00:00
f0ed61f53c
Support case insensitive searching in the same manner as emacs - all
...
lowercase means case insensitive, any uppercase means case
sensitive. From J Raynor.
2013-11-09 00:48:57 +00:00
a6cd84869e
Correctly redraw the top two lines in copy mode when they are selected -
...
the selection was being updated before the redraw so the markings were
lost. Based on a fix from J Raynor.
2013-11-08 12:39:20 +00:00
7fa55b0419
Key to swap to other end of selection (bound to o with vi keys), from J
...
Raynor.
2013-10-23 11:31:03 +00:00
13d3439933
SSH key passphrase support
...
Closes #6
2013-07-23 16:55:06 -04:00
a9ebb62d54
Make next-word-end work properly with vi(1) keys, reported by patrick
...
keshishian.
2013-07-12 09:52:36 +00:00
7af5fec038
Whitespace nits, from Ben Boeckel.
2013-07-05 14:44:06 +00:00
c9a6e2560a
Synchronize the list binding pane (bind-key + ?)
2013-06-26 02:05:13 -04:00
edd194c23c
Synchronize copy-mode
2013-06-13 02:34:59 -04:00
599dd2a560
Create a new context when copying instead of using the input
...
context. The input context may not exist yet. Fixes crash when copying
from config file errors.
2013-03-25 11:43:33 +00:00
58932295fc
Add copy-pipe mode command to copy selection and also pipe to a command.
2013-03-22 15:52:40 +00:00
8d59b189cc
No more lint means no more ARGSUSED.
2013-03-22 10:31:22 +00:00
041a911c43
Create a new context when copying instead of using the input context. The input
...
context may not exist yet.
2013-03-21 23:57:21 +00:00
6ddb06d372
Extend jobs to support writing and use that for copy-pipe instead of popen,
...
from Chris Johnsen.
2013-03-21 14:24:33 +00:00
c3859d1df1
Add copy-pipe mode command to copy selection and also pipe to a command.
2013-02-19 17:49:53 +00:00
9d165df18a
No more lint means no more ARGSUSED.
2013-02-17 23:15:38 +00:00
64da762c15
Merge branch 'obsd-master'
2013-02-07 12:08:55 +00:00
8903c1f167
Automatically reflow wrapped lines when a pane is resized, requested by
...
many over the years and finally implemented by Richard Woodbury.
2013-02-05 11:08:59 +00:00
a3f4eb7b24
Merge branch 'obsd-master'
...
Conflicts:
Makefile
grid-utf8.c
2013-01-30 15:27:19 +00:00
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
39631edb98
Merge branch 'obsd-master'
...
Sync from OpenBSD.
2012-11-27 18:12:04 +00:00
1fcc7f50ac
When scrolling in copy mode with the mouse, scroll screen rather than
...
moving cursor. This change from Ailin Nemui, alternative to a change
from Stephen Hicks.
2012-11-27 14:42:56 +00:00
47fbf87185
Merge branch 'obsd-master'
...
Sync from OpenBSD.
2012-10-26 20:28:58 +01:00
d210d99cce
Make mouse event structure clearer by defining events (up, click, drag)
...
and simplifying how buttons and wheels are represented, from Ailin
Nemui. Should be no functional changes.
2012-10-26 14:35:42 +00:00
48750022c0
Merge branch 'obsd-master'
...
Sync from OpenBSD.
2012-09-25 17:05:36 +01:00
0d0b3cf9a4
Fix search forward so it can match strings on the last line, SF bug
...
3571114 from "LiJunLe".
2012-09-25 07:39:28 +00:00
200b0e5821
Sync OpenBSD patchset 1156:
...
Instead of numbering choose mode items 0-9a-z and then nothing, number
them all and if there are more than 10 use a prompt when 0-9 is
pressed. From Thomas Adam.
2012-08-12 19:28:20 +00:00
a3dec6bece
Instead of numbering choose mode items 0-9a-z and then nothing, number
...
them all and if there are more than 10 use a prompt when 0-9 is
pressed. From Thomas Adam.
2012-08-11 06:45:33 +00:00
a432fcd306
Sync OpenBSD patchset 1150:
...
xfree is not particularly helpful, remove it. From Thomas Adam.
2012-07-11 19:34:16 +00:00
df912e3540
xfree is not particularly helpful, remove it. From Thomas Adam.
2012-07-10 11:53:01 +00:00
e5b3858944
Sync OpenBSD patchset 1087:
...
Minor style nits - return ().
2012-04-10 09:54:29 +00:00
2c4e8b92ab
Sync OpenBSD patchset 1082:
...
Only exit mouse mode on scroll wheel when actually reaching the end of
the history, from James Nylen.
2012-04-10 09:45:41 +00:00
c829bdf537
Minor style nits - return ().
2012-04-01 20:53:47 +00:00
c11da7ca88
Only exit mouse mode on scroll wheel when actually reaching the end of
...
the history, from James Nylen.
2012-04-01 09:23:31 +00:00
e4eb43ec71
Sync OpenBSD patchset 1066:
...
Add a wrap-search option to turn off wrapping of searches in copy
mode. From Jacobo de Vera.
2012-03-18 02:12:24 +00:00
e678ba3943
Sync OpenBSD patchset 1046:
...
Always remember last cursor position when moving up or down, not just
for if crossing zero length lines. From Itay Perl.
2012-03-18 01:35:39 +00:00
95f48a219a
Add a wrap-search option to turn off wrapping of searches in copy
...
mode. From Jacobo de Vera.
2012-03-17 21:40:53 +00:00
1bbb793263
Always remember last cursor position when moving up or down, not just
...
for if crossing zero length lines. From Itay Perl.
2012-03-11 23:01:19 +00:00
76862acf3e
Sync OpenBSD patchset 986:
...
Support "jump to" like vi in copy mode using t and T keys. Also add x
and X for delete in edit mode.
From Ben Boeckel, thanks.
2011-12-06 18:50:26 +00:00
e04d13f6a6
Support "jump to" like vi in copy mode using t and T keys. Also add x
...
and X for delete in edit mode.
From Ben Boeckel, thanks.
2011-12-04 16:18:01 +00:00
9c920214e6
Sync OpenBSD patchset 981:
...
Move word-separators to be a session rather than window option, from Ben
Boeckel.
2011-11-25 13:33:04 +00:00
fd25d35868
Move word-separators to be a session rather than window option, from Ben
...
Boeckel.
2011-11-15 23:24:04 +00:00
d8d9c2af98
Sync OpenBSD patchset 971:
...
When copying, make repeat count indicate buffer to replace if used.
2011-10-31 13:54:28 +00:00
f5a73c5433
When copying, make repeat count indicate buffer to replace if used.
2011-10-23 23:38:16 +00:00
ff7343c203
Sync OpenBSD patchset 926:
...
PANE_FREEZE doesn't do anything anymore, so remove it.
2011-07-03 21:51:17 +00:00
1202284f37
PANE_FREEZE doesn't do anything anymore, so remove it.
2011-06-27 00:04:49 +00:00