We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 026f3e9 commit 3c4b269Copy full SHA for 3c4b269
ext/curses/curses.c
@@ -1366,9 +1366,9 @@ curses_can_change_color(VALUE obj)
1366
return can_change_color() ? Qtrue : Qfalse;
1367
}
1368
1369
-#if defined(HAVE_COLORS)
+#if defined(HAVE_COLORS) || defined(COLORS)
1370
/*
1371
- * Document-method: Curses.color
+ * Document-method: Curses.colors
1372
*
1373
* returns COLORS
1374
*/
@@ -1398,7 +1398,7 @@ curses_color_content(VALUE obj, VALUE color)
1398
1399
1400
1401
-#if defined(HAVE_COLOR_PAIRS)
+#if defined(HAVE_COLOR_PAIRS) || defined(COLOR_PAIRS)
1402
1403
* Document-method: Curses.color_pairs
1404
0 commit comments