MCPcopy Index your code
hub / github.com/AmberSahdev/Open-Interface / display_input

Method display_input

app/ui.py:349–357  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

347 self.destroy()
348
349 def display_input(self) -> str:
350 # Get the entry and update the input display
351 user_input = self.entry.get()
352 self.input_display['text'] = f'{user_input}'
353
354 # Clear the entry widget
355 self.entry.delete(0, ttk.END)
356
357 return user_input.strip()
358
359 def execute_user_request(self) -> None:
360 # Puts the user request received from the UI into the MP queue being read in App to be sent to Core.

Callers 1

execute_user_requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected