[ruby-cvs:57190] nobu:r50041 (trunk): console.c: winsize on Windows

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Mar 21 15:01:31 JST 2015


nobu	2015-03-21 15:01:29 +0900 (Sat, 21 Mar 2015)

  New Revision: 50041

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50041

  Log:
    console.c: winsize on Windows
    
    * ext/io/console/console.c (console_set_winsize): use handle for
      writing.  GetConsoleScreenBufferInfo seems failing on a handle
      for reading.
    * io.c: [DOC] update the example of IO#winsize to use $stdout
      instead of $stdin, which does not work on Windows.  a patch by
      Jan Lelis <mail AT janlelis.de> at [ruby-core:68574].
      [Bug #10986]

  Modified files:
    trunk/ChangeLog
    trunk/ext/io/console/console.c
    trunk/io.c


More information about the ruby-cvs mailing list