summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
diff options
context:
space:
mode:
authorCoren[m] <Break@Ocean>2013-11-10 19:04:01 +0100
committerCoren[m] <Break@Ocean>2013-11-10 19:06:17 +0100
commit4993928888ccec0b2c894d695e9f4736b63d6a80 (patch)
treed88d5ddfaa225fa8e9422156d21e2d4ae82275b9 /toxcore/Messenger.c
parente1b215cfa9a2dc754bcd4632257ecbe5747a53ae (diff)
Started as a simple bugfix for wrap(), expanded to more detailed help.
nTox.c: - flag[]: additional flag for special wrapping - help expanded and split (to keep below 256 chars) - new_lines_mark(): stores flag for special wrapping - print_friendlist(): . - extracted pattern for output . - added length of id string allocation . - replaced '\t' with '+ ', wrappers don't account for '\t' - line_eval(): . - removed a few do_refresh() directly after a new_lines() (calls do_refresh() at its end) . - 'h' (help): parsing of an additional character for f(riend) or g(roup) - wrap(): . - the major bugfix: . - no more endless looping if the input had a substring with no spaces . for more than line_width (e.g. ID of 78 and window smaller than 78) - wrap_bars(): wrap() for "rich" messages, honors embedded '\n', breaks preferable at '|' - print_help(): listed all options and added explanations - print_invite(): fixed minuscule typo - main(): made print_help() reachable again nTox.h: - majorly cut down to what is really needed
Diffstat (limited to 'toxcore/Messenger.c')
0 files changed, 0 insertions, 0 deletions