mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
If joined channel had some low-ascii (color codes), they were displayed
wrong in statusbar and prompt. Also, if you're invited to some channel, print the lowascii so that you can see them (^B, etc.) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@400 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
58397c1ca9
commit
39282a342f
6 changed files with 40 additions and 14 deletions
|
|
@ -627,7 +627,10 @@ void window_update_prompt(WINDOW_REC *window)
|
|||
}
|
||||
|
||||
/* set prompt */
|
||||
text = show_lowascii(text);
|
||||
str = g_strdup_printf("[%1.17s] ", text);
|
||||
g_free(text);
|
||||
|
||||
gui_entry_set_prompt(str);
|
||||
if (*str != '\0') g_free(str);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue