nicm
61605c6883
Count mouse clicks correctly, from Balazs Kezes.
2014-06-23 09:52:56 +00:00
Nicholas Marriott
f8481f93c5
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2014-06-21 19:48:03 +01:00
Nicholas Marriott
cddf50b715
Notes for better mouse support.
2014-06-21 19:45:52 +01:00
Nicholas Marriott
0c5ed177c4
We have utmp with utempter now and that's the best we're going to get.
2014-06-20 13:17:28 +01:00
Thomas Adam
814e40522c
Merge branch 'obsd-master'
2014-06-20 12:59:43 +01:00
Nicholas Marriott
1544c688e6
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2014-06-20 12:20:29 +01:00
Nicholas Marriott
8049baf0bd
Remove some done, tweak some others.
2014-06-20 12:19:51 +01:00
nicm
8d0819bff1
Comment style nits.
2014-06-20 11:00:19 +00:00
nicm
c8efffb4db
Make -S- and -E- mean the start and end to capture-pane to avoid having
...
to faff around with huge numbers to get everything.
2014-06-20 10:46:59 +00:00
Nicholas Marriott
19cb0a1a92
Might as well still allow autoconf 2.59.
2014-06-19 23:15:06 +01:00
nicm
00ac1af43f
Copy newline when at EOL in vi(1) mode, from Balazs Kezes.
2014-06-19 07:37:59 +00:00
nicm
fd9a53b4a4
Reset the buttons when the wheel is used, from Balazs Kezes.
2014-06-19 07:32:12 +00:00
nicm
a94696defa
Some terminals send spurious releases for mouse wheel in SGR mouse mode,
...
this causes confusion when tmux uses SGR outside but the application
inside tmux is using conventional xterm mouse reporting. So suppress
obviously bad input. From Timothy Allen, SF bug 128.
2014-06-19 07:26:43 +00:00
Nicholas Marriott
77f582ff13
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2014-06-18 09:31:07 +01:00
Nicholas Marriott
f5973b7776
Build DEBUG with -O2 as well.
2014-06-18 08:21:08 +01:00
nicm
21ade85f24
Properly track switching G0 and G1 modes between US-ASCII and VT100 line
...
drawing rather than just treating them as SO and SI.
2014-06-06 13:21:41 +00:00
nicm
74becbfd6f
Reset properly when c0-change-trigger is increased from zero so panes
...
don't get stuck.
2014-06-05 22:14:29 +00:00
nicm
193b6bcf36
Handle the top bit of xterm(1)-style modifier keys, based on a diff from
...
Balazs Kezes.
2014-05-27 13:04:42 +00:00
nicm
7160b8c2d5
Add some formats for pane bounds.
2014-05-27 12:49:36 +00:00
nicm
191f695bad
Change key-table to mode-table to allow for some future work. From Keith
...
Amling.
2014-05-14 06:45:35 +00:00
nicm
58c97695c9
Simplify copy lines, from Keith Amling.
2014-05-14 06:39:58 +00:00
nicm
53cbae544f
Now that cmdlists are reference counted, there is no need for two-step
...
deletion via the dead_key_bindings tree. From Keith Amling.
2014-05-14 06:21:19 +00:00
nicm
b2e791b574
Don't allow multiple buffers with the same name, from Thomas Adam.
2014-05-13 22:54:18 +00:00
Thomas Adam
92af7f5901
Linux: Add <time.h> to log.c
...
This is needed, otherwise tzset() is undefined.
2014-05-13 22:01:03 +01:00
Thomas Adam
bae95844d7
Merge branch 'obsd-master'
...
Conflicts:
format.c
window.c
2014-05-13 21:58:48 +01:00
nicm
b3e8d440ed
If multiple arguments are given to new-session, new-window,
...
split-window, respawn-window or respawn-pane, pass them directly to
execvp() to help avoid quoting problems. One argument still goes to "sh
-c" like before. Requested by many over the years. Patch from J Raynor.
2014-05-13 08:08:32 +00:00
nicm
b1a06ef22e
Add a copy mode key binding to copy to a named buffer. From J Raynor.
2014-05-13 07:54:20 +00:00
nicm
3dbacbb62b
Add support for named buffers. If you don't name a buffer, things work
...
much as before - buffers are automatically named "buffer0000",
"buffer0001" and so on and ordered as a stack. Buffers can be named
explicitly when creating ("loadb -b foo" etc) or renamed ("setb -b
buffer0000 -n foo"). If buffers are named explicitly, they are not
deleted when buffer-limit is reached. Diff from J Raynor.
2014-05-13 07:34:35 +00:00
nicm
f4ffaf5a7f
Just use char ** for argv like normal people, not char *const *.
2014-05-09 09:11:24 +00:00
nicm
353d1825d5
Send up and down keys for mouse wheel in alternate screen mode (when it
...
normally does nothing), from Marcel Partap.
2014-05-08 07:59:16 +00:00
nicm
94ccc6aeaa
Instead of forcing mouse scroll to 1 in choose mode, scale it down
...
instead. Means modifier keys still increase the line count, just not as
much. Based on a diff from Marcel Partap.
2014-05-08 07:54:47 +00:00
nicm
189017c078
Plug a memory leak, from J Raynor.
2014-05-08 06:06:07 +00:00
nicm
540f0b3e45
Both the two previous ways of navigating panes by direction have
...
irritating flaws:
a) The old way of always using the top or left if the choice is
ambiguous is annoying when the layout is unbalanced.
b) The new way of remembering the last used pane is annoying if the
layout is balanced and the leftmost is obvious to the user (because
clearly if we go right from the top-left in a tiled set of four we want
to end up in top-right, even if we were last using the bottom-right).
So instead, use a combination of both: if there is only one possible
pane alongside the current pane, move to it, otherwise choose the most
recently used of the choice.
2014-05-08 06:03:30 +00:00
nicm
6369ea10d7
Handle colour 8 properly in the 256 colour palette, from Timothy Allen.
2014-05-08 05:53:29 +00:00
Thomas Adam
ea5a223a2e
Merge branch 'obsd-master'
2014-04-30 00:05:58 +01:00
nicm
5b2c8156d5
fcntl.h is still needed here.
2014-04-29 22:31:22 +00:00
Thomas Adam
afb4dbd465
Typo in previous: $(srcdir)
2014-04-29 23:13:51 +01:00
Thomas Adam
b096ad9f22
Makefile.am: Honour $srcdir for mdoc2man.awk
...
Honour out-of-tree srcdir installs when generating the man page. Noticed by
Jon Tibble.
2014-04-29 23:10:22 +01:00
jsg
40cb4cb086
specifying ECHOCTL once is enough
...
ok nicm@
2014-04-25 12:45:16 +00:00
Thomas Adam
3f54c9292f
Merge branch 'obsd-master'
2014-04-24 12:59:00 +01:00
nicm
bec6c807cd
There is no longer a need for a paste_stack struct or for global_buffers
...
to be global. Move to paste.c.
2014-04-24 09:14:43 +00:00
Thomas Adam
953c3ef47a
Merge branch 'obsd-master'
...
Conflicts:
Makefile
tmux.1
window.c
2014-04-23 11:26:11 +01:00
nicm
7ab2690be8
Differentiate between linked and unlinked window closes and renames,
...
like we already do for adds. From Andre Masella.
2014-04-23 10:14:29 +00:00
Nicholas Marriott
12e9c974fa
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2014-04-17 23:50:24 +01:00
Nicholas Marriott
024846b4d8
If pgrp fails in osdep_get_cwd, try sid. Fixes eg cat foo|less. From Balazs
...
Kezes.
2014-04-17 23:48:19 +01:00
nicm
64613b9d41
#nnT went away a while ago, remove a leftover from the manpage.
2014-04-17 15:48:02 +00:00
nicm
806520f025
Add some UTF-8 utility functions and use them to prevent the width limit
...
on formats from splitting UTF-8 characters improperly.
2014-04-17 15:37:55 +00:00
nicm
a5d4b7f3d9
Some more long lines.
2014-04-17 14:45:49 +00:00
Nicholas Marriott
248ad8bdb2
Next up is 2.0 not 1.10.
2014-04-17 15:26:26 +01:00
nicm
f194f103a2
Only scroll by one line at a time in choose mode, lists are generally
...
pretty small.
2014-04-17 14:13:59 +00:00