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

Diff for /src/usr.bin/tmux/cmd-display-menu.c between version 1.24 and 1.25

version 1.24, 2021/06/10 07:22:06 version 1.25, 2021/07/08 11:14:53
Line 176 
Line 176 
                         format_add(ft, "popup_mouse_centre_y", "%ld", n);                          format_add(ft, "popup_mouse_centre_y", "%ld", n);
                 n = (long)event->m.y + h;                  n = (long)event->m.y + h;
                 if (n + h >= tty->sy)                  if (n + h >= tty->sy)
                         format_add(ft, "popup_mouse_top", "%u", tty->sy - h);                          format_add(ft, "popup_mouse_top", "%u", tty->sy - 1);
                 else                  else
                         format_add(ft, "popup_mouse_top", "%ld", n);                          format_add(ft, "popup_mouse_top", "%ld", n);
                 n = event->m.y - h;                  n = event->m.y - h;

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25