Commit Graph

  • 0406ec0ec2 Free temporary screens when writing format. nicm 2019-03-18 21:55:04 +00:00
  • f34ebfed76 The individual -fg, -bg and -attr options have been deprecated (in favour of -style), undocumented and hidden from show-options since 2014. Remove them, except for status-fg and status-bg. nicm 2019-03-18 21:46:01 +00:00
  • 962f255ee8 Merge branch 'obsd-master' Thomas Adam 2019-03-18 21:24:49 +00:00
  • c62404673e Add some bits to the STATUS LINE section about the new option. nicm 2019-03-18 21:01:04 +00:00
  • 979313832c Extend the #[] style syntax and use that together with previous format changes to allow the status line to be entirely configured with a single option. nicm 2019-03-18 20:53:33 +00:00
  • 1d6fe43c7b Merge branch 'obsd-master' Thomas Adam 2019-03-18 18:02:38 +00:00
  • 4cbf596dc5 Merge branch 'obsd-master' Thomas Adam 2019-03-18 15:30:55 +00:00
  • d738d51688 Mode init needs to be fired with the mode on the list or it will not be resized correctly. nicm 2019-03-18 15:25:36 +00:00
  • acb2413852 Merge branch 'obsd-master' Thomas Adam 2019-03-18 15:07:51 +00:00
  • 2628af573d Add format variables for the default formats for the various modes (tree_mode_format and so on) and add a -a flag to display-message to list variables with values. nicm 2019-03-18 14:10:25 +00:00
  • aa2b3472c5 Update TODO. Nicholas Marriott 2019-03-18 12:00:10 +00:00
  • ce6be7afd4 Make array options a sparse tree instead of an array of char * and remove the size limit. nicm 2019-03-18 11:58:40 +00:00
  • d2d43987d0 With force, kill previous job before starting new. Fixes problem reported by Scott Mcdermott in GitHub issue 1627. nicm 2019-03-18 09:46:42 +00:00
  • bd3332b211 Break description of styles into its own section. nicm 2019-03-17 19:33:12 +00:00
  • 3a298454ce Add to TODO. Nicholas Marriott 2019-03-17 08:05:58 +00:00
  • b588b1729a Use a pointer for the active screen in the status line instead of copying them around all the time. nicm 2019-03-16 19:12:13 +00:00
  • 818fda0363 Give status_save_old the client so it can do the reinit too. nicm 2019-03-16 17:53:55 +00:00
  • b4f5b99e4b Tidy and rename some bits of status line code. nicm 2019-03-16 17:14:07 +00:00
  • e8b33af780 Add a way to set individual defaults for an array option. nicm 2019-03-15 21:54:47 +00:00
  • 1d306e926a Add a : to make error messages clearer. nicm 2019-03-15 15:20:00 +00:00
  • 33595a255f Copy recursion counter into new formats when looping. nicm 2019-03-15 15:02:25 +00:00
  • 85044a634b Move status line free into its own function. nicm 2019-03-15 14:46:58 +00:00
  • 2d71bef0ca Remove unused member of struct client. nicm 2019-03-15 10:48:05 +00:00
  • f6d34f066c Only print format logging when the flag is set, even if also sending to log_debug. nicm 2019-03-15 10:22:57 +00:00
  • 672c49d512 The pane and window loops need to pass the window and pane tags when they build their format. nicm 2019-03-15 10:07:24 +00:00
  • 27578815da Add a -v flag to display-message to show verbose messages as the format is parsed, this gives the user a way to debug problems with formats rather than just being confronted with (for example) a blank status line. nicm 2019-03-15 10:04:13 +00:00
  • 25e2e22791 Add a limit on how far format_expand can recurse. nicm 2019-03-14 23:34:41 +00:00
  • 10d60faba5 Store the time in the format tree rather than passing it around. nicm 2019-03-14 23:14:27 +00:00
  • 2c755e3c55 Merge branch 'obsd-master' Thomas Adam 2019-03-14 22:02:39 +00:00
  • bace79a571 Remove some unnecessary temporary variables and be much less strict about spacing in style_parse. nicm 2019-03-14 21:46:08 +00:00
  • 4206bcc10e Add format flags for start and end window. nicm 2019-03-14 21:41:30 +00:00
  • 38064e7593 Add T format modifier like E but also do strftime(3). nicm 2019-03-14 21:31:43 +00:00
  • 1416ceb575 Accept 0 time as a shorthand for now to format_expand_time. nicm 2019-03-14 21:27:26 +00:00
  • d58bccfc63 Merge branch 'obsd-master' Thomas Adam 2019-03-14 20:02:38 +00:00
  • 9bd4b96766 Fix ED1 (clear end of screen), reported by Marc Reisner. nicm 2019-03-14 17:58:52 +00:00
  • 0b32fa81b6 Merge branch 'obsd-master' Thomas Adam 2019-03-14 12:02:41 +00:00
  • 0425e3178d A little tidying in style_parse. nicm 2019-03-14 10:19:52 +00:00
  • 13f9a061ac Add a wrapper (struct style) around styles rather than using the grid_cell directly. There will be some non-cell members soon. nicm 2019-03-14 09:53:52 +00:00
  • f33d2ab29e Merge branch 'obsd-master' Thomas Adam 2019-03-14 08:02:37 +00:00
  • 1e9f8a3523 Missing space in capture-pane usage, from Ben Boeckel. nicm 2019-03-14 06:36:21 +00:00
  • 2fbd491ff0 Add actual HPA (\033[`), the existing one is CHA. From Marc Reisner. nicm 2019-03-14 06:33:43 +00:00
  • 81b393a493 Merge branch 'obsd-master' Thomas Adam 2019-03-14 00:02:37 +00:00
  • 5755bfc619 Need to set attributes before clearing. nicm 2019-03-13 22:01:22 +00:00
  • 10f0094be9 The pane's style should be initialized to default before parsing the argument. nicm 2019-03-13 21:39:21 +00:00
  • 786f5e505e Merge branch 'obsd-master' Thomas Adam 2019-03-13 20:02:36 +00:00
  • 6dffbc4849 Tweak format_replace logging. nicm 2019-03-13 18:09:12 +00:00
  • e6fd429d58 Merge branch 'obsd-master' Thomas Adam 2019-03-13 16:02:41 +00:00
  • 95ab1aaaec Add formats to list sessions, windows or panes. nicm 2019-03-13 15:37:28 +00:00
  • f628afc850 Update TODO. Nicholas Marriott 2019-03-13 14:51:19 +00:00
  • 49f04a997a Apply length limits and substitution even to literal formats. nicm 2019-03-13 14:27:17 +00:00
  • 1aeac384f3 Add to TODO. Nicholas Marriott 2019-03-13 14:20:58 +00:00
  • 9032ac2a05 Add E: format to expand a format twice (useful to expand the value of an option). nicm 2019-03-13 14:19:54 +00:00
  • 71e00c718c Make format parsing build the modifiers into a list, standardize how arguments are given and allow multiple modifiers on a format (separated by ;). nicm 2019-03-13 14:10:34 +00:00
  • 7a6b21de65 Add to TODO. Nicholas Marriott 2019-03-13 09:30:30 +00:00
  • 4f5cb88c2b Add to TODO. Nicholas Marriott 2019-03-13 07:25:17 +00:00
  • 0e6eda02a6 Merge branch 'obsd-master' Thomas Adam 2019-03-13 08:02:35 +00:00
  • feaa5660a3 Do not use origin for VPA. nicm 2019-03-13 07:34:36 +00:00
  • b03f58b977 Merge branch 'obsd-master' Thomas Adam 2019-03-13 00:02:38 +00:00
  • b2bc34af12 Set a flag on cells are genuinely empty (cleared and never written to) and use tty_clear_line (which will choose the best escape sequence) to clear any batches of cells with that flag when redrawing a line from the stored screen. nicm 2019-03-12 23:21:45 +00:00
  • 400529eea0 Merge branch 'obsd-master' Thomas Adam 2019-03-12 22:02:42 +00:00
  • 938156d73b DECRC and DECSC apparently need to preserve origin mode as well, based on a fix from Marc Reisner. nicm 2019-03-12 20:02:47 +00:00
  • ba4a884d75 Merge branch 'obsd-master' Thomas Adam 2019-03-12 20:02:38 +00:00
  • 2796ae81d0 Fix HPA in origin mode. nicm 2019-03-12 18:30:08 +00:00
  • f3f534a3a0 Tidy up a lot of &ictx->ctx by using a local variable. nicm 2019-03-12 18:26:57 +00:00
  • 6c3ee42568 Add a couple of things. Nicholas Marriott 2019-03-12 17:59:46 +00:00
  • 2f0ffe6adb Add to TODO. Nicholas Marriott 2019-03-12 17:52:22 +00:00
  • 4002dbf0c1 Fix session size regress. Nicholas Marriott 2019-03-12 13:58:25 +00:00
  • 162d3cb1f4 Merge branch 'obsd-master' Thomas Adam 2019-03-12 16:02:37 +00:00
  • 7d2004a8dd Merge branch 'obsd-master' Thomas Adam 2019-03-12 14:02:40 +00:00
  • 860acecc0d Fix up regress test for control client size. Nicholas Marriott 2019-03-12 13:57:06 +00:00
  • 028f9d1d87 Fix resizing of control clients, should be ignored until SIZECHANGED flag set. nicm 2019-03-12 13:56:30 +00:00
  • 303d20a758 Fix wrapping after origin mode change. nicm 2019-03-12 13:14:14 +00:00
  • 3f0efc050a When asked for a window index, return it even if the window exists. nicm 2019-03-12 13:14:04 +00:00
  • 7804fa1b82 Revert to not clearing history on RIS, apparently some bootloaders send this and it doesn't really do any harm. nicm 2019-03-12 12:58:40 +00:00
  • 7b819357ff Tweak target debug logging. nicm 2019-03-12 12:49:46 +00:00
  • 595b52490e Add to TODO. Nicholas Marriott 2019-03-12 12:12:20 +00:00
  • 3ec05e9405 Merge branch 'obsd-master' Thomas Adam 2019-03-12 12:02:42 +00:00
  • f8a30e1588 Update CHANGES. Nicholas Marriott 2019-03-12 11:20:21 +00:00
  • 3f6bfbaf2b Allow multiple modes to be open in a pane. A stack of open modes is kept and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is moved to the top as the active mode rather than being opened new. nicm 2019-03-12 11:16:49 +00:00
  • 95d340cc4f Merge branch 'obsd-master' Thomas Adam 2019-03-12 10:02:39 +00:00
  • ff4c80d53d Add support for origin mode (DECOM, SM/RM ?6), from Marc Reisner. nicm 2019-03-12 07:39:27 +00:00
  • bc72cf2f52 Merge branch 'obsd-master' Thomas Adam 2019-03-08 12:02:39 +00:00
  • de730f68a4 Make the mode used to view command output (a variant of copy mode) use its own mode definition struct with a different init function rather than calling special setup functions. nicm 2019-03-08 10:34:20 +00:00
  • 9cc04a0f9a Do not use window mode entry after free. nicm 2019-03-08 10:29:25 +00:00
  • 349aeb806a Merge branch 'obsd-master' Thomas Adam 2019-03-07 22:02:42 +00:00
  • f98c66ece8 Add a separate mode struct for the active window mode if any. nicm 2019-03-07 20:24:21 +00:00
  • a1009e7bd3 Merge branch 'obsd-master' Thomas Adam 2019-03-07 20:02:41 +00:00
  • 3c24bc5617 Tidy changing the mode into window_copy_init_for_output. nicm 2019-03-07 19:34:22 +00:00
  • 7f093fcddc Make adding mode formats a function pointer as well. nicm 2019-03-07 19:01:21 +00:00
  • 5a564a0c1a Add to TODO. Nicholas Marriott 2019-03-07 15:34:10 +00:00
  • 9ebd630675 Merge branch 'obsd-master' Thomas Adam 2019-03-04 12:01:28 +00:00
  • 5cdd578906 Fix sense of aggressive-resize flag. nicm 2019-03-04 09:29:52 +00:00
  • a870c255c4 Don't set client offset if client is not a terminal nicm 2019-03-04 09:29:40 +00:00
  • d5c837904b Merge branch 'obsd-master' Thomas Adam 2019-02-16 20:02:36 +00:00
  • fa33603dc1 Do not look at next key byte if the length is 0, originally from Shingo NISHIOKA in GitHub issue 1601. nicm 2019-02-16 19:04:34 +00:00
  • fa8294436c Merge branch 'obsd-master' Thomas Adam 2019-02-16 14:02:37 +00:00
  • 82f0c859a2 Use starting client cwd in config file, GitHub issue 1606. nicm 2019-02-16 11:42:08 +00:00
  • 9768091ee4 Merge branch 'obsd-master' Thomas Adam 2019-02-09 20:02:36 +00:00
  • f9c396db41 Completion of command-alias members. nicm 2019-02-09 18:18:36 +00:00
  • bdb7e48cba Redirect which stderr. Nicholas Marriott 2019-02-06 14:45:19 +00:00