Skip to content

Commit 180462b

Browse files
Fix: no need to handle vi_start_in_navigation_mode in the embed() call.
1 parent 295f3a8 commit 180462b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ptpython/repl.py

-4
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,6 @@ def get_locals():
377377
if configure:
378378
configure(repl)
379379

380-
# Set Vi input mode
381-
if repl.vi_start_in_navigation_mode:
382-
repl.app.vi_state.input_mode = InputMode.NAVIGATION
383-
384380
# Start repl.
385381
patch_context: ContextManager = patch_stdout_context() if patch_stdout else DummyContext()
386382

0 commit comments

Comments
 (0)