4c91c153cb
I strongly suspect it is possible for tmux to block on detach in tty_raw, so
...
make the fd blocking again much later and have tty_raw just retry the write a
few times.
2013-02-17 22:28:11 +00:00
cf2c0237f4
Instead of loads of little screen_write_*_on and off functions which just
...
change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
2013-02-17 10:43:35 +00:00
3d9fd1c7f2
Add various checks to turn off bits that can't work in control mode (such as
...
lock).
2013-02-17 10:12:55 +00:00
d1e8fb33da
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-02-17 10:04:59 +00:00
1e3a4f2331
Do not include status line in size calculations in control mode.
2013-02-17 10:04:26 +00:00
2ac1d46f46
Don't set key KEYC_NONE on xterm_keys_find match()
...
When calling xterm_keys_find(); if we get a complete match, don't set the
key to unknown before calling the action to complete the binding; otherwise
non-prefixed bindings will not work.
2013-02-16 21:04:48 +00:00
77a2174685
Fix a couple of memory leaks, from Romain Francoise.
2013-02-16 19:35:49 +00:00
3e270af17a
Don't omit half the default table (!= not ==).
2013-02-16 13:29:40 +00:00
10db7ec51b
Include the \033 in the key tree and adjust key matching for this change.
2013-02-16 13:21:14 +00:00
4f01bfc4bc
Make choose-tree actually work again.
2013-02-15 12:57:13 +00:00
1d591ada76
Support capture-pane -p to send to stdout.
2013-02-15 09:31:45 +00:00
2bdc59fac8
Fix a comment for new key table names.
2013-02-15 02:38:15 +00:00
784a74df0b
Fix function parameter to tty_keys_free.
2013-02-15 02:18:38 +00:00
82355d2f2d
Tidy by splitting default key tables into two.
2013-02-15 02:16:41 +00:00
97a99d8718
Add -c to refresh-client to set client size in control mode, based on code from
...
George Nachman.
2013-02-15 01:54:48 +00:00
755d4863c8
Spaces -> tabs.
2013-02-14 12:22:14 +00:00
28544391f5
Do not leak formats in status_replace.
2013-02-14 12:20:17 +00:00
931b0103cd
Clarify choose-tree entry in man page.
2013-02-13 11:07:21 +00:00
6e03b50771
Run session command before window in choose-tree.
2013-02-13 11:05:10 +00:00
362c460767
Do not crash when calling choose-tree with a command that changes the mode.
2013-02-13 11:01:26 +00:00
f4c815a1d9
Fix constness again, sigh.
2013-02-13 10:41:12 +00:00
fc6f08d5b7
No more need for freefn.
2013-02-13 10:27:49 +00:00
68e370574a
Fix constness of window_choose_add_item and _window.
2013-02-13 10:25:37 +00:00
544c80d715
Fix constness of cmd_template_replace.
2013-02-13 10:19:43 +00:00
36fe146a74
Fix choose-tree usage.
2013-02-13 09:55:37 +00:00
caa29af2a9
Add user options, prefixed with @. May be set to any arbitrary string.
2013-02-13 09:54:24 +00:00
0f31d231db
Return error for --foo when using compat/getopt.c.
2013-02-12 20:36:22 +00:00
102cb77435
Add -v to set and setw to show only option value.
2013-02-12 20:12:10 +00:00
7360ff4496
Use proc_pidinfo on Darwin for process name too, from OZAKI Kiichi.
2013-02-12 09:40:22 +00:00
a6fd92bd8d
Remove stray change accidentally committed.
2013-02-10 19:15:49 +00:00
06ac4b628d
Add a format client_prefix which is 1 if prefix key has been pressed, used for
...
example #{?client_prefix,X,Y}. Also a few extra server_client_status needed.
2013-02-10 18:58:05 +00:00
6c53a1ed68
Allow formats in status options.
2013-02-10 18:53:25 +00:00
6ad2c5c40f
Show alias in lscm output.
2013-02-10 18:26:22 +00:00
99cc0015f8
Rework reflow code so it does not do so much allocation which should be faster
...
with large histories.
2013-02-10 18:15:30 +00:00
f1ce95915c
Allow choose commands to be used outside tmux, so long as at least one client
...
is attached.
2013-02-10 17:52:51 +00:00
aadc87f5a7
Remove free callback for window_choose_data objects.
2013-02-10 17:36:58 +00:00
4d382ae8e6
Miscellaneous tidying of choose API, including:
...
- rename client and session to start_client and start_session in
window_choose_data struct. also add TREE_OTHER define and reorder the
struct
- rename window_choose_ctx to window_choose_data_run
- don't pass a cmd_ctx into window_choose_create (will let it use a
different client later). instead take type, session, client
- add window_choose_data_free and use it to dispose of wcd rather than
each cmd-*.c doing it individually
- change so ref counting is done by wcd_add and wcd_free rather than
callers. this means 1 ref for each item but what of it :-)
- also add a ref to tree_session - not sure if this is needed?
- all the callbacks except choose-client and find-window are the same so
remove them and add window_choose_default_callback
- reorder/rename some other bits and pieces for tidyness
2013-02-10 17:32:58 +00:00
418ba99078
Add to TODO.
to_copy
2013-02-09 16:21:20 +00:00
648ce2f56a
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-02-09 14:53:51 +00:00
0648c58716
Add to TODO list.
2013-02-09 14:52:11 +00:00
01da28efb1
Minor update to .gitignore
...
Now ignores: corefiles, stray patches and tags file.
2013-02-09 10:26:57 +00:00
6d6e1581b5
Use osdep_get_cwd() for format change
2013-02-07 13:06:31 +00:00
64da762c15
Merge branch 'obsd-master'
2013-02-07 12:08:55 +00:00
8903c1f167
Automatically reflow wrapped lines when a pane is resized, requested by
...
many over the years and finally implemented by Richard Woodbury.
2013-02-05 11:08:59 +00:00
a5521597b0
Don't set some string formats if the string is NULL.
2013-02-05 11:01:45 +00:00
fe00607816
Only set AUTO{MAKE,CONF}_VERSION on OpenBSD
...
OpenBSD requires the presence of AUTOMAKE_VERSION and AUTOCONF_VERSION for
bootstrapping purposes. Setting these on any other system requires that
explicit version to be used, rather than what might already be installed.
Therefore, only do this when the platform is OpenBSD and ignore everything
else.
2013-01-31 00:14:59 +00:00
6e6d756109
Corrections to SYNCING
...
* Reflow some paragraphs due to repo-naming pushing the line length over 80
chaacters.
* Correct path to git clone commands for each repo.
2013-01-30 23:28:38 +00:00
85531fd404
Unused variable/type nit from Thomas Adam.
2013-01-30 17:00:17 +00:00
c4c98df4f2
Add -Wdeclaration-after-statement.
2013-01-30 16:35:00 +00:00
a3f4eb7b24
Merge branch 'obsd-master'
...
Conflicts:
Makefile
grid-utf8.c
2013-01-30 15:27:19 +00:00