summaryrefslogtreecommitdiff
path: root/src/display_buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/display_buffer.hh')
-rw-r--r--src/display_buffer.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/display_buffer.hh b/src/display_buffer.hh
index f366bda9..b992654a 100644
--- a/src/display_buffer.hh
+++ b/src/display_buffer.hh
@@ -96,6 +96,8 @@ public:
return m_type == BufferRange or m_type == ReplacedBufferRange;
}
+ const Buffer& buffer() const { kak_assert(m_buffer); return *m_buffer; }
+
Type type() const { return m_type; }
void trim_begin(CharCount count);