diff options
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/window.cpp b/src/window.cpp index 0d1ae3d1..9d0ac6cf 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -795,22 +795,22 @@ int Window::getTimeout() const return m_window_timeout; } -void Window::scroll(Where where) +void Window::scroll(Scroll where) { idlok(m_window, 1); scrollok(m_window, 1); switch (where) { - case wUp: + case Scroll::Up: wscrl(m_window, 1); break; - case wDown: + case Scroll::Down: wscrl(m_window, -1); break; - case wPageUp: + case Scroll::PageUp: wscrl(m_window, m_width); break; - case wPageDown: + case Scroll::PageDown: wscrl(m_window, -m_width); break; default: |