1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

core: add cut of string with max chars displayed in evaluation of expressions

The syntax is: ${cutscr:max,suffix,string}.
The string is cut after max chars displayed on screen. If the string is cut,
the optional suffix is added after.
This commit is contained in:
Sébastien Helleu
2017-03-27 21:14:51 +02:00
parent f37ecbfefd
commit f99c866f35
31 changed files with 262 additions and 127 deletions
+2 -2
View File
@@ -126,8 +126,8 @@ main (int argc, char *argv[])
int rc, length, weechat_argc;
char *weechat_tests_args, *args, **weechat_argv;
/* setup environment: default language, no specific timezone */
setenv ("LC_ALL", "C", 1);
/* setup environment: English language, no specific timezone */
setenv ("LC_ALL", "en_US.UTF-8", 1);
setenv ("TZ", "", 1);
/* build arguments for WeeChat */