summaryrefslogtreecommitdiffstats
path: root/cmd-list.c
AgeCommit message (Collapse)Author
2010-07-02Sync OpenBSD patchset 727:Tiago Cunha
Setting the cmdlist pointer in the bind-key to NULL to prevent it being freed after the command is executing is bogus because it may still be needed if the same command is going to be executed again (for example if you "bind-key a bind-key b ..."). Making a copy is hard, so instead add a reference count to the cmd_list. While here, also print bind-key -n and the rest of the flags properly. Fixes problem reported by mcbride@.
2010-03-18Reset output functions too when changing client after attaching.Nicholas Marriott
2010-02-02Sync OpenBSD patchset 626:Tiago Cunha
Don't stop parsing command sequences when a command requests the client to stick around (attach-session/new-session).
2009-07-28Sync OpenBSD patchset 181:Tiago Cunha
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-05-04Space trimmage mega-diff.Nicholas Marriott
2009-04-30Support "neww; neww" as well "neww ; neww".Nicholas Marriott
2009-02-16Memory leak.Nicholas Marriott
2009-01-19Pass return code from _exec; allow command sequences to work from the ↵Nicholas Marriott
command line.
2009-01-18Support command sequences separated by " ; ". Also clean up command printing.Nicholas Marriott