问题描述
当我在 android studio 中打开终端并输入时,没有任何注册并且光标停留在原地.
When I open the terminal in android studio and type, nothing registers and the cursor stays put.
屏幕截图在两次闪烁之间捕捉到了光标,但它停留在应用程序之后的 > 旁边.其他人 4 个月前在这里遇到了同样的问题:Android Studio 终端问题
The screen shot caught the cursor between flashes but it stays right by the > after app.Someone else had the same issue 4 months ago here : Android Studio terminal issue
但是没有人提出解决方案.
But no one came forward with solutions.
有人知道如何解决这个问题吗?
Anyone know how to fix this?
推荐答案
此行为是与 IntelliJ(然后是 Android Studio)和新的 Windows 10 控制台(https://youtrack.jetbrains.com/issue/PY-14354).
This behavior is a problem related to an incompatibility between IntelliJ (and then Android Studio) and the new windows 10 console (https://youtrack.jetbrains.com/issue/PY-14354).
可以绕过在终端选项中启用旧模式的问题.
It is possible to bypass the problem enabling the legacy mode in the terminal options.
- 从 Windows 启动命令提示符(win+r,然后键入 cmd)
- 右键单击标题
- 属性
- 选项
- 选中使用旧版控制台,然后单击确定
- 关闭终端并打开另一个终端(或者只是重新启动 Android Studio,它可以双向工作)
这篇关于终端未在 Android Studio 中注册打字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!