[BACK]Return to cmd-copy-mode.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-copy-mode.c between version 1.39 and 1.40

version 1.39, 2020/03/12 13:19:20 version 1.40, 2020/03/20 17:59:39
Line 30 
Line 30 
         .name = "copy-mode",          .name = "copy-mode",
         .alias = NULL,          .alias = NULL,
   
         .args = { "eHMt:u", 0, 0 },          .args = { "eHMt:uq", 0, 0 },
         .usage = "[-eHMu] " CMD_TARGET_PANE_USAGE,          .usage = "[-eHMuq] " CMD_TARGET_PANE_USAGE,
   
         .target = { 't', CMD_FIND_PANE, 0 },          .target = { 't', CMD_FIND_PANE, 0 },
   
Line 60 
Line 60 
         struct client           *c = item->client;          struct client           *c = item->client;
         struct session          *s;          struct session          *s;
         struct window_pane      *wp = item->target.wp;          struct window_pane      *wp = item->target.wp;
   
           if (args_has(args, 'q')) {
                   window_pane_reset_mode_all(wp);
                   return (CMD_RETURN_NORMAL);
           }
   
         if (args_has(args, 'M')) {          if (args_has(args, 'M')) {
                 if ((wp = cmd_mouse_pane(&shared->mouse, &s, NULL)) == NULL)                  if ((wp = cmd_mouse_pane(&shared->mouse, &s, NULL)) == NULL)

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40