diff options
author | Ailin Nemui <ailin@esf51.localdomain> | 2014-11-04 12:08:27 +0100 |
---|---|---|
committer | Ailin Nemui <ailin@esf51.localdomain> | 2014-11-10 10:53:14 +0100 |
commit | b03805eeb916712815971ac6bcfffe10cc16711f (patch) | |
tree | d0fcb3658c7309fcaf7cac3f82b9b7e969ab67f1 /src/fe-text/gui-printtext.c | |
parent | 688fc817dd9958f66e3be603dd0ee8ecc97d649d (diff) | |
download | irssi-b03805eeb916712815971ac6bcfffe10cc16711f.zip |
reimplement format and length logic for the entry prompt
Diffstat (limited to 'src/fe-text/gui-printtext.c')
-rw-r--r-- | src/fe-text/gui-printtext.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c index 547d39c9..83b26e82 100644 --- a/src/fe-text/gui-printtext.c +++ b/src/fe-text/gui-printtext.c @@ -109,6 +109,16 @@ void gui_printtext(int xpos, int ypos, const char *str) next_xpos = next_ypos = -1; } +void gui_printtext_internal(int xpos, int ypos, const char *str) +{ + next_xpos = xpos; + next_ypos = ypos; + + printtext_gui_internal(str); + + next_xpos = next_ypos = -1; +} + void gui_printtext_after_time(TEXT_DEST_REC *dest, LINE_REC *prev, const char *str, time_t time) { GUI_WINDOW_REC *gui; |