9858071dd0
Sync OpenBSD patchset 748:
...
Handle failure to change mode, to avoid dying when switching into copy
mode when already in a different mode. Reported by "Florian".
2010-08-11 22:18:28 +00:00
2d74ce1d3a
Merge output (more) and copy modes into one single mode (called copy).
2010-04-05 05:11:44 +00:00
97c40b1f37
Sync OpenBSD patchset 596:
...
Use the target print function for copy-mode, spotted by Tiago Cunha.
2010-01-05 23:50:22 +00:00
e35f5b35bd
Sync OpenBSD patchset 539:
...
Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the
command entry structs and a couple of functions to check/set the flags.
2009-11-14 17:56:39 +00:00
f881502f84
Sync OpenBSD patchset 362:
...
Remove scroll mode which is now redundant, copy mode should be used instead.
The = key binding now does nothing.
2009-10-06 14:14:07 +00:00
36475f80e9
Sync OpenBSD patchset 271:
...
Now that pane targets (-t) are supported, switch some commands to use them
where it makes sense: clock-mode, copy-mode, scroll-mode, send-keys,
send-prefix.
2009-08-20 11:37:46 +00:00
d637cb33da
Sync OpenBSD patchset 181:
...
Make all messages sent between the client and server fixed size.
This is the first of two changes to make the protocol more resilient and less
sensitive to other changes in the code, particularly with commands. The client
now packs argv into a buffer and sends it to the server for parsing, rather
than doing it itself and sending the parsed command data.
As a side-effect this also removes a lot of now-unused command marshalling
code.
Mixing a server without this change and a client with or vice versa will cause
tmux to hang or crash, please ensure that tmux is entirely killed before
upgrading.
2009-07-28 22:12:16 +00:00
097b96ea44
Having fixed flags for single-character getopt options is a bit hard to
...
maintain and is only going to get worse as more are used. So instead, add a new
uint64_t member to cmd_entry which is a bitmask of upper and lowercase options
accepted by the command.
This means new single character options can be used without the need to add it
explicitly to the list.
2009-07-14 06:43:33 +00:00
5ccd0025a0
copy-mode and scroll-mode have a -u flag missing from usage, add it.
2009-07-14 06:42:22 +00:00
9f0653386b
$Id$.
2009-07-01 23:06:32 +00:00
eed4f7600d
Fix $Id$.
2009-06-29 22:04:51 +00:00
503c6a3377
Don't try to page up with scroll-mode -u or copy-mode -u unless the mode was
...
successfully changed - if already in a different mode, it would corrupt the
mode data.
2009-06-29 22:04:07 +00:00
eae026f2f7
Redraw selection properly.
2009-02-25 21:56:46 +00:00
2af52440ba
-u to start with screen scrolled up.
2009-01-27 23:35:44 +00:00
93230a64bc
Pass return code from _exec; allow command sequences to work from the command line.
2009-01-19 18:23:40 +00:00
162bacdcd9
Window splitting. Two vertical panes fixed 50% each. This is a huge diff, still a couple of bugs (notably heap corruption somewhere causing segfault on exit).
2009-01-11 23:31:46 +00:00
9722e7194b
Comments no longer valid.
2009-01-10 18:08:55 +00:00
99df48d70f
Trimify.
2008-06-18 22:21:51 +00:00
0b9b873a55
Big reorganisation of command-line syntax.
2008-06-05 21:25:00 +00:00
642c0b00ab
Easy bits of arg printing for list-keys.
2008-06-05 16:35:32 +00:00
f91e7bfd38
If no command is specified, assume new-session.
2008-06-03 05:35:51 +00:00
8731755ab4
Add a windowonly generic command and use it where appropriate. Also trim includes and unused.
2008-06-02 22:09:49 +00:00
95cc21c251
Quick man page update, also fix some usages and get rid of some CMD_KEY checks.
2008-06-02 21:36:51 +00:00
c7243b73cb
Move -s and -c down a level so handling them is the responsibility of the command (with some helper functions), rather than the top-level. This changes the action command syntax so that -s and -c must be after the command rather than before.
2008-06-02 18:08:17 +00:00
7dc18f68e3
set/reset mode window functions.
2007-12-06 10:04:43 +00:00
103748d6ad
Major reorganisation of screen handling.
2007-12-06 09:46:23 +00:00
76c8a590db
Big internal reorganisation to move tty control into parent.
2007-11-27 19:23:34 +00:00
b44bc4f8f5
Forgot to commit.
2007-11-23 14:28:47 +00:00