| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| | |
Olavi Niemitalo, thanks.
|
| |
| |
| |
| |
| |
| |
| | |
when trying to paste them, found by me, and miscalculation of the start/end
causing random fatal errors when copying in copy-mode, reported by sthen.
ok sthen "put it in" deraadt
|
|
|
|
|
|
|
| |
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.
ok deraadt pirofti
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
xfree is not particularly helpful, remove it. From Thomas Adam.
|
|
|
|
|
| |
Minor style nits - return ().
|
|
|
|
|
|
| |
Only exit mouse mode on scroll wheel when actually reaching the end of
the history, from James Nylen.
|
|
|
|
|
|
| |
Add a wrap-search option to turn off wrapping of searches in copy
mode. From Jacobo de Vera.
|
|
|
|
|
|
| |
Always remember last cursor position when moving up or down, not just
for if crossing zero length lines. From Itay Perl.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Move word-separators to be a session rather than window option, from Ben
Boeckel.
|
|
|
|
|
| |
When copying, make repeat count indicate buffer to replace if used.
|
|
|
|
|
| |
PANE_FREEZE doesn't do anything anymore, so remove it.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Add three new copy-mode commands - select-line, copy-line,
copy-end-of-line. From Dave Disser and Randy Stauner a while back.
|
|
|
|
|
|
| |
Use button mouse mode not any for copy mode, fixes issues with
putty. From Ailin Nemui.
|
|
|
|
|
|
| |
Tweak copy behaviour slightly in vi mode to be closer to real vi. From
Tiago Resende.
|
|
|
|
|
|
|
|
| |
When mode-mouse is on (it is off by default), automatically enter copy
mode when the mouse is dragged or the mouse wheel is used. Also exit
copy mode when the mouse wheel is scrolled off the bottom. Discussed
with and written by hsim at gmx dot li.
|
|
|
|
|
|
|
|
|
|
| |
|Date: 2011/03/28 20:44:31
|Author: nicm
|Branch: HEAD
|Tag: (none)
|Log:
|Style: uint -> u_int and a missing else.
|
|
|
|
|
| |
As a consequence buffer-limit is now a server option.
|
|
|
|
|
|
| |
Support all four of the xterm mouse modes. Based on a diff from hsim at
gmx.li.
|
|
|
|
|
| |
selection on the right edge but on the left it is.
|
|
|
|
|
|
| |
When resizing the copy mode screen, don't allow it to end up with the
viewable position beyond the size of the history.
|
|
|
|
|
| |
Do not crash if the screen size is too small for the indicator in copy mode.
|
| |
|
|
|
|
|
| |
replace some magic mouse constants with defines for clarity. ok nicm
|
|
|
|
|
|
|
|
|
|
| |
When the mode-mouse option is on, support dragging to make a selection
in copy mode.
Also support the scroll wheel, although xterm strangely does not ignore
it in application mouse mode, causing redraw artifacts when scrolling up
(other terminals appear to be better behaved).
|
|
|
|
|
| |
Display C-@, etc, as C-Space, in list-keys.
|
| |
|
|
|
|
|
| |
We were only ever using the client to find the session anyway.
|
|
|
|
| |
is larger than the new total number of history lines.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Permit keys in copy mode to be prefixed by a repeat count, entered with
[1-9] in vi mode, or M-[1-9] in emacs mode.
From Micah Cowan, tweaked a little by me.
|
|
|
|
|
|
|
|
|
|
| |
Extend the end-of-line key so that in normal mode a second press moves
the cursor to the end of a wrapped line (if present) and in rectangle
mode it toggles between the end of the text and the last cell on the
line.
From Micah Cowan.
|
|
|
|
|
|
| |
Option to set the characters considered word separators in copy mode, from
Micah Cowan.
|
|
|
|
|
|
|
| |
Another copy mode fix from Micah Cowan: in rectangle copy mode, the cursor
should not wrap at the end of the text on the line but should be allowed to
move freely.
|
|
|
|
|
|
| |
copy mode uses the real screen as backing and if it is updated while copying,
strange things can happen. So, freeze reading from the pty while in copy mode.
|
|
|
|
|
|
| |
Make next-word stop at beginning of word even if it is at the start of the
line, from Micah Cowan.
|
|
|
|
|
|
| |
Don't strip add newline if only copying part of wrapped line. Problem spotted
by and fix from Micah Cowan.
|
|
|
|
|
|
| |
Add "N" key to search the opposite way from the last search (reverse of "n"),
from Micah Cowan.
|
|
|
|
|
| |
Rectangle copy support, from Robin Lee Powell.
|
|
|
|
|
|
|
|
|
| |
vi-style B, W and E keys in copy mode to navigate between words treating only
spaces as word separators. Also add . to the list of word separators for
standard word navigation.
From Micah Cowan, tweaked slightly by me.
|
|
|
|
|
|
| |
Alter next-word to have vi-like movement behaviour, and add next-word-end with
the existing emacs behaviour. From Micah Cowan.
|
|
|
|
|
| |
Hugely simplify window_copy_cursor_next_word, which was way overcomplicated.
|
|
|
|
|
| |
Update the selection properly after goto line or searching.
|