VirtualBox

Changeset 27956 in vbox


Ignore:
Timestamp:
Apr 2, 2010 10:23:49 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
59660
Message:

python shell: use bind hack only on Darwin, elsewhere it's harmful

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r27953 r27956  
    195195
    196196def autoCompletion(commands, ctx):
     197  import platform
    197198  if  not g_hasreadline:
    198199      return
     
    204205  readline.set_completer(completer.complete)
    205206  # OSX need it
    206   readline.parse_and_bind ("bind ^I rl_complete")
     207  if platform.system() == 'Darwin':
     208      readline.parse_and_bind ("bind ^I rl_complete")
    207209  readline.parse_and_bind("tab: complete")
    208210
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette