commit | be471c328ea0ae04026e4ff32fda7b7f11c74255 | [log] [download] |
---|---|---|
author | nicm <nicm> | Fri Feb 05 12:23:49 2021 +0000 |
committer | nicm <nicm> | Fri Feb 05 12:23:49 2021 +0000 |
tree | 55f959803e1c254ce7a467e45706c61c21cc69ec | |
parent | c13f2e1135df1f8be78262eb6f5ccb251a7e1d61 [diff] |
Add a -S flag to new-window to make it select the existing window if one with the given name already exists rather than failing with an error. Also add a format to check if a window or session name exists which allows the same with other commands. Requested by and discussed with kn@.