I am using blessed and I am trying to add a prompt to my application. It works fine, but I can't read its text. I have prepared a minimal example, that illustrates, what I see.
I would like to know how I can style the text in the inputs. The style-Attributes as mentioned in the docs seem to have no effect.
Here's what I see (there is text in the input and on the two buttons, but it is black on black).
Here's code that reproduces the error on Debian 9 with standard terminal and standard theme:
var blessed = require('blessed');
var screen = blessed.screen({});
var prompt = blessed.prompt({
left: 'center',
top: 'center',
height: 'shrink',
width: 'shrink',
border: 'line',
});
screen.append(prompt);
screen.key(['q', 'C-c'], function quit() {
return process.exit(0);
});
screen.render();
prompt.input('Search:', 'test', function() {});