Commit Graph

7 Commits (sink-enhance)

Author SHA1 Message Date
sammyette ac7acebb2f
feat: add method autoFlush to toggle/change automatic flushing 2023-02-19 15:52:56 -04:00
sammyette 29c3c6e55a
feat: add pipe property to sinks to see if stdin sink is a pipe 2023-02-19 13:37:50 -04:00
sammyette 9e45929da7
fix: add flush as sink method and fix arg amount for read 2023-02-19 13:27:48 -04:00
sammyette 54f89db578
feat: add manual flush method for sinks 2023-02-18 19:46:15 -04:00
sammyette 83f851dc93
feat: add read method to sinks 2023-02-18 19:39:49 -04:00
sammyette 61914f8dc7
docs: add docs for sink type (closes #233) 2023-02-07 15:39:22 -04:00
sammyette 2f6ab5fd92
feat: add sink for commanders to write output/read input (#232)
to write output, you would usually just use the print builtin
since commanders are just lua custom commands but this does not
consider the fact of pipes or other shell operators being used
to redirect or whatever.

this adds readable/writable "sinks" which is a type for input
or output and is currently only used for commanders but can be
used for other hilbish things in the future
2023-01-20 19:07:42 -04:00