From 479c067a4096f440398f531c11e4eae802ffe7c9 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 29 Apr 2014 21:37:11 +0100 Subject: Add support for running Kakoune with redirected stdin Will read to a *stdin* fifo buffer --- src/buffer_utils.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/buffer_utils.hh') diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh index 16e2c764..bd08d9b3 100644 --- a/src/buffer_utils.hh +++ b/src/buffer_utils.hh @@ -41,6 +41,8 @@ inline void avoid_eol(const Buffer& buffer, Selection& sel) CharCount get_column(const Buffer& buffer, CharCount tabstop, BufferCoord coord); +Buffer* create_fifo_buffer(String name, int fd); + } #endif // buffer_utils_hh_INCLUDED -- cgit v1.2.3