mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-01 22:24:31 +00:00
debug command
This commit is contained in:
parent
63b0a40317
commit
7f5829036c
2 changed files with 2 additions and 7 deletions
|
|
@ -36,7 +36,6 @@ def run_with_pty(command):
|
|||
# Set up the signal handler
|
||||
signal.signal(signal.SIGINT, sigint_handler)
|
||||
|
||||
# Only modify terminal settings if we're actually in a terminal
|
||||
new_settings = termios.tcgetattr(sys.stdin)
|
||||
new_settings[3] = new_settings[3] & ~termios.ECHO # Disable echo
|
||||
new_settings[3] = new_settings[3] & ~termios.ICANON # Disable canonical mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue