1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/curses/curses.c (window_nodelay): Fixed call-seq of nodelay to

include the '='.

  Improved description window.nodelay=.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2012-04-18 23:59:22 +00:00
parent ab0eb272f9
commit 6878e597c4
2 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,10 @@
Thu Apr 19 08:59:02 2012 Eric Hodel <drbrain@segment7.net>
* ext/curses/curses.c (window_nodelay): Fixed call-seq of nodelay to
include the '='.
Improved description window.nodelay=.
Thu Apr 19 08:47:54 2012 Eric Hodel <drbrain@segment7.net>
* io.c (io_readpartial): Document the output buffer parameter is

View file

@ -2439,11 +2439,14 @@ window_keypad(VALUE obj, VALUE val)
#ifdef HAVE_NODELAY
/*
* Document-method: Curses::Window.nodelay
* call-seq: nodelay(bool)
* call-seq:
* window.nodelay = bool
*
* Causes Curses::Window.getch to be a non-blocking call. If no input is ready, getch returns ERR.
* When in no-delay mode Curses::Window#getch is a non-blocking call. If no
* input is ready #getch returns ERR.
*
* If disabled (+bool+ is +false+), Curses::Window.getch waits until a key is pressed.
* When in delay mode (+bool+ is +false+ which is the default),
* Curses::Window#getch blocks until a key is pressed.
*
*/
static VALUE