MCPcopy
hub / github.com/Gallopsled/pwntools / __init__

Method __init__

pwnlib/term/keymap.py:11–19  ·  view source on GitHub ↗
(self, bindings, on_match = None, on_nomatch = None,
                  on_key = None)

Source from the content-addressed store, hash-verified

9
10class Keymap:
11 def __init__(self, bindings, on_match = None, on_nomatch = None,
12 on_key = None):
13 self._on_match = on_match
14 self._on_nomatch = on_nomatch
15 self._on_key = on_key
16 self._top = {}
17 self._cur = self._top
18 self.trace = []
19 self.register(bindings)
20
21 def handle_input(self):
22 self._doread = True

Callers

nothing calls this directly

Calls 1

registerMethod · 0.95

Tested by

no test coverage detected