File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / tmux / TODO
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 14 12:22:44 2017 UTC (6 years, 11 months ago) by misho
Branches: tmux, MAIN
CVS tags: v2_4p0, v2_4, HEAD
tmux 2.4

    1: - command bits and pieces:
    2: 	* allow multiple targets: fnmatch for -t/-c, for example detach all
    3: 	  clients with -t*
    4: 	* add -c for new-session like new-window
    5: 	* ' and " should be parsed the same (eg "\e" vs '\e') in config
    6: 	  and command prompt
    7: 	* last-pane across sessions
    8: 	* resize-pane -p to match split-window -p
    9: 	* flag to wait-for to have a timeout and/or to stop waiting when the
   10: 	  client gets a signal
   11: 
   12: - make command sequences more usable
   13: 	* don't require space after ;
   14: 	* options for error handling: && and ||?
   15: 
   16: - options bits and pieces:
   17: 	* way to set socket path from config file
   18: 
   19: - format improvements:
   20: 	* option to quote format (#{q:session_name})
   21: 	* some way to pad # stuff with spaces
   22: 	* formats to show if a window is linked into multiple sessions, into
   23: 	  multiple attached sessions, and is the active window in multiple
   24: 	  attached sessions?
   25: 
   26: - choose mode improvements:
   27: 	* choose-pane command (augment choose-tree to do this?)
   28: 	* flag to choose-* for sort order
   29: 	* two choices (first one then second, for swap-pane and join-pane)
   30: 	* choose modes should ditch the key bindings and just have fixed keys, and
   31: 	  be more customized to their purpose (d to delete a buffer for choose-buffer,
   32: 	  a preview of buffer contents, etc)
   33: 
   34: - improve monitor-*:
   35: 	* straighten out rules for multiple clients
   36: 	* think about what happens across sessions
   37: 	* monitor changes within a region
   38: 	* perhaps monitor /all/ panes in the window not just one
   39: 
   40: - improve mouse support:
   41: 	* bind commands to mouse in different areas? 
   42: 	* commands executed when clicking on a pattern (URL)
   43: 
   44: - warts on current naming:
   45: 	* display-time but message-fg/bg/attr
   46: 	* list-* vs show-*
   47: 
   48: - copy/paste improvements:
   49: 	* paste w/o trailing whitespace
   50: 	* command to toggle selection not to move it in copy-mode
   51: 	* regex searching
   52: 	* searching in copy mode should unwrap lines, so if you search for "foobar"
   53: 	  then it should be found even if it is now "foo\nbar" (if the WRAP flag
   54: 	  is set on the line)
   55: 	* capture-pane option to preserve spaces but not join lines
   56: 	* improve word and line selection in copy mode (for example when dragging
   57: 	  it should select by word. compare how xterm works. GitHub issue 682)
   58: 
   59: - layout stuff
   60: 	* way to tag a layout as a number/name
   61: 	* maybe keep last layout + size around and if size reverts just put it
   62: 	  back
   63: 	* revamp layouts: they are too complicated, should be more closely
   64: 	  integrated, should support hints, layout sets should just be a
   65: 	  special case of custom layouts, and we should support panes that are
   66: 	  not attached to a cell at all. this could be the time to introduce
   67: 	  panelink to replace layout_cell
   68: 	* way to set hints/limits about pane size for resizing
   69: 	* panning over window (window larger than visible)
   70: 	* a mode where one application can cross two panes (ie x|y, width =
   71: 	  COLUMNS/2 but height = ROWS * 2)
   72: 	* separate active panes for different clients
   73: 
   74: - code cleanup
   75: 	* instead of separate window and session options, just one master
   76: 	  options list with each option having a type (window or session), then
   77: 	  options on window, on session, and global. for window options we look
   78: 	  window->session->global, and for session we look session->global.
   79: 	  problem: what about windows in multiple sessions? there are contexts
   80: 	  where we do not know which session, or where multiple choices makes
   81: 	  no sense... could at least have one global list for all types of
   82: 	  global options and keep separate window,session lists
   83: 	* the way pane, window, session destroy is handled is too complicated
   84: 	  and the distinction between session.c, window.c and server-fn.c
   85: 	  functions is not clear. could we just have kill_pane(),
   86: 	  kill_window(), unlink_window(), kill_session() that fix up all data
   87: 	  structures (flagging sessions as dead) and return a value to say
   88: 	  whether clients need to be checked for dead sessions? sort of like
   89: 	  session_detach now but more so. or some other scheme to make it
   90: 	  simpler and clearer? also would be nice to remove/rename server-fn.c
   91: 	* more readable way to work out the various things commands need to
   92: 	  know about the client, notably:
   93: 		- is this the config file? (cmdq->c == NULL)
   94: 		- is this a command client? (cmdq->c != NULL &&
   95: 		  cmdq->c->session == NULL)
   96: 		- is this a control client?
   97: 		- can i do stdin or stdout to this client?
   98: 	  or even guarantee that cmdq->c != NULL and provide a better way to
   99: 	  tell when in the config file - then we use cmdq->c if we need a
  100: 	  client w/o a session else cmd_current_client
  101: 
  102: - miscellaneous
  103: 	* way to keep a job running just read its last line of output for #()
  104: 	* link panes into multiple windows
  105: 	* live update: server started with -U connects to server, requests
  106: 	  sessions and windows, receives file descriptors
  107: 	* there are inconsistencies in what we get from old shell and what
  108: 	  comes from config for new sessions and windows. likewise, panes and
  109: 	  jobs and run-shell and lock command all start with slightly different
  110: 	  environments
  111: 	* multiline status line? separate command prompt and status line?
  112: 	* automatic pane logging
  113: 	* marks in history, automatically add (move?) one when pane is changed
  114: 	* this doesn't work, need pane reference count probably:
  115: 	  bind -n DoubleClick3Status confirm-before -p "kill-window #I? (y/n)" kill-window
  116: 
  117: - hooks
  118: 	* more hooks for various things
  119: 	* finish after hooks for special commands
  120: 	* multiple hooks with the same name?
  121: 	* finish hooks for notifys
  122: 	* for session_closed, if no sessions at all, perhaps fake up a temporary one

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>