aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--README.adoc2
m---------liberty0
-rw-r--r--nncmpp.c2
m---------termo0
5 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 73e2b1b..bce36ab 100644
--- a/NEWS
+++ b/NEWS
@@ -5,8 +5,12 @@ Unreleased
* Added ability to configure bindable user-defined actions;
these can launch arbitrary shell commands
+ * Prevented crashes when the daemon disconnects during search
+
* X11: added support for font fallbacks to the editor as well
+ * X11: fixed that XSettings had to be present
+
2.1.1 (2024-02-27)
diff --git a/README.adoc b/README.adoc
index 1a0f199..775c5a3 100644
--- a/README.adoc
+++ b/README.adoc
@@ -33,6 +33,8 @@ You can get a package with the latest development version using Arch Linux's
https://aur.archlinux.org/packages/nncmpp-git[AUR],
or as a https://git.janouch.name/p/nixexprs[Nix derivation].
+Stable versions are present in: OpenBSD ports.
+
Documentation
-------------
See the link:nncmpp.adoc[man page] for information about usage.
diff --git a/liberty b/liberty
-Subproject 75fc6f1c374796f9e794297c3893089009b8772
+Subproject d8f785eae54d2b9898cc4a6b8d3c96957161538
diff --git a/nncmpp.c b/nncmpp.c
index 08c5499..8f17d8d 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -3785,6 +3785,8 @@ static void
search_on_changed (void)
{
struct mpd_client *c = &g.client;
+ if (c->state != MPD_CONNECTED)
+ return;
size_t len;
char *u8 = (char *) u32_to_u8 (g.editor.line, g.editor.len + 1, NULL, &len);
diff --git a/termo b/termo
-Subproject 2518b53e5ae4579bf84ed58fa7a62806f64e861
+Subproject f9a102456fa6a0b43a916ceaf031f21ea5665e6