MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / onReturnPress

Function onReturnPress

lib/utils/gui.py:132–149  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

130 line += event.char
131
132 def onReturnPress(event):
133 global line
134 global queue
135
136 if process:
137 try:
138 process.stdin.write(("%s\n" % line.strip()).encode())
139 process.stdin.flush()
140 except socket.error:
141 line = ""
142 event.widget.master.master.destroy()
143 return "break"
144 except:
145 return
146
147 event.widget.insert(_tkinter.END, "\n")
148
149 return "break"
150
151 def run():
152 global alive

Callers

nothing calls this directly

Calls 3

writeMethod · 0.45
flushMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…