mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
4efd41f3af
@ -774,11 +774,13 @@ mode_tree_key(struct mode_tree_data *mtd, struct client *c, key_code *key,
|
|||||||
case KEYC_UP:
|
case KEYC_UP:
|
||||||
case 'k':
|
case 'k':
|
||||||
case KEYC_WHEELUP_PANE:
|
case KEYC_WHEELUP_PANE:
|
||||||
|
case '\020': /* C-p */
|
||||||
mode_tree_up(mtd, 1);
|
mode_tree_up(mtd, 1);
|
||||||
break;
|
break;
|
||||||
case KEYC_DOWN:
|
case KEYC_DOWN:
|
||||||
case 'j':
|
case 'j':
|
||||||
case KEYC_WHEELDOWN_PANE:
|
case KEYC_WHEELDOWN_PANE:
|
||||||
|
case '\016': /* C-n */
|
||||||
mode_tree_down(mtd, 1);
|
mode_tree_down(mtd, 1);
|
||||||
break;
|
break;
|
||||||
case KEYC_PPAGE:
|
case KEYC_PPAGE:
|
||||||
|
@ -434,6 +434,9 @@ window_tree_build(void *modedata, u_int sort_type, uint64_t *tag,
|
|||||||
*tag = (uint64_t)data->fs.wl;
|
*tag = (uint64_t)data->fs.wl;
|
||||||
break;
|
break;
|
||||||
case WINDOW_TREE_PANE:
|
case WINDOW_TREE_PANE:
|
||||||
|
if (window_count_panes(data->fs.wl->window) == 1)
|
||||||
|
*tag = (uint64_t)data->fs.wl;
|
||||||
|
else
|
||||||
*tag = (uint64_t)data->fs.wp;
|
*tag = (uint64_t)data->fs.wp;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user