summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-display-message.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't interpret #() for display-message, it usually doesn't make sense and maynicm2009-11-191-2/+2
| | | | leak commands.
* Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in thenicm2009-11-131-2/+2
| | | | command entry structs and a couple of functions to check/set the flags.
* Rather than running status-left, status-right and window title #() with popennicm2009-10-101-2/+2
| | | | | | | | | | | | | | | | | immediately every redraw, queue them up and run them in the background, starting each once every status-interval. The actual status line uses the output from the last run. This brings several advantages: - tmux itself may be called from inside #() without causing the server to hang; - likewise, sleep or similar doesn't cause the server to block; - commands aren't run excessively often when redrawing; - commands shared by status-left and status-right, or used multiple times, will only be run once. run-shell and if-shell still use system()/popen() but will be changed over to use this too later.
* Make all messages sent between the client and server fixed size.nicm2009-07-261-3/+1
| | | | | | | | | | | | | | 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.
* - New command display-message (alias display) to display a message in thenicm2009-07-171-0/+65
status line (bound to "i" and displays the current window and time by default). The same substitutions are applied as for status-left/right. - Add support for including the window index (#I), pane index (#P) and window name (#W) in the message, and status-left or status-right. - Bump protocol version. From Tiago Cunha, thanks!