From 19f87076f910f968ef18d1e3f1e4610cd4ae1ea6 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Wed, 14 Jun 2017 00:59:17 -0700 Subject: [PATCH] Use 256 color pairs in pancurses --- src/backend/curses/pan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/curses/pan.rs b/src/backend/curses/pan.rs index 148388a..4eae47c 100644 --- a/src/backend/curses/pan.rs +++ b/src/backend/curses/pan.rs @@ -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 {