1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

core: fix quoted line in cursor mode (closes #1602)

Regression was introduced in version 2.7 by commit
93d2dbf3e1.
This commit is contained in:
Sébastien Helleu
2021-02-28 17:13:52 +01:00
parent 3ca58c2fd9
commit c3cc06ff27
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -35,6 +35,7 @@ New features::
Bug fixes::
* core: fix quoted line in cursor mode (issue #1602)
* core: fix wrong size of the new window after vertical split (issue #1612)
* core: do not remove quotes in arguments of command /eval as they can be part of the evaluated expression/condition (issue #1601)
* core: display an error when the buffer is not found with command /command -buffer
+1 -1
View File
@@ -532,7 +532,7 @@ gui_chat_display_word (struct t_gui_window *window,
gui_window_restore_style (GUI_WINDOW_OBJECTS(window)->win_chat);
}
}
if (window->win_chat_cursor_y < window->coords_size)
if (!simulate && (window->win_chat_cursor_y < window->coords_size))
{
window->coords[window->win_chat_cursor_y].line = line;
window->coords[window->win_chat_cursor_y].data = (char *)word + (ptr_data - data);