I’m sorry if this is a duplicate but I couldn’t find a proper answer.
I’m coding https://github.com/iSheeft/char-count which counts the number of characters selected.
But it requires to be triggered through the palette.
I tried through copying to achieve that but I couldn’t find how.
Any help would be welcome. Thanks !