diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-04-12 10:39:17 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-04-12 10:39:17 +0100 |
| commit | 91bfd714e4be3484e04eaadc5bbe630861fff652 (patch) | |
| tree | d8b2eb554c7feaf44545d650351480b468f4886d /src/client.cc | |
| parent | 80dd9ec4cb68669df4688c621486a27dd9b33548 (diff) | |
Place hardware terminal cursor at the current main cursor/prompt cursor position
Fixes #1318
Also fixes https://gitlab.com/gnachman/iterm2/issues/5408
Diffstat (limited to 'src/client.cc')
| -rw-r--r-- | src/client.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cc b/src/client.cc index 3ce8436d..d41a1ba9 100644 --- a/src/client.cc +++ b/src/client.cc @@ -246,6 +246,9 @@ void Client::redraw_ifn() if (m_ui_pending & StatusLine) m_ui->draw_status(m_status_line, m_mode_line, get_face("StatusLine")); + auto cursor = m_input_handler.get_cursor_info(); + m_ui->set_cursor(cursor.first, cursor.second); + m_ui->refresh(m_ui_pending | Refresh); m_ui_pending = 0; } |
