summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorGinjaNinja32 <ginjaninja32@gmail.com>2017-10-06 18:36:42 +0100
committerailin-nemui <ailin-nemui@users.noreply.github.com>2018-01-18 10:08:00 +0100
commit925ae6e6adfae0b8924cfeca2a2b0ac99b042bce (patch)
tree7fb7a8eb2ae01861ba3c2aae65734125c1bf6928 /src/perl
parent243ae4be84d422322f20be1b715dc0b00ef9c32d (diff)
downloadirssi-925ae6e6adfae0b8924cfeca2a2b0ac99b042bce.zip
Add color support for input bar
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/textui/TextUI.xs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/perl/textui/TextUI.xs b/src/perl/textui/TextUI.xs
index 12732e3f..02ef6c73 100644
--- a/src/perl/textui/TextUI.xs
+++ b/src/perl/textui/TextUI.xs
@@ -124,6 +124,14 @@ gui_input_set(str)
CODE:
gui_entry_set_text(active_entry, str);
+void
+gui_input_color(pos, len, color)
+ int pos
+ int len
+ int color
+CODE:
+ gui_entry_set_color(active_entry, pos, len, color);
+
int
gui_input_get_pos()
CODE: