Commit Graph

  • b2a9f4115f Handle empty list properly in choose-list, based on fix from Thomas Adam. Nicholas Marriott 2012-09-05 10:14:21 +00:00
  • b433886840 We can't tell what the terminal has done with a DCS string, so reset the cursor and attributes afterwards. Nicholas Marriott 2012-09-05 09:59:41 +00:00
  • 248cd423a1 Fixup Makefile.am Thomas Adam 2012-09-04 22:50:16 +01:00
  • b79f86e32a Trivial code simplification from Tim Ruehsen. Nicholas Marriott 2012-09-04 13:24:50 +00:00
  • 40505e59f1 Remove xterm CRA support - support is patchy and it will be done better using margins. Nicholas Marriott 2012-09-03 15:47:40 +00:00
  • a1cd0eee1b Use the right index when adding item in choose-tree, from Thomas Adam. Nicholas Marriott 2012-09-03 12:24:25 +00:00
  • c914fcfacb When choosing a pane found by find-window, switch to that pane rather than just the window. Also use a helper function for the inner loop. Nicholas Marriott 2012-09-03 12:20:17 +00:00
  • 4d7967de7a Rename variables to something a but more understandable. Nicholas Marriott 2012-09-03 10:02:39 +00:00
  • 28fd3a3835 add cmd-choose-list to allow arbitrary options to be selected. From Thomas Adam. Nicholas Marriott 2012-09-03 09:57:57 +00:00
  • 996a636713 Remove an unused variable. Nicholas Marriott 2012-09-03 09:36:07 +00:00
  • 41a448193f Send notifications to control clients. Also don't redraw client when suspended. Nicholas Marriott 2012-09-03 09:32:38 +00:00
  • 0304555184 Change format of choose-tree arrows slightly, from Romain Francoise. Nicholas Marriott 2012-09-03 09:01:16 +00:00
  • f536dc47c4 If stdin in the client is enable immediately, tmux will eat anything sent to stdin before it is needed, which can be inconvenient (eg pasting commands). Instead, start with stdin disabled and reuse MSG_STDIN from server->client to mean that stdin should be enabled. Based on a diff from Chris Johnsen. Nicholas Marriott 2012-09-03 08:48:57 +00:00
  • d6066552ee Can't call evtimer_pending on uninitialized events, call evtimer_initialized first. Reported by Vladimir Lomov, fix from Thomas Adam slightly modified by me. Nicholas Marriott 2012-09-03 06:26:48 +00:00
  • 59c760dfcd Trivial code simplification from Tim Ruehsen. Nicholas Marriott 2012-09-04 13:24:50 +00:00
  • c06b2e4fb9 .gitignore + Makefile Makefile.in configure Nicholas Marriott 2012-09-04 09:26:54 +01:00
  • 1f29f6ac4d Add .gitignore Thomas Adam 2012-09-04 09:19:42 +01:00
  • 3ad812cbd5 Make autogen.sh executable Thomas Adam 2012-09-04 08:19:12 +01:00
  • 53c430eced Change WWW links to Git not Subverson. Nicholas Marriott 2012-09-04 08:00:34 +01:00
  • 6307d63715 Remove xterm CRA support - support is patchy and it will be done better using margins. Nicholas Marriott 2012-09-03 15:47:40 +00:00
  • 4f8a6867fa Use the right index when adding item in choose-tree, from Thomas Adam. Nicholas Marriott 2012-09-03 12:24:25 +00:00
  • 9e7bbc7281 When choosing a pane found by find-window, switch to that pane rather than just the window. Also use a helper function for the inner loop. Nicholas Marriott 2012-09-03 12:20:17 +00:00
  • c96a2a3c9e Rename variables to something a but more understandable. Nicholas Marriott 2012-09-03 10:02:39 +00:00
  • 7263fa36eb add cmd-choose-list to allow arbitrary options to be selected. From Thomas Adam. Nicholas Marriott 2012-09-03 09:57:57 +00:00
  • adc9fad4ac Remove an unused variable. Nicholas Marriott 2012-09-03 09:36:07 +00:00
  • 9247c90d69 Send notifications to control clients. Also don't redraw client when suspended. Nicholas Marriott 2012-09-03 09:32:38 +00:00
  • a679a4a708 Change format of choose-tree arrows slightly, from Romain Francoise. Nicholas Marriott 2012-09-03 09:01:16 +00:00
  • 2e43372d0b If stdin in the client is enable immediately, tmux will eat anything sent to stdin before it is needed, which can be inconvenient (eg pasting commands). Instead, start with stdin disabled and reuse MSG_STDIN from server->client to mean that stdin should be enabled. Based on a diff from Chris Johnsen. Nicholas Marriott 2012-09-03 08:48:57 +00:00
  • 473911fb73 Can't call evtimer_pending on uninitialized events, call evtimer_initialized first. Reported by Vladimir Lomov, fix from Thomas Adam slightly modified by me. Nicholas Marriott 2012-09-03 06:26:48 +00:00
  • 686d461144 Sync OpenBSD patchset 1168: Tiago Cunha 2012-08-31 09:25:19 +00:00
  • 554f19eb05 Sync OpenBSD patchset 1167: Tiago Cunha 2012-08-31 09:24:51 +00:00
  • fc8d3f7a56 Sync OpenBSD patchset 1166: Tiago Cunha 2012-08-31 09:22:50 +00:00
  • 56e37487a8 Sync OpenBSD patchset 1165: Tiago Cunha 2012-08-31 09:22:08 +00:00
  • 674545f7e6 Sync OpenBSD patchset 1164: Tiago Cunha 2012-08-31 09:20:47 +00:00
  • 35690fb3a5 Sync OpenBSD patchset 1163: Tiago Cunha 2012-08-31 09:20:09 +00:00
  • 1c608031b5 Sync OpenBSD patchset 1162: Tiago Cunha 2012-08-31 09:18:50 +00:00
  • 84a4007b06 Change a log to fprintf that was missed last time around, from Tiago Cunha. Nicholas Marriott 2012-08-27 21:35:11 +00:00
  • 753775033a Instead of requiring a prompt to enter all numbers >10, go back to 0-9a-z and add A-Z and enter the prompt when M-0 to M-9 are pressed (like in copy mode). Prompted by request from mcbride@, help from Thomas Adam. Nicholas Marriott 2012-08-27 21:29:23 +00:00
  • d39c58c01c xterm won't reach version 500 for a while so set that as the upper limit. Nicholas Marriott 2012-08-21 10:08:11 +00:00
  • 58e8e0eac8 Fix up window reference counting and don't crash if the rename timer fires while the window is dead but still referenced. Fixes problem reported by Michael Scholz. Nicholas Marriott 2012-08-21 10:00:33 +00:00
  • d50f157f7e +. Nicholas Marriott 2012-08-14 09:38:34 +00:00
  • a1e4908ed7 Boldify windows with alerts in choose-* list. Nicholas Marriott 2012-08-14 09:17:14 +00:00
  • f61fc576d9 Tidy up tty_write, from Sean Estabrooks. Nicholas Marriott 2012-08-14 08:58:25 +00:00
  • 73c6785538 Use a separate define for each default format template and strip clutter from the choose-tree defaults. Nicholas Marriott 2012-08-14 08:51:53 +00:00
  • 6804d5841e Add a patch missed during a merge sometime to use TAILQ_FOREACH_SAFE. From Tiago Cunha. Nicholas Marriott 2012-08-14 08:15:00 +00:00
  • 96aaa87df6 Remove osdep include. Tiago Cunha 2012-08-12 19:34:57 +00:00
  • 454e7d9c3a Sync OpenBSD patchset 1160: Tiago Cunha 2012-08-12 19:31:26 +00:00
  • db27dc82f0 Sync OpenBSD patchset 1159: Tiago Cunha 2012-08-12 19:30:54 +00:00
  • 061027fefc Sync OpenBSD patchset 1158: Tiago Cunha 2012-08-12 19:30:11 +00:00
  • 45d68963ab Sync OpenBSD patchset 1157: Tiago Cunha 2012-08-12 19:29:05 +00:00
  • 200b0e5821 Sync OpenBSD patchset 1156: Tiago Cunha 2012-08-12 19:28:20 +00:00
  • 30b801decf Sync OpenBSD patchset 1155: Tiago Cunha 2012-08-12 19:25:15 +00:00
  • ca3f92e78c Sync OpenBSD patchset 1154: Tiago Cunha 2012-08-12 19:24:31 +00:00
  • c8849ac990 Sync OpenBSD patchset 1153: Tiago Cunha 2012-08-12 19:23:01 +00:00
  • 44307712ed Add to TODO. Nicholas Marriott 2012-08-12 18:56:25 +00:00
  • 20129b7bf9 Simplify width calculation (all numbers always sequential) and don't rely on uninitialized data, from Thomas Adam. Nicholas Marriott 2012-08-12 06:22:26 +00:00
  • a194430e5d Remove dead code, from Sean Estabrooks. Nicholas Marriott 2012-08-11 07:32:16 +00:00
  • cf2e65c0e2 Another missing format from sam at sltosis.org. Nicholas Marriott 2012-08-11 07:10:01 +00:00
  • 8889a48f9b Fix a return type. Nicholas Marriott 2012-08-11 06:46:47 +00:00
  • a3dec6bece Instead of numbering choose mode items 0-9a-z and then nothing, number them all and if there are more than 10 use a prompt when 0-9 is pressed. From Thomas Adam. Nicholas Marriott 2012-08-11 06:45:33 +00:00
  • ff4097e02c Add some missing formats from Samuel Le Thiec. Nicholas Marriott 2012-08-11 05:55:12 +00:00
  • c081af2963 Sync with reality. Tiago Cunha 2012-07-16 22:19:13 +00:00
  • 89a96b05fa Document pane_index variable, from sam at sltosis dot org. Nicholas Marriott 2012-07-15 06:51:57 +00:00
  • 5385a9bb34 Add a queue of notifys and a way to turn them off and on (we do not want notifys to happen during some commands). Based on code from George Nachman. Nicholas Marriott 2012-07-13 06:27:41 +00:00
  • d697b5ef20 Sync OpenBSD patchset 1152: Tiago Cunha 2012-07-12 21:14:46 +00:00
  • 81858d7891 Now that the queue _SAFE macros are available, use them instead of rolling our own. This is analogous to the recent changes to the detach-client and kill-{session,window} commands. Tiago Cunha 2012-07-12 21:04:43 +00:00
  • 7a583b1e54 Sync with OpenBSD. Mostly because of the added _SAFE macros which is needed by an upcoming change. Tiago Cunha 2012-07-12 20:59:39 +00:00
  • 35a8a61254 Nuke unused variable from Thomas Adam. Nicholas Marriott 2012-07-12 13:03:42 +00:00
  • 513bd8f62d Remove remaining xfree calls from the portable version. Tiago Cunha 2012-07-11 19:50:46 +00:00
  • 1f5e6e35d5 Sync OpenBSD patchset 1151: Tiago Cunha 2012-07-11 19:37:32 +00:00
  • a432fcd306 Sync OpenBSD patchset 1150: Tiago Cunha 2012-07-11 19:34:16 +00:00
  • 06d27e94b2 Sync OpenBSD patchset 1149: Tiago Cunha 2012-07-11 19:30:01 +00:00
  • 188be9718e Sync OpenBSD patchset 1148: Tiago Cunha 2012-07-11 17:16:25 +00:00
  • bbd3e822c7 Sync OpenBSD patchset 1147: Tiago Cunha 2012-07-11 17:15:53 +00:00
  • 45a2e2d6c6 Update list of sources to reflect the recent changes introduced by the choose-tree command. Tiago Cunha 2012-07-11 17:15:23 +00:00
  • a10143a2d1 Sync OpenBSD patchset 1146: Tiago Cunha 2012-07-11 17:13:55 +00:00
  • 38530de622 Sync OpenBSD patchset 1144: Tiago Cunha 2012-07-11 17:06:11 +00:00
  • f040bc249f Add. Nicholas Marriott 2012-07-11 09:28:11 +00:00
  • ede8312d59 Make command exec functions return an enum rather than -1/0/1 values and add a new value to mean "leave client running but don't attach" to fix problems with using some commands in a command sequence. Most of the work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531. Nicholas Marriott 2012-07-11 07:10:15 +00:00
  • df912e3540 xfree is not particularly helpful, remove it. From Thomas Adam. Nicholas Marriott 2012-07-10 11:53:01 +00:00
  • 3886f60671 +. Nicholas Marriott 2012-07-09 20:46:41 +00:00
  • a3391692ad Move a NULL check inside a function, from Tiago Cunha. Nicholas Marriott 2012-07-09 09:55:57 +00:00
  • 91f54b59ac Fix choose-tree usage string. Nicholas Marriott 2012-07-09 07:08:03 +00:00
  • b0f4f94b5b remove extraneous line; Jason McIntyre 2012-07-08 17:24:29 +00:00
  • f20c6fe009 Add choose-tree command to show windows and sessions in the same list. Change choose-window and -session to use the same code. From Thomas Adam. Nicholas Marriott 2012-07-08 16:04:38 +00:00
  • 191a92c0c6 Sort SRCS list. Nicholas Marriott 2012-07-08 15:24:08 +00:00
  • adba3d35b1 + entry to show default options, suggested by Thomas Adam. Nicholas Marriott 2012-07-08 13:32:09 +00:00
  • 63f5c38023 Clear flags across all sessions, from Thomas Adam. Nicholas Marriott 2012-07-08 07:27:32 +00:00
  • 7e02d2f459 Sync OpenBSD patchset 1143: Tiago Cunha 2012-07-04 11:03:20 +00:00
  • 5761712799 Sync OpenBSD patchset 1142: Tiago Cunha 2012-07-04 11:01:00 +00:00
  • 9bb97522d5 Sync OpenBSD patchset 1141: Tiago Cunha 2012-07-04 10:55:22 +00:00
  • f4053bc217 Sync OpenBSD patchset 1140: Tiago Cunha 2012-07-04 10:54:45 +00:00
  • 67b926cf3c Provide common helper function for adding windows and sessions to choose lists and expand %% in command before using it rather than at callback time. From Thomas Adam. Nicholas Marriott 2012-06-25 14:27:25 +00:00
  • 5b6f78186c Clean up and simplify the choose mode code, from Thomas Adam. Nicholas Marriott 2012-06-25 14:08:55 +00:00
  • 39abca401a Trim a blank line. Nicholas Marriott 2012-06-25 13:49:16 +00:00
  • a7917430d8 Remove a couple of unused variables from redbrain at gcc dot gnu dot org. Nicholas Marriott 2012-06-20 12:55:55 +00:00
  • 202c04414c More ifdef goo is needed due to NOKERNINFO. Tiago Cunha 2012-06-18 16:23:42 +00:00
  • bc47596313 Sync OpenBSD patchset 1139: Tiago Cunha 2012-06-18 15:25:23 +00:00
  • dfc845e7f9 Add control.c to the list of sources. Tiago Cunha 2012-06-18 15:24:17 +00:00
  • 0159c74a32 Sync OpenBSD patchset 1138: Tiago Cunha 2012-06-18 15:23:01 +00:00