Bugfix: support OSC source target by name with ID

fix a confusion between targetting source by ID (number) and targetting a source name starting with a number.
This commit is contained in:
Bruno Herbelin
2023-03-17 11:58:28 +01:00
parent b0e71f6f18
commit c255b0249f
2 changed files with 22 additions and 10 deletions

View File

@@ -27,6 +27,7 @@
#define OSC_ALL "/all"
#define OSC_SELECTION "/selection"
#define OSC_SOURCEID "(\\/)[[:digit:]]+$"
#define OSC_BATCH "(\\/batch#)[[:digit:]]+$"
#define OSC_CURRENT "/current"
#define OSC_NEXT "/next"