diff options
author | Mitchell Foral <unknown> | 2021-10-22 15:58:17 +1100 |
---|---|---|
committer | Mitchell Foral <unknown> | 2021-10-22 15:58:17 +1100 |
commit | 1c2f3fb6ce528add154abce1791d56ce7a94271c (patch) | |
tree | 113769c983cb307b9ba44873b0f9d4fdcaff76ab /src/Editor.cxx | |
parent | 67759806434b36d47d5f08810854a661f2e992d1 (diff) | |
download | scintilla-mirror-1c2f3fb6ce528add154abce1791d56ce7a94271c.tar.gz |
Add CARETSTYLE_CURSES to draw more than 1 caret on curses terminal.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 485eaef87..ce5a70ce5 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7592,7 +7592,7 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) { return vs.ElementColour(Element::Caret)->OpaqueRGB(); case Message::SetCaretStyle: - if (static_cast<CaretStyle>(wParam) <= (CaretStyle::Block | CaretStyle::OverstrikeBlock | CaretStyle::BlockAfter)) + if (static_cast<CaretStyle>(wParam) <= (CaretStyle::Block | CaretStyle::OverstrikeBlock | CaretStyle::Curses | CaretStyle::BlockAfter)) vs.caret.style = static_cast<CaretStyle>(wParam); else /* Default to the line caret */ |