mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 17:42:49 +02:00
add Irssi::UI::TextDest->set_level($bits) to change the level
of a "print (no)format" or "print text" in the old code
This commit is contained in:
parent
2a2f7b826d
commit
f2f5fec091
1 changed files with 8 additions and 0 deletions
|
|
@ -137,3 +137,11 @@ print(dest, str)
|
|||
char *str
|
||||
CODE:
|
||||
printtext_dest(dest, "%s", str);
|
||||
|
||||
void
|
||||
set_level(dest, level)
|
||||
Irssi::UI::TextDest dest
|
||||
int level
|
||||
CODE:
|
||||
dest->level = level;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue