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

ad comment.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2012-02-25 07:31:13 +00:00
parent 9056098516
commit 51438b1c15

View file

@ -2782,6 +2782,15 @@ Init_curses(void)
/* BSD curses, perhaps. NetBSD 5 still use it. */
version = rb_str_new2("curses (unknown)");
#endif
/*
* Identifies curses library version.
*
* - "ncurses 5.9.20110404"
* - "PDCurses 3.4 - Public Domain 2008"
* - "curses (SVR4)" (System V curses)
* - "curses (unknown)" (The original BSD curses? NetBSD maybe.)
*
*/
rb_define_const(mCurses, "VERSION", version);
}