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

貢獻者指南