mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 01:10:57 +01:00
Correctly handle 'tab' key binding.
This commit is contained in:
parent
956a6202b5
commit
880ada8052
1 changed files with 1 additions and 3 deletions
|
@ -31,6 +31,4 @@ def load_xonsh_bindings(key_bindings_manager):
|
|||
If there are only whitespaces before current cursor position insert
|
||||
indent instead of autocompleting.
|
||||
"""
|
||||
event.cli.current_buffer.insert_text(env['INDENT'])
|
||||
|
||||
|
||||
event.cli.current_buffer.insert_text(env.get('INDENT', ' '))
|
||||
|
|
Loading…
Add table
Reference in a new issue