[Mono-list] Console.ReadKey() => no spezial chars on Linux
Paebbels at gmail.com
Thu Feb 19 17:27:35 EST 2009
How can I do this?
Are you sure thats a mono problem and not linux, environment or shell based?
like encoding, char tables (I haven'd found something like this...)
Have you any expericenes with GetLine.cs from Miguel de Icaza or any
knowledge about the new Mono.Terminal namespace? I have read of an Editor
class, but there is no documentation.
Chris Howie wrote:
> On Mon, Feb 16, 2009 at 4:33 PM, Paebbels <Paebbels at gmail.com> wrote:
>> Home returns on Windows ConsoleKey.Home, on Mono ConsoleKey.Esc with
>> Char 27 (also: End, Delete, ....)
> It seems in the case that Mono is not translating CSI escape codes to
> their corresponding symbolic value. For example, if you strike the
> home key in a console that doesn't interpret it (e.g. bash will not
> work) then you will see "^[OH". ^[ is the representation of the
> escape key.
> If you think Mono should do this translation for you then you might
> file a bug report about it. You could also interpret them yourself.
> Chris Howie
> Mono-list maillist - Mono-list at lists.ximian.com
View this message in context: http://www.nabble.com/Console.ReadKey%28%29-%3D%3E-no-spezial-chars-on-Linux-tp22011524p22111030.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list