diff options
-rw-r--r-- | advent.tlv | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/advent.tlv b/advent.tlv index a1652ac..afbff19 100644 --- a/advent.tlv +++ b/advent.tlv @@ -133,6 +133,19 @@ end { __teliva_timestamp = [==[ original]==], + split = [==[ +function split(s, d) + result = {} + for match in (s..d):gmatch("(.-)"..d) do + table.insert(result, match); + end + return result +end +]==], + }, + { + __teliva_timestamp = [==[ +original]==], window = [==[ window = curses.stdscr()]==], }, |