c['DECORATED_NAME'])(
'[' + x + ']: ')
printNicely(green('Theme changed.'))
- except:
+ except Exception as e:
+ print(e)
printNicely(red('No such theme exists.'))
# the 1st character of that word
if current_buffer and g['previous_cmd'] != current_buffer:
sys.stdout.write(
- g['decorated_name'](c['PREFIX']) + current_buffer)
+ g['decorated_name'](c['PREFIX']) + unc(current_buffer))
sys.stdout.flush()
elif not c['HIDE_PROMPT']:
sys.stdout.write(g['decorated_name'](c['PREFIX']))