microsoft/Terminal

Media and other keys autoscroll the terminal

Open

#5,366 创建于 2020年4月15日

在 GitHub 查看
 (5 评论) (11 反应) (0 负责人)C++ (3,212 fork)batch import
Area-InputArea-TerminalControlHelp WantedIssue-BugPriority-2Product-Terminal

仓库指标

Star
 (35,764 star)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

Description

Keys that aren't meant to insert characters seem to jump the terminal to the bottom where input is being awaited. This includes media buttons.

Steps to reproduce

Open any terminal tab (tested with both Ubuntu and Powershell) and run anything to fill up the screen (e.g. run ls 5 times). Scroll up until the text input area is off the page.

Press any non-typing character that isn't a modifier (tested with "calculator" key, play/pause, and volume control keys)

Expected Behavior

These keys should have no effect on terminal

Actual behavior

Terminal scrolls to the bottom of the page where a new line is

ezgif-7-c7e99acf7c07

In this video I press the mute key or the calculator key, causing the terminal to jump

Version Info

Windows Terminal Version: 0.10.781.0

贡献者指南