summaryrefslogtreecommitdiff
path: root/rc/tools/python
diff options
context:
space:
mode:
authorTim Allen <screwtape@froup.com>2021-03-26 15:17:41 +1100
committerTim Allen <screwtape@froup.com>2021-03-26 15:17:41 +1100
commitf7c1702965795e7166801847d253050f81e32c26 (patch)
treeec8e7a46e52d436ea9cea30aa80c59b5ca27be77 /rc/tools/python
parentc507863a00289fe4b210ecc4fef5554de4c87bf4 (diff)
src/ncurses_ui: move the parse_mask() helper outside parse_csi().
It's useful for parsing modifier masks in all kinds of sequences, not just CSI sequences. Also, since the modifier mask always has "1" as "no modifiers", do the subtraction inside parse_mask() instead of when calling it.
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions