From 8d4531d419a2854970d67658fadfa9302308fb6c Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 15 Aug 2014 13:21:54 +0100 Subject: Add support for reading from stdin/writing to stdout in filter mode Note that kakoune still needs to read the whole buffer first, only once stdin is closed can it execute the keys. --- src/buffer_utils.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/buffer_utils.hh') diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh index c16b359f..0211a926 100644 --- a/src/buffer_utils.hh +++ b/src/buffer_utils.hh @@ -29,6 +29,10 @@ CharCount get_column(const Buffer& buffer, Buffer* create_fifo_buffer(String name, int fd, bool scroll = false); +Buffer* create_buffer_from_data(StringView data, StringView name, + Buffer::Flags flags, + time_t fs_timestamp = InvalidTime); + } #endif // buffer_utils_hh_INCLUDED -- cgit v1.2.3