diff options
Diffstat (limited to 'app/compose.go')
-rw-r--r-- | app/compose.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/compose.go b/app/compose.go index 546184d8..76f28881 100644 --- a/app/compose.go +++ b/app/compose.go @@ -769,6 +769,10 @@ func (c *Composer) OnClose(fn func(composer *Composer)) { c.onClose = append(c.onClose, fn) } +func (c *Composer) Terminal() *Terminal { + return c.editor +} + func (c *Composer) Draw(ctx *ui.Context) { c.setTitle() c.width = ctx.Width() |