### 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 / 日志或截图 https://github.com/user-attachments/assets/ffe23c70-b094-4807-af98-e23e6c5ac62b 视频中第一个终端为Pebrel,第二个终端为Windows Terminal,均使用PowerShell。除了这两个终端外,我还在VS Code的集成终端中测试过,`Shift`+`Home`/`End`功能正常。 ### Non-default settings / 改过的设置 没有改过快捷键相关设置。 ### Before submitting / 提交前确认 - [x] I searched existing issues and did not find a duplicate / 已搜索,无重复 - [x] I tested with the latest release / 已用最新版本试过 - [x] I removed passwords, private keys, tokens and other secrets / 已删除敏感信息
Activity