microsoft/Terminal

Pane focus movement doesn't remember where it came from

开放

#4,692 创建于 2020年2月22日

 (9 条评论) (4 个反应) (0 位负责人)C++ (9,275 个派生)batch import
Area-UserInterfaceHelp WantedIssue-BugPriority-2Product-Terminal

仓库指标

星标
 (103,173 个星标)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

Steps to reproduce

create a vertical split, then on the right pane, create a horizontal split somewhat like this :

|-----------|
|    |  2   |
|  1 |______|
|    |   3  |
|____|______|

if you move focus from 1 to 2 by moveFocus right then move focus from 2 to 3 by moveFocus down then move focus from 3 to 1 by moveFocus left then moveFocus right

Expected behavior

The focus should go back to 3. Otherwise toggling between 1 and 3 becomes a painful, especially if 2 is ends up more complicated with more panes.

Actual behavior

focus goes to 2

贡献者指南