#381 treat ~ as `

This commit is contained in:
Kang Yu 2024-05-31 12:46:39 -07:00
parent 91b1b3f43d
commit e175b5f4d8

View file

@ -529,7 +529,7 @@ namespace PersistentWindows.SystrayShell
static public int SnapshotCharToId(char c)
{
if (c == '`')
if (c == '`' || c == '~')
return MaxSnapshots - 2;
if (c < '0')
return -1;