Skip to content

Commit 4a7aba7

Browse files
committed
📝 Update ipython config
1 parent 57172d2 commit 4a7aba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ def configure(repl: PythonRepl) -> None:
7676
`~/.ipython/profile_default/ipython_config.py`:
7777

7878
```python
79-
from IPython.terminal.prompts import ClassicPrompts
8079
from repl_python_wakatime.backends.wakatime import Wakatime
8180
from repl_python_wakatime.frontends.ipython import Ipython
8281

8382
c.TerminalInteractiveShell.prompts_class = lambda *args, **kwargs: Ipython(
84-
Wakatime(), ClassicPrompts(*args, **kwargs)
83+
Wakatime(),
84+
c.TerminalInteractiveShell.prompts_class(*args, **kwargs),
8585
)
8686
```
8787

0 commit comments

Comments
 (0)