mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
Added function expand_escapes() which handles now escaping /EVAL and input
line if /SET expand_escapes is set. Supported escapes are \t, \r, \n, \e (ESC), \x (HEX, \x1b), \c (CTRL char, \cA), \000 (octal, \033) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1727 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b667af72aa
commit
98b82723a1
4 changed files with 68 additions and 20 deletions
|
|
@ -101,4 +101,8 @@ int get_max_column_count(GSList *items, COLUMN_LEN_FUNC len_func,
|
|||
/* Return a column sorted copy of a list. */
|
||||
GSList *columns_sort_list(GSList *list, int rows);
|
||||
|
||||
/* Expand escape string, the first character in data should be the
|
||||
one after '\'. Returns the expanded character or -1 if error. */
|
||||
int expand_escape(const char **data);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue