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:
parent
9056098516
commit
51438b1c15
1 changed files with 9 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue