Mercurial > hg > octave-shane
changeset 15680:6b1369106141
Fix error in setting the terminal cursor shape
Signed-off-by: Jacob Dawid <jacob.dawid@cybercatalyst.net>
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Mon, 13 Aug 2012 08:34:31 -0400 |
parents | a182972304fa |
children | 018c46ef8a0c |
files | libqterminal/unix/QUnixTerminalImpl.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libqterminal/unix/QUnixTerminalImpl.cpp +++ b/libqterminal/unix/QUnixTerminalImpl.cpp @@ -121,9 +121,9 @@ void QUnixTerminalImpl::setCursorType(CursorType type, bool blinking) { switch(type) { - case UnderlineCursor: m_terminalView->setKeyboardCursorShape(TerminalView::UnderlineCursor); - case BlockCursor: m_terminalView->setKeyboardCursorShape(TerminalView::BlockCursor); - case IBeamCursor: m_terminalView->setKeyboardCursorShape(TerminalView::IBeamCursor); + case UnderlineCursor: m_terminalView->setKeyboardCursorShape(TerminalView::UnderlineCursor); break; + case BlockCursor: m_terminalView->setKeyboardCursorShape(TerminalView::BlockCursor); break; + case IBeamCursor: m_terminalView->setKeyboardCursorShape(TerminalView::IBeamCursor); break; } m_terminalView->setBlinkingCursor(blinking); }