From 15fd4c585c89ba29531f017af7206a4bdec547fd Mon Sep 17 00:00:00 2001 From: Claudius Coenen Date: Mon, 2 Oct 2017 12:29:45 +0200 Subject: [PATCH] adding foreground color definition to fix #315 --- lib/widgets/prompt.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/widgets/prompt.js b/lib/widgets/prompt.js index 64c7406e..5e65b0e5 100644 --- a/lib/widgets/prompt.js +++ b/lib/widgets/prompt.js @@ -34,7 +34,8 @@ function Prompt(options) { height: 1, left: 2, right: 2, - bg: 'black' + bg: 'black', + fg: 'white' }); this._.okay = new Button({ @@ -46,6 +47,7 @@ function Prompt(options) { content: 'Okay', align: 'center', bg: 'black', + fg: 'white', hoverBg: 'blue', autoFocus: false, mouse: true @@ -61,6 +63,7 @@ function Prompt(options) { content: 'Cancel', align: 'center', bg: 'black', + fg: 'white', hoverBg: 'blue', autoFocus: false, mouse: true