mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-09 19:00:46 +00:00
Use 256 color pairs in pancurses
This commit is contained in:
parent
dad0016759
commit
19f87076f9
@ -23,7 +23,7 @@ impl Concrete {
|
||||
let n = 1 + pairs.len() as i32;
|
||||
|
||||
// TODO: when COLORS_PAIRS is available...
|
||||
let target = if 16 > n {
|
||||
let target = if 256 > n {
|
||||
// We still have plenty of space for everyone.
|
||||
n
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user