VirtualBox

Changeset 28726 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Apr 26, 2010 7:25:54 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60599
Message:

VBoxShell: no colors on Windows

File:
1 edited

Legend:

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

    r28716 r28726  
    3333import time
    3434import re
     35import platform
    3536
    3637# Simple implementation of IConsoleCallback, one can use it as skeleton
     
    214215
    215216def autoCompletion(commands, ctx):
    216   import platform
    217217  if  not g_hasreadline:
    218218      return
     
    22302230    home = getHomeFolder(ctx)
    22312231    checkUserExtensions(ctx, commands, home)
    2232 
     2232    if platform.system() == 'Windows':
     2233        global g_hascolors
     2234        g_hascolors = False
    22332235    hist_file=os.path.join(home, ".vboxshellhistory")
    22342236    autoCompletion(commands, ctx)
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