From 0d888b88d0d8e4853e0d23e00b3183a7b60ab877 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 17 Jun 2021 18:43:26 -0400 Subject: Match windows by substring in /window This could just iterate over idNames instead, but using complete means more recently used windows will match first. --- catgirl.1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'catgirl.1') diff --git a/catgirl.1 b/catgirl.1 index 213b504..19a12f2 100644 --- a/catgirl.1 +++ b/catgirl.1 @@ -1,4 +1,4 @@ -.Dd May 28, 2021 +.Dd June 17, 2021 .Dt CATGIRL 1 .Os . @@ -521,8 +521,9 @@ Temporarily remove a message highlight pattern. Temporarily remove a message ignore pattern. .It Ic /window List all windows. -.It Ic /window Ar name -Switch to window by name. +.It Ic /window Ar name | substring +Switch to window by name +or matching substring. .It Ic /window Ar num | Ic / Ns Ar num Switch to window by number. .El -- cgit 1.4.1