# built documents.
#
# The short X.Y version.
-version = '0.7.0'
+version = '0.7.1'
# The full version, including alpha/beta/rc tags.
-release = '0.7.0'
+release = '0.7.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
printNicely(magenta('Need tips ? Type "h" and hit Enter key!'))
g['reset'] = False
try:
- printNicely(str(eval('%s %s' % (g['cmd'], g['stuff']))))
+ printNicely(str(eval(g['cmd'])))
except Exception:
pass
line = raw_input()
# Save previous cmd in order to compare with readline buffer
g['previous_cmd'] = line.strip()
+ # Get short cmd to filter
try:
cmd = line.split()[0]
except:
cmd = ''
- g['cmd'] = cmd
+ # Save whold the entire cmd
+ g['cmd'] = line
try:
# Lock the semaphore
c['lock'] = True