diff options
| author | Igor Ramazanov <igor.ramazanov@protonmail.com> | 2025-01-18 11:43:57 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-18 11:43:57 +0000 |
| commit | ce4dc805e375dbd8c0477ad5005c2110f83de2aa (patch) | |
| tree | ac2ca142a2182eb51ed64ffd029fa4111b4d8f48 /src/buffer_utils.hh | |
| parent | ae9758e95f531d26847cfc7e884da3ceb47670f3 (diff) | |
| parent | 54084900624493033cb24640d864c109cdac40a7 (diff) | |
Merge branch 'mawww:master' into contrib/gendocs.sh
Diffstat (limited to 'src/buffer_utils.hh')
| -rw-r--r-- | src/buffer_utils.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh index e0b40425..bc0dab68 100644 --- a/src/buffer_utils.hh +++ b/src/buffer_utils.hh @@ -72,7 +72,8 @@ ColumnCount column_length(const Buffer& buffer, ColumnCount tabstop, LineCount l ByteCount get_byte_to_column(const Buffer& buffer, ColumnCount tabstop, DisplayCoord coord); -Buffer* create_fifo_buffer(String name, int fd, Buffer::Flags flags, bool scroll = false); +enum class AutoScroll { No, NotInitially, Yes }; +Buffer* create_fifo_buffer(String name, int fd, Buffer::Flags flags, AutoScroll scroll); Buffer* create_buffer_from_string(String name, Buffer::Flags flags, StringView data); Buffer* open_file_buffer(StringView filename, Buffer::Flags flags = Buffer::Flags::None); |
