about summary refs log tree commit diff stats
path: root/src/io/bufwriter.nim
Commit message (Collapse)AuthorAgeFilesLines
* color: RGBAColor -> ARGBColorbptato2024-04-261-2/+2
|
* Initial image supportbptato2024-04-251-2/+6
| | | | | | | | | | | | | | | | | * png: add missing filters, various decoder fixes * term: fix kitty response interpretation, add support for kitty image detection * buffer, pager: initial image display support Emphasis on "initial"; it only "works" with kitty output and PNG input. Also, it's excruciatingly slow, and repaints images way too often. Left undocumented intentionally it for now, until it actually becomes useful. In the meantime, adventurous users can find out themselves why: [[siteconf]] url = "https://.*" images = true
* io: derive DynStream from RootObj (not Stream)bptato2024-03-241-8/+2
| | | | | | | | This way they are no longer compatible, but we no longer need them to be compatible anyway. (This also forces us to throw out the old serialize module, and use packet writers everywhere.)
* io: add bufreaderbptato2024-03-211-11/+24
| | | | analogous to bufwriter
* buffer: also buffer reads for packetsbptato2024-03-201-4/+5
| | | | | Since we know the length of packets, we can also read them in in one call. Though I really wish we could do this without the StringStream.
* io: add BuferedWriterbptato2024-03-161-0/+175
Unsurprisingly enough, calling `write` a million times is never going to be very fast. BufferedWriter basically does the same thing as serialize.swrite did, but queues up writes in batches before sending them. TODO: give sread a similar treatment