RichString_appendChr: add parameter to set attributes

Allows to set attributes when padding process fields in non-wide ncurses
mode.

Closes: #475
This commit is contained in:
Christian Göttsche
2021-01-13 19:22:33 +01:00
parent 78b993dbb4
commit 5fde0e0127
4 changed files with 21 additions and 12 deletions

View File

@ -50,7 +50,7 @@ void RichString_prune(RichString* this);
void RichString_setAttr(RichString* this, int attrs);
void RichString_appendChr(RichString* this, char c, int count);
void RichString_appendChr(RichString* this, int attrs, char c, int count);
int RichString_appendWide(RichString* this, int attrs, const char* data);