Skip to content

Commit 27c5f5f

Browse files
committed
Exposed scrolling ability
1 parent 9b7c7b0 commit 27c5f5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/Window.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ public class Window {
4141
curses.setKeyPadMode(windowHandle:windowHandle)
4242
}
4343

44+
public func setScroll(enabled:Bool) {
45+
curses.setScroll(windowHandle:windowHandle, enabled:enabled)
46+
}
47+
4448
public func refresh() {
4549
curses.refresh(windowHandle:windowHandle)
4650
}

0 commit comments

Comments
 (0)