Graphics protocol: Add a new delete mode for deleting images whose ids fall within a range

Useful for bulk deletion. See #7080
This commit is contained in:
Kovid Goyal
2024-02-13 14:12:29 +05:30
parent ad3ab877f8
commit c19488f3be
7 changed files with 36 additions and 12 deletions

View File

@@ -260,7 +260,7 @@ def graphics_parser() -> None:
flag = frozenset
keymap: KeymapType = {
'a': ('action', flag('tTqpdfac')),
'd': ('delete_action', flag('aAiIcCfFnNpPqQxXyYzZ')),
'd': ('delete_action', flag('aAiIcCfFnNpPqQrRxXyYzZ')),
't': ('transmission_type', flag('dfts')),
'o': ('compressed', flag('z')),
'f': ('format', 'uint'),