mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
core: fix cursor position after /plugin list -i or /plugin list -il
This commit is contained in:
@@ -26,6 +26,7 @@ Bug fixes::
|
||||
* core: don't send "key_combo_*" signals for incomplete keys (issue #1976)
|
||||
* core: add key ctrl-backspace in /help key (issue #1975)
|
||||
* core: keep keys ctrl-H and ctrl-? (in lower case) if they were manually bound to custom commands in a previous version
|
||||
* core: fix cursor position after `/plugin list -i` or `/plugin list -il`
|
||||
* irc: fix display of country code in message 344 received as whois geo info (issue #1736)
|
||||
|
||||
Tests::
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user