nicm
28f23f18e9
Free the history when it is cleared, based on a diff from Carlo Cannas.
2015-09-25 15:53:07 +00:00
nicm
2a62917444
Don't leak fd and path on failure.
2015-09-24 12:06:20 +00:00
nicm
69ea6b9373
Do not leak log file descriptor.
2015-09-24 12:03:58 +00:00
nicm
ddb2d1221b
Assign flag not number for flag types (we got away with it so far
...
because that are a union). From Filipe Brandenburger.
2015-09-24 07:02:18 +00:00
nicm
dc66795e35
Don't update last session when the session is unchanged, from Sina Siadat.
2015-09-22 21:56:16 +00:00
nicm
d5f223a3fe
Reset the alerts timer always on activity, from Thomas Adam.
2015-09-21 09:34:52 +00:00
nicm
6b709e655e
-l should apply to the new not the old pane with -b, from "MadMaverick9"
...
on GitHub.
2015-09-18 09:55:22 +00:00
nicm
8b5d5dca9f
Redraw both src and dst sessions in break-pane.
2015-09-17 14:11:55 +00:00
nicm
c1d0b6a6ee
Log when cmdq_continue is called.
2015-09-16 22:41:00 +00:00
nicm
232a0ffc34
Give some variables less silly names.
2015-09-16 22:40:27 +00:00
nicm
ecb257f0ef
A few minor style nits.
2015-09-16 22:40:05 +00:00
nicm
d1b73be6e1
Hoist some common code out of both branches of an if/else.
2015-09-16 22:29:30 +00:00
nicm
a4b4b29987
Rename cmd_q dead flag to a general flags bitmask (will be more flags later).
2015-09-16 22:24:54 +00:00
nicm
16ee4de5df
Remove some extra blank lines.
2015-09-14 13:22:02 +00:00
nicm
62bb6e37e0
Should add buffer if no -b.
2015-09-14 12:52:22 +00:00
nicm
216ddf3da5
Move tzset() from log_open to main.
2015-09-14 12:12:24 +00:00
nicm
8da6de3e66
Style nit, int for flags not u_int.
2015-09-14 11:57:22 +00:00
nicm
af16ce6ad9
When the active pane changes, redraw panes if the style has
...
changed. From Cam Hutchison.
2015-09-14 11:34:50 +00:00
nicm
16efa84838
Make refresh-client force update of jobs, from Sina Siadat.
2015-09-14 10:25:52 +00:00
nicm
901c2eb20a
Add copy-mode -e to exit copy mode when scrolling off the bottom, useful
...
for quick view of history, from Cam Hutchison.
2015-09-13 13:31:40 +00:00
nicm
ede0f2f633
Set woken flag when flushing so that the channel is freed, while here
...
use the same loop construct for both loops.
2015-09-13 10:45:55 +00:00
nicm
a3de5dbab1
Merge delete-buffer into cmd-set-buffer.c and change the paste buffer
...
API so it has one paste_free() rather than free_top and free_name
(everywhere that uses it already has the right pointer).
2015-09-11 14:41:50 +00:00
nicm
cfabe30bec
Add session_last_attached time and format, from Sina Siadat.
2015-09-10 08:58:14 +00:00
nicm
67ee995cc1
No need to keep global options around for client which doesn't use them.
2015-09-09 12:09:21 +00:00
nicm
aceae73b9a
Change wait-for to work when the signal comes before the wait, also use
...
some helper functions and add some logging.
2015-09-04 12:02:44 +00:00
nicm
82326dcbe2
A couple of style nits.
2015-09-03 14:30:23 +00:00
nicm
6c10fc659a
Log pane which received input data.
2015-09-02 17:52:57 +00:00
nicm
38e3baab2a
A one line helper function is a little silly.
2015-09-02 17:43:25 +00:00
nicm
8121127606
We no longer need the terminal service class, so don't bother asking for it.
2015-09-02 17:37:54 +00:00
nicm
a45164f2e0
Fix indentation of grid_string_cells_fg.
2015-09-02 17:12:07 +00:00
nicm
93b946ee50
Tweak some error messages/comments.
2015-09-01 19:50:09 +00:00
nicm
66a2720c56
Log the whole new input buffer once rather than each byte.
2015-09-01 19:16:00 +00:00
nicm
364a885b0c
Pass logging through vis(3).
2015-09-01 19:14:43 +00:00
nicm
fa3d4fab85
Fix a spelling error, sesson -> session.
2015-09-01 18:50:16 +00:00
nicm
69a2d46ee5
Remove dead_clients which is no longer used.
2015-09-01 11:13:39 +00:00
nicm
952ba84611
Work out config file when needed not at startup.
2015-09-01 10:10:59 +00:00
nicm
83157c02d6
Move initial conf load into cfg.c.
2015-09-01 10:01:56 +00:00
nicm
2a836bc306
All the cmd_*_entry declarations do not need to be in tmux.h.
2015-09-01 09:48:34 +00:00
nicm
6a539c00df
Path from $TMUX does not need to be global anymore.
2015-08-30 22:56:36 +00:00
nicm
c6e9160c67
Login shell can be a client flag, and move the exec code into client.c.
2015-08-30 22:40:25 +00:00
nicm
dd92b6e83d
Event base does not need to be global.
2015-08-30 22:19:07 +00:00
nicm
b87dc608d9
Some style nits and dead assignments.
2015-08-30 15:43:40 +00:00
nicm
5047670693
Remove some old prototypes and unused functions.
2015-08-29 23:55:55 +00:00
nicm
52bbac506c
struct args_entry can go into arguments.c.
2015-08-29 23:19:52 +00:00
nicm
373ef850e0
paste_send_pane can be merged into cmd-paste-buffer.c now.
2015-08-29 09:36:46 +00:00
nicm
b569585000
Move struct paste_buffer out of tmux.h.
2015-08-29 09:25:00 +00:00
nicm
b9f0571780
We already loop over the windows in server_client_loop, so don't do it
...
again in server_loop just to check names.
2015-08-29 08:54:41 +00:00
nicm
b5aaefc727
Move alerts onto events rather than checking every loop.
2015-08-29 08:30:54 +00:00
nicm
5267ce8ff4
Treat entering or leaving a mode as pane changed.
2015-08-29 00:39:18 +00:00
nicm
b7861f34ba
Better take on reducing the name timer. Again check for name changes in
...
the main loop after events that may have changed the pane, but do so at
most once every 500 millis. If the pane changed too soon, use a timer to
ensure that a check happens later.
2015-08-29 00:29:15 +00:00