diff --git a/.gitignore b/.gitignore index 7a723dbf..295d49df 100644 --- a/.gitignore +++ b/.gitignore @@ -146,4 +146,7 @@ cython_debug/ # CAI files .cai/ -.vscode/ \ No newline at end of file +.vscode/ + +# workspaces +workspaces/ \ No newline at end of file diff --git a/src/cai/repl/ui/prompt.py b/src/cai/repl/ui/prompt.py index 5a220e1f..35de00e0 100644 --- a/src/cai/repl/ui/prompt.py +++ b/src/cai/repl/ui/prompt.py @@ -96,7 +96,7 @@ def get_user_input( # Get user input with all features return prompt( - [('class:prompt', 'CAI> ')], + [('class:prompt', '\nCAI> ')], completer=command_completer, style=create_prompt_style(), history=FileHistory(str(history_file)), @@ -110,6 +110,6 @@ def get_user_input( enable_suspend=True, # Allow suspending with Ctrl+Z enable_open_in_editor=True, # Allow editing with Ctrl+X Ctrl+E multiline=False, # Enable multiline input - rprompt=get_rprompt, # Missing comma here + rprompt=get_rprompt, color_depth=None, # Auto-detect color support )