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

core: fix cursor position after /plugin list -i or /plugin list -il

This commit is contained in:
Sébastien Helleu
2023-06-17 20:39:02 +02:00
parent e5586e14d9
commit 59cdade5f0
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -4941,7 +4941,7 @@ command_plugin_list_input (struct t_gui_buffer *buffer,
else
{
gui_buffer_set (buffer, "input", *buf);
length = strlen (*buf);
length = utf8_strlen (*buf);
snprintf (str_pos, sizeof (str_pos), "%d", length);
gui_buffer_set (buffer, "input_pos", str_pos);
}