We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9c7100 commit 0cb6f85Copy full SHA for 0cb6f85
1 file changed
agents/s01_agent_loop.py
@@ -27,6 +27,17 @@
27
import os
28
import subprocess
29
30
+try:
31
+ import readline
32
+ # #143 UTF-8 backspace fix for macOS libedit
33
+ readline.parse_and_bind('set bind-tty-special-chars off')
34
+ readline.parse_and_bind('set input-meta on')
35
+ readline.parse_and_bind('set output-meta on')
36
+ readline.parse_and_bind('set convert-meta off')
37
+ readline.parse_and_bind('set enable-meta-keybindings on')
38
+except ImportError:
39
+ pass
40
+
41
from anthropic import Anthropic
42
from dotenv import load_dotenv
43
0 commit comments