Commit Graph

  • 013d857ef8 Wrap all lines in customize mode, not just the description. Nicholas Marriott 2020-05-09 15:29:14 +01:00
  • 690d72adb3 Remove unused variables. Nicholas Marriott 2020-05-09 14:38:00 +01:00
  • ca18990826 Fix some warnings, from Jan Polensky. Nicholas Marriott 2020-05-09 14:33:25 +01:00
  • 5e97d79eb1 Fix some customize mode drawing nits. Nicholas Marriott 2020-05-08 22:09:31 +01:00
  • a61cbf1c33 Add a customize mode where options may be browsed and changed, includes adding a brief description of each option. Bound to "C" by default. Nicholas Marriott 2020-05-08 19:10:09 +01:00
  • aa7dccf8e1 imsg.h needs uio.h, pointed out by deraadt nicm 2020-05-08 14:15:11 +00:00
  • 708e9bc072 Allow a custom time format to be given to the t format modifier. Nicholas Marriott 2020-05-07 11:04:43 +01:00
  • b0fa36734e Fix pretty time function to actually work and allow time format to be applied to any string that is suitable. Nicholas Marriott 2020-05-07 09:55:06 +01:00
  • 63e17d8cad Do not use client if NULL, from Thomas Adam. Nicholas Marriott 2020-05-07 05:55:42 +01:00
  • 66ecb1dff4 Update CHANGES. Nicholas Marriott 2020-05-06 15:48:27 +01:00
  • 7a95e9bf7e Change message log to be per server rather than per client and include every command that is run. Nicholas Marriott 2020-05-06 13:43:22 +01:00
  • c80fc6bf9e Add M-+ and M-- to expand and collapse all items in tree mode. Nicholas Marriott 2020-05-05 16:33:58 +01:00
  • 2f89d2e7d8 Change the existing client flags for control mode to apply for any client, use the same mechanism for the read-only flag and add an ignore-size flag. Nicholas Marriott 2020-05-05 15:42:20 +01:00
  • deacfedc65 Remove an extra space in clients output. Nicholas Marriott 2020-05-05 13:34:53 +01:00
  • 32c134f5a9 Wrap a line. Nicholas Marriott 2020-05-05 12:39:20 +01:00
  • 23b4e1b9d8 pane_path is not #T, from Chris Rawnsley. Nicholas Marriott 2020-05-05 11:35:33 +01:00
  • e810f15272 Store and restore cursor position when copy mode is resized, from Anindya Mukherjee. Nicholas Marriott 2020-05-05 10:20:57 +01:00
  • 1f6c00f8ef Only redraw popup on the client it belongs to. Nicholas Marriott 2020-05-05 10:02:47 +01:00
  • 63390d2dd6 Export TERM_PROGRAM and TERM_PROGRAM_VERSION like various other terminals. Nicholas Marriott 2020-05-05 06:31:14 +01:00
  • 9991a14e81 Add formats for after hook command arguments. Nicholas Marriott 2020-05-05 06:19:29 +01:00
  • fc13e9bc2b Turn off cursor in menus again. Nicholas Marriott 2020-05-04 17:37:03 +01:00
  • a08f1c8c59 Merge branch '3.1b-rc' Nicholas Marriott 2020-05-04 09:14:36 +01:00
  • a10c4c60cb Add to CHANGES. Nicholas Marriott 2020-05-04 09:06:57 +01:00
  • c89ed7c092 Try to search the entire history first for up to 200 ms so a search count can be shown. If it takes too long, search the visible text only. Nicholas Marriott 2020-05-03 15:58:29 +01:00
  • e7aeb77bd9 Use the cursor position not the current position when working out which marks are current. Nicholas Marriott 2020-05-03 15:44:38 +01:00
  • cb09705df3 Need musl-gcc for static also. Nicholas Marriott 2020-05-03 12:37:38 +01:00
  • 4fcbd6700f Add musl builds. Nicholas Marriott 2020-05-03 12:33:47 +01:00
  • ff5e3d1a88 Ugh, enable not with. Nicholas Marriott 2020-05-03 12:20:08 +01:00
  • fbc8fca067 Use termcap instead. Nicholas Marriott 2020-05-03 12:18:04 +01:00
  • 1cfa6b0d5c Try w/o database. Nicholas Marriott 2020-05-03 12:12:47 +01:00
  • b203f7f19f Better ncurses URL and some other fixes. Nicholas Marriott 2020-05-03 12:03:50 +01:00
  • 97d490204b Add build of everything. Nicholas Marriott 2020-05-03 11:47:28 +01:00
  • 55901367d0 Add more stuff. Nicholas Marriott 2020-05-03 11:16:30 +01:00
  • ff250aa30e Fix exclude. Nicholas Marriott 2020-05-03 11:12:51 +01:00
  • 955d9d22b9 Add static build. Nicholas Marriott 2020-05-03 11:09:36 +01:00
  • daef6f6b67 Merge branch '3.1b-rc' Nicholas Marriott 2020-05-03 10:49:35 +01:00
  • 846b99e0cb Portable does not need sys/queue.h. Nicholas Marriott 2020-05-03 10:49:16 +01:00
  • d9a4449307 Do not need to work out status line offset, we already have it. Nicholas Marriott 2020-05-02 16:44:31 +01:00
  • af69289e0e Clamping to area needs to use the offset without the status line, since that is where the window offsets are based. Nicholas Marriott 2020-05-02 16:17:44 +01:00
  • cb1131a294 menu_mode_cb needs to return a screen also. Nicholas Marriott 2020-05-02 15:15:52 +01:00
  • e078f975c5 Update CHANGES. Nicholas Marriott 2020-05-01 18:24:20 +01:00
  • bf84359dfb Use VIS_CSTYLE for paste buffers also. Nicholas Marriott 2020-05-01 17:59:13 +01:00
  • 1fa9bcc183 Turn off overlay check when we know we are inside. Nicholas Marriott 2020-05-01 17:55:08 +01:00
  • 3f1fc9cde3 Get the whole overlay screen not just the mode so cursor changes are included. Nicholas Marriott 2020-05-01 17:30:28 +01:00
  • 8110c7a25f Do not hoke into struct window_pane from the tty code and instead set everything up in tty_ctx. Provide a way to initialize the tty_ctx from a callback and use it to let popups draw directly through input_parse in the same way as panes do, rather than forcing a full redraw on every change. Nicholas Marriott 2020-05-01 17:01:36 +01:00
  • dbebdb2d36 Rename tty_pane_full_width to tty_full_width. Nicholas Marriott 2020-05-01 13:22:08 +01:00
  • 93dca5ab3f Move size to tty_ctx. Nicholas Marriott 2020-05-01 13:19:05 +01:00
  • 5ce194f15d Rename some tty_ctx members. Nicholas Marriott 2020-05-01 13:01:38 +01:00
  • af21e76fdb Add -e for new-session. Nicholas Marriott 2020-05-01 12:01:58 +01:00
  • ec61aa3025 Solaris at least does not have _PATH_VI. Nicholas Marriott 2020-05-01 09:11:56 +01:00
  • 5c888e168e Typo in man page. Nicholas Marriott 2020-05-01 09:05:56 +01:00
  • cc19203be2 Add 'e' key in buffer mode to open the buffer in an editor. Nicholas Marriott 2020-05-01 09:02:44 +01:00
  • 7af5817245 Merge branch 'obsd-master' Thomas Adam 2020-04-30 16:01:27 +01:00
  • 3d33a19102 Merge tag '3.1b' Nicholas Marriott 2020-04-30 15:21:47 +01:00
  • 6a33a12798 Do not remove the automatic-rename option from the global set, only from the window (it must stay in the global set or tmux will crash). GitHub issue 2188. 3.1b Nicholas Marriott 2020-04-30 15:20:08 +01:00
  • 8e01221d02 Allow formats for message-style. Nicholas Marriott 2020-04-30 14:59:58 +01:00
  • 272f3dbf2e Use format for status-style. Nicholas Marriott 2020-04-30 14:56:46 +01:00
  • 048f1ff18a Do not remove the automatic-rename option from the global set, only from the window (it must stay in the global set or tmux will crash). GitHub issue 2188. nicm 2020-04-30 13:31:22 +00:00
  • 66bab1f6cf Complete partial window indexes properly. Nicholas Marriott 2020-04-30 13:05:21 +01:00
  • 25487757bc Add -W and -T flags to command-prompt to only complete a window and a target. Nicholas Marriott 2020-04-30 12:02:21 +01:00
  • 5af6943940 Complete aliases as well as commands. Nicholas Marriott 2020-04-29 19:55:20 +01:00
  • 7324442b42 Add to CHANGES. Nicholas Marriott 2020-04-29 19:48:11 +01:00
  • 6f700904a9 Copy mode search improvements: Nicholas Marriott 2020-04-29 18:08:21 +01:00
  • 881b8e9bb5 Handle cells outside any pane correctly. Nicholas Marriott 2020-04-29 16:50:20 +01:00
  • a9743fa047 Did not mean to commit this bit. Nicholas Marriott 2020-04-29 15:27:38 +01:00
  • 04033add19 Close menu on backspace with TAB flag. Nicholas Marriott 2020-04-29 15:26:49 +01:00
  • d9fa122fd2 Do not want -O0 by default. Nicholas Marriott 2020-04-29 15:21:15 +01:00
  • fe601e5417 Update CHANGES. Nicholas Marriott 2020-04-29 15:19:39 +01:00
  • b06235c345 Improve command prompt completion: Nicholas Marriott 2020-04-29 13:56:10 +01:00
  • 7c52d702e4 Remove an unnecessary comma. Nicholas Marriott 2020-04-29 08:59:20 +01:00
  • 3d76748161 Need to redraw borders now when some things change. Also change default so that the active border colour is different in a mode or with synchronize-panes on. Nicholas Marriott 2020-04-29 08:55:21 +01:00
  • 2d151d8ca5 Apply format to pane status line also. Nicholas Marriott 2020-04-29 08:24:09 +01:00
  • 24316bed49 Apply a format when redrawing pane borders. Nicholas Marriott 2020-04-29 08:21:29 +01:00
  • c1acfb4341 Start with style initialized to default. Nicholas Marriott 2020-04-28 17:27:07 +01:00
  • 1f8256fc50 Drop having a separate type for style options and make them all strings, which allows formats to be expanded. Any styles without a '#{' are still validated when they are set but any with a '#{' are not. Formats are not expanded usefully in many cases yet, that will be changed later. Nicholas Marriott 2020-04-28 13:50:07 +01:00
  • a43a156846 Call format_defaults_window for panes as well. Nicholas Marriott 2020-04-28 10:53:35 +01:00
  • 79b4d83952 Use a grid cell not a style for the pane style. Nicholas Marriott 2020-04-27 15:15:12 +01:00
  • c30e765c7b Add some additional format helper functions. Nicholas Marriott 2020-04-27 14:33:17 +01:00
  • e62db55713 Merge branch 'obsd-master' Thomas Adam 2020-04-27 10:01:27 +01:00
  • 266bbba484 Merge branch '3.1a-rc' Nicholas Marriott 2020-04-27 09:39:17 +01:00
  • d0fa520788 Update CHANGES. 3.1a Nicholas Marriott 2020-04-27 09:38:04 +01:00
  • 646bfe403e Do not close stdout file descriptor in control mode since it will be needed for printing the exit messages. Nicholas Marriott 2020-04-27 09:36:30 +01:00
  • 1574126e8a Do not close the stdout file descriptor in control mode as it will be needed for printing the exit messages. Fixes a bug when detaching with iTerm2. nicm 2020-04-27 08:35:09 +00:00
  • 5811dd7ceb Do not close stdout file descriptor in control mode since it will be needed for printing the exit messages. Nicholas Marriott 2020-04-27 09:33:46 +01:00
  • f3d6d4e802 CUD is not a requirement and tweak some comments. Nicholas Marriott 2020-04-24 16:47:38 +01:00
  • 9b571dacee Instead of forbidding invalid session names, sanitize them. Nicholas Marriott 2020-04-24 16:40:10 +01:00
  • 527f66ed23 Instead of having a default set of terminals in terminal-overrides that get XT added and using that as a marker for xterm(1)-like, assume that if the terminfo(5) entry already has XT or the clear capability starts with CSI then the terminal is VT100-like and it should be safe to send DA requests. The DA responses trigger additional features being added. Nicholas Marriott 2020-04-24 15:52:44 +01:00
  • e67d65064e rxvt needs XT also for the moment. Nicholas Marriott 2020-04-24 14:20:33 +01:00
  • c107708bcc Focus reporting no longer under XT. Nicholas Marriott 2020-04-24 14:20:17 +01:00
  • a477c03ad5 Do not update mode until actually drawing something. Nicholas Marriott 2020-04-24 12:14:53 +01:00
  • ae73fd363b Do not redraw at all if nothing has changed. Nicholas Marriott 2020-04-24 11:56:44 +01:00
  • 650d38962f tmux 3.1. Nicholas Marriott 2020-04-24 09:57:49 +01:00
  • bb107d2979 All of this stuff can be const. Nicholas Marriott 2020-04-24 07:47:16 +01:00
  • 61550ac2e0 Add feature and capabilities for focus reporting. Also document AX and XT even though they aren't tmux's. Nicholas Marriott 2020-04-24 07:37:11 +01:00
  • 5d69b9c4a7 Add a feature for bracketed paste. Nicholas Marriott 2020-04-24 07:13:02 +01:00
  • 2d8fd35de2 Add a feature for strikethrough. Nicholas Marriott 2020-04-24 06:51:15 +01:00
  • 8650f44340 Move terminal features into a single file. Nicholas Marriott 2020-04-24 06:40:30 +01:00
  • ca13208b6b Merge branch 'obsd-master' Thomas Adam 2020-04-24 00:01:27 +01:00
  • 18886cb510 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread; jmc 2020-04-23 21:28:09 +00:00
  • d1c1e05ea7 Update CHANGES. Nicholas Marriott 2020-04-23 18:27:27 +01:00