id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 542,tango.io.Console on Windows may output up to 32767 wchars at once_ which may result in WriteConsoleW erroring,Deewiant,kris,WriteConsole (current MSDN2 page: http://msdn2.microsoft.com/en-us/library/ms687401(vs.80).aspx ) is documented as being able to output only less than 64K TCHARs at once.\r\n\r\nTCHAR is either 1 or 2 bytes wide_ depending on #defines_ so this is already ambiguous: does the limit change depending on TCHAR's definition? Does WriteConsoleA take a max of 64K chars and WriteConsoleW take a max of 64K wchars_ or do they both take a max of 64K bytes? And does K mean 1000 or 1024?\r\n\r\nAnyway_ tango.io.Console limits output to 32767 wchars at once. Unfortunately_ this does not work at least on my system_ where I found the limit of WriteConsoleW to actually be a random-looking 26608 wchars. WriteConsoleA_ in turn_ takes twice that: 53217 still works_ but 53218 results in an error.\r\n\r\nMore testing is required to find a minimum_ but it's clear that the documented limits are too lax. I personally suggest 8 * 1024 wchars_ a quarter of the current_ to be fairly completely safe.,defect,closed,major,,IO,trunk,fixed,,deewiant@gmail.com