Codes have been updated again.

  * In **console.nim** initial buffer length was set to **2048** Utf16Chars in 
order to avoid unnecessary relocations.
  * In **console2.nim** , **consoleReadLine** was trimmed down to what 
**readConsoleW** actually supports.



@Araq Do you prefer the **fgetws** way or the **readConsoleW** way?

  * The first one fits in with standard C library, but is a little messy.
  * The second one is cleaner, but adds an extra variable to mark **EOF** and 
does not fit in well with the **feof** way, so it may not be a good candidate 
if the relevant functionality is to be merged with that of **readLine**.


Reply via email to