From 8b201df9d068cc7fe943d29d65875917e00d985b Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Thu, 19 Jan 2017 18:19:26 -0800 Subject: [PATCH] Explain emitting scroll event manually Related to sourcelair/xterm.js#494 and sourcelair/xterm.js#495 --- _docs/api/Terminal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/api/Terminal.md b/_docs/api/Terminal.md index 4191852..a805ae3 100644 --- a/_docs/api/Terminal.md +++ b/_docs/api/Terminal.md @@ -340,5 +340,5 @@ Emitted when the terminal gets resized to a new geometry. - `ydisp` - Number - The number of rows the terminal scrolled down (or up if negative). -Emitted when the terminal scrolls vertically +Emitted when the terminal scrolls vertically. This event can be emitted manually to synchronize the scroll bar, this is useful if the terminal was resized while it was `display: none`.