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.<br><br>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.BufferWidth or Console.WindowWidth (in any order) on Linux.<br><br>Such adjustments to the bufferwidth and windowwidth are required to get my Tetris app functional (see screenshot below).
<br><br><a href="http://img520.imageshack.us/img520/1985/inyourfaceravl7.png">http://img520.imageshack.us/img520/1985/inyourfaceravl7.png</a><br><br>Is this a shortcoming of Mono? Or can not the dimensions of a Console buffer be set on Linux?