"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cmd-display-menu.c" between
tmux-3.2.tar.gz and tmux-3.2a.tar.gz

About: tmux is a terminal multiplexer that lets you switch easily between several programs in one terminal.

cmd-display-menu.c  (tmux-3.2):cmd-display-menu.c  (tmux-3.2a)
skipping to change at line 208 skipping to change at line 208
if (n < 0) if (n < 0)
format_add(ft, "popup_pane_right", "%u", 0); format_add(ft, "popup_pane_right", "%u", 0);
else else
format_add(ft, "popup_pane_right", "%ld", n); format_add(ft, "popup_pane_right", "%ld", n);
/* Expand horizontal position. */ /* Expand horizontal position. */
xp = args_get(args, 'x'); xp = args_get(args, 'x');
if (xp == NULL || strcmp(xp, "C") == 0) if (xp == NULL || strcmp(xp, "C") == 0)
xp = "#{popup_centre_x}"; xp = "#{popup_centre_x}";
else if (strcmp(xp, "R") == 0) else if (strcmp(xp, "R") == 0)
xp = "#{popup_right}"; xp = "#{popup_pane_right}";
else if (strcmp(xp, "P") == 0) else if (strcmp(xp, "P") == 0)
xp = "#{popup_pane_left}"; xp = "#{popup_pane_left}";
else if (strcmp(xp, "M") == 0) else if (strcmp(xp, "M") == 0)
xp = "#{popup_mouse_centre_x}"; xp = "#{popup_mouse_centre_x}";
else if (strcmp(xp, "W") == 0) else if (strcmp(xp, "W") == 0)
xp = "#{popup_window_status_line_x}"; xp = "#{popup_window_status_line_x}";
p = format_expand(ft, xp); p = format_expand(ft, xp);
n = strtol(p, NULL, 10); n = strtol(p, NULL, 10);
if (n + w >= tty->sx) if (n + w >= tty->sx)
n = tty->sx - w; n = tty->sx - w;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)