aboutsummaryrefslogtreecommitdiff
path: root/text-io.c
AgeCommit message (Collapse)AuthorFilesLines
2024-09-13support piping a buffer to an external processFlorian Fischer1-1/+1
Currently only Text objects can be piped to external commands. This is tedious if data not available in any file should be passed to an external process (e.g. building options and passing them to vis-menu). This adds the option to pass a buffer to _vis_pipe and provides wrapper functions for the original behavior and the new one.
2023-02-12text-io: close "cwd" in all casesSilvan Jegen1-2/+3
2022-12-10Add dealing with error value from fchdir in text-io.cMatěj Cepl1-1/+2
2020-12-10fix typos in commentsMoesasji1-2/+2
2020-10-10text: move I/O related code to separate fileMarc André Tanner1-0/+548
This groups all I/O related code together to make it reusable in different core text data structure implementations.