From b551d6f247a4234ea425cc23eb9d57ea61f7d179 Mon Sep 17 00:00:00 2001
From: Trygve Aaberge <trygveaa@gmail.com>
Date: Mon, 26 Jun 2023 23:52:23 +0200
Subject: core: check for newline characters in string_is_whitespace_char

This fixes a bug where if you had multiple lines in the input and
pressed ctrl-w when the cursor was after the first word of any line but
the first, it would delete both the word before the cursor and the last
word on the preceding line.
---
 ChangeLog.adoc | 1 +
 1 file changed, 1 insertion(+)

(limited to 'ChangeLog.adoc')

diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index 7e580da6f..5146f6cd6 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -23,6 +23,7 @@ Bug fixes::
 
   * core: force key "return" to command "/input return" when migrating legacy keys
   * core: display actual key name and command with key kbd:[Alt+k], remove key kbd:[Alt+K] (grab raw key) and associated commands `/input grab_raw_key` and `/input grab_raw_key_command`
+  * core: check for newline characters in string_is_whitespace_char (issue #1968)
   * api: do not convert option name to lower case in API functions config_set_plugin and config_set_desc_plugin
   * irc: reply to a CTCP request sent to self nick (issue #1966)
   * irc: sent "QUIT" message to servers connected with TLS on `/upgrade`
-- 
cgit v1.2.3

