mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
Try to split long lines on spaces
Try to split long lines on spaces to avoid words being splitted. This can be turned off with the option `split_line_on_space'. The code assumes that the terminal encoding has ASCII spaces.
This commit is contained in:
parent
31ee20e559
commit
f81a54b937
6 changed files with 48 additions and 19 deletions
|
|
@ -116,6 +116,6 @@ uoff_t str_to_uofft(const char *str);
|
|||
int find_substr(const char *list, const char *item);
|
||||
|
||||
/* split `str' into `len' sized substrings */
|
||||
char **strsplit_len(const char *str, int len);
|
||||
char **strsplit_len(const char *str, int len, gboolean onspace);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue