[Mono-dev] Mono Console.BufferWidth and Console.WindowWidth.

Fleury fleurin at gmail.com
Fri Aug 17 11:53:56 EDT 2007


I'm porting a "Tetris in the Console" console app to Mono to run on Linux,
as an assessment  if Mono is ready to run my other projects.

Mono doesn't seem to like the use System.Diagonostics.StopWatch, but there
are alternatives. What's critical is that Mono throws an
"OperationNotSupported" exception when I try to get the Console.BufferWidthor
Console.WindowWidth (in any order) on Linux.

Such adjustments to the bufferwidth and windowwidth are required to get my
Tetris app functional (see screenshot below).

http://img520.imageshack.us/img520/1985/inyourfaceravl7.png

Is this a shortcoming of Mono? Or can not the dimensions of a Console buffer
be set on Linux?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070817/3e8340fb/attachment.html 


More information about the Mono-devel-list mailing list