min_engine_version = 1
[[rule]]
id = "execute_selection_blocker"
state = "blocked"
priority = 300
region = "whole_recent"
gate = { all = [
{ contains = "enter to select" },
{ contains = "esc to cancel" },
{ any = [ { contains = "↑↓ to navigate" }, { contains = "use ↑↓ to navigate" } ] },
{ any = [ { contains = "> yes, allow" }, { contains = "> no, cancel" } ] },
] }
[[rule]]
id = "selection_menu_blocker"
state = "blocked"
priority = 290
region = "bottom_non_empty_lines(8)"
gate = { all = [
{ contains = "enter select" },
{ contains = "esc cancel" },
{ any = [ { contains = "↑/↓ navigate" }, { contains = "↑↓ navigate" } ] },
] }
[[rule]]
id = "spinner_stop_working"
state = "working"
priority = 110
region = "whole_recent"
gate = { all = [
{ contains = "esc to stop" },
{ line_regex = '^\s*[\x{2800}-\x{28FF}]' },
] }
[[rule]]
id = "stop_hint_working"
state = "working"
priority = 100
region = "whole_recent"
gate = { contains = "esc to stop" }