From 85016e706cd00e527dba3fa83b2783dfb56a4ffa Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 27 Dec 2020 18:45:04 -0500 Subject: Squashed 'www/git.causal.agency/cgit/' content from commit 02221fd3 git-subtree-dir: www/git.causal.agency/cgit git-subtree-split: 02221fd3fe523a3293d64e3359036e3a71d6fd7e --- tests/filters/dump.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/filters/dump.lua (limited to 'tests/filters/dump.lua') diff --git a/tests/filters/dump.lua b/tests/filters/dump.lua new file mode 100644 index 00000000..1f15c931 --- /dev/null +++ b/tests/filters/dump.lua @@ -0,0 +1,17 @@ +function filter_open(...) + buffer = "" + for i = 1, select("#", ...) do + buffer = buffer .. select(i, ...) .. " " + end +end + +function filter_close() + html(buffer) + return 0 +end + +function filter_write(str) + buffer = buffer .. string.upper(str) +end + + -- cgit 1.4.1 /tokipona'>somasis/tokipona IRC client
about summary refs log tree commit diff
path: root/LICENSE (unfollow)
Commit message (Collapse)Author
2018-08-07Define ui.c BUF_LEN with enumJune McEnroe
2018-08-07Hack clang into checking uiFmt format stringsJune McEnroe
2018-08-07Handle PART and QUIT without messagesJune McEnroe
2018-08-07Make safe filling the who bufferJune McEnroe
2018-08-07Add reverse and reset IRC formatting codesJune McEnroe
2018-08-06Rewrite line editing again, add formattingJune McEnroe
2018-08-06Fix allocation size in vaswprintfJune McEnroe
This is so embarrassing. It only started crashing once it had strings that were long enough, and then it took me so long to notice this mistake. I was worried I was still doing va_list wrong somehow.
2018-08-06Implement word wrappingJune McEnroe
2018-08-06Use wchar_t strings for all of UIJune McEnroe
vaswprintf is a nightmare.
2018-08-06Rename line editing functionsJune McEnroe
2018-08-05Initialize all possible color pairsJune McEnroe
This is actually possible with use_default_colors!
2018-08-05Refactor color initializationJune McEnroe
2018-08-05Add ^L redrawJune McEnroe
2018-08-05Use 16 colors if availableJune McEnroe
Fall back to using bold if there are only 8 colors. This also allowed bright background colors in 16-color terminals. I must port this system to torus. I'll be able to remove the awful termcap patch hack.
2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe
Oh boy that's embarrassing.
2018-08-04Show source link on exitJune McEnroe
2018-08-04Implement line editing, scrollingJune McEnroe
Don't really have a way to implement the M-* keys, and currently missing C-w.
2018-08-04Handle /topicJune McEnroe