MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / left

Method left

mitmproxy/tools/console/grideditor/base.py:206–208  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

204 self.set_current_value(val)
205
206 def left(self):
207 self.focus_col = max(self.focus_col - 1, 0)
208 self._modified()
209
210 def right(self):
211 self.focus_col = min(self.focus_col + 1, len(self.editor.columns) - 1)

Callers 1

keypressMethod · 0.45

Calls 1

_modifiedMethod · 0.95

Tested by

no test coverage detected