.net core Linux app搞砸键盘输入

时间:2018-02-21 14:36:13

标签: linux debian .net-core putty

我使用PuTTY连接到我的Debian框。

如果我有一个console.readline我应用程序,我就无法使用键盘输入数字。

E.g。 1收到“ Oq ”,2收到“

使用“普通”数字键没问题。

enter image description here

我的.net核心代码:

Imports System
Module Program
Sub Main(args As String())
    Console.Writeline("Please type 1 from numpad:")
   Dim str as string = Console.Readline
   Console.Writeline("You typed: " & str)
End Sub
End Module

.net core或PuTTY是一个问题吗?

我尝试过使用PuTTY(终端\键盘\功能键和键盘)中的设置,但它没有改变任何内容。

我在shell中使用键盘没有问题,仅在.net核心应用程序中。

如果我使用直接连接到Debian盒子的键盘,我也没有问题。

1 个答案:

答案 0 :(得分:0)

好的,我尝试了一些不同的Google搜索方法,这次我找到了一些东西:

enter image description here