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:
+2
-2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user