Skip to content

[Bug] Shift + Home/End强制将视口滚动到最上/下方,而无法行使PowerShell自身的功能 #1052

Closed

Description

@AmeroHan

Operating system / 操作系统

Windows

OS version and display / 系统版本与显示

Windows 11 26H2

Pebrel version / 版本号

2.6.0

How did you install Pebrel? / 安装方式

GitHub Release (.exe / .zip / .dmg / .AppImage / .deb)

Shell in the affected pane / 出问题的面板用的 Shell

PowerShell 7 (pwsh)

Program running in the pane / 面板里正在跑的程序

Nothing, plain shell prompt / 什么都没跑

Connection type / 连接方式

Local terminal / 本地终端

Affected area / 影响范围

Terminal rendering / scrolling / selection / garbled text — 终端渲染、滚动、选区、乱码

Did it work in a previous version? / 旧版本是否正常?

Not sure / 不确定

Can you reproduce it? / 复现概率

Always (100%) / 必现

Steps to reproduce / 复现步骤

  1. 打开PowerShell 5.1或7.x;
  2. 运行一些命令使屏幕需要滚动;
  3. 输入一串文字;
  4. 按Shift+Home(或End)。

Expected behavior / 期望结果

从“光标当前位置”到“行首”(或“行尾”)这部分文字被选中。

Actual behavior / 实际结果

视口被跳转到最顶部/最底部。(或许可以在按键映射提供一个选项,使得用户能够关闭此行为或更改快捷键)

Logs / screenshots / 日志或截图

QQ20261119-231859-HD.mp4

视频中第一个终端为Pebrel,第二个终端为Windows Terminal,均使用PowerShell。除了这两个终端外,我还在VS Code的集成终端中测试过,Shift+Home/End功能正常。

Non-default settings / 改过的设置

没有改过快捷键相关设置。

Before submitting / 提交前确认

  • I searched existing issues and did not find a duplicate / 已搜索,无重复
  • I tested with the latest release / 已用最新版本试过
  • I removed passwords, private keys, tokens and other secrets / 已删除敏感信息

Activity

  1. added
    bug缺陷:行为与预期不符 / something isn't working
    triage待维护者初审 / not yet reviewed
    on Nov 19, 2026
  2. added
    area: terminalPTY、VT 解析、网格渲染、滚动、选区
    os: windows仅 Windows 或与 ConPTY/Win32 相关
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: terminalPTY、VT 解析、网格渲染、滚动、选区bug缺陷:行为与预期不符 / something isn't workingos: windows仅 Windows 或与 ConPTY/Win32 相关triage待维护者初审 / not yet reviewed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions