From 2a857ef419adf7fa8e7866189df76ee111166a20 Mon Sep 17 00:00:00 2001 From: Orakaro Date: Fri, 8 Aug 2014 22:48:52 +0900 Subject: [PATCH] current_buffer in unicode wrapper --- docs/conf.py | 4 ++-- rainbowstream/py3patch.py | 1 - rainbowstream/rainbow.py | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 33c43e7..2f37041 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ copyright = u'2014, Vu Nhat Minh' # built documents. # # The short X.Y version. -version = '0.6.7' +version = '0.6.8' # The full version, including alpha/beta/rc tags. -release = '0.6.7' +release = '0.6.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/rainbowstream/py3patch.py b/rainbowstream/py3patch.py index 616465e..153d10d 100644 --- a/rainbowstream/py3patch.py +++ b/rainbowstream/py3patch.py @@ -28,4 +28,3 @@ else: raw_input = input lmap = lambda f, a: list(map(f, a)) unc = lambda x: x - diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index b0e8e1d..c66ae9a 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -1742,7 +1742,7 @@ def stream(domain, args, name='Rainbow Stream'): # 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'])) diff --git a/setup.py b/setup.py index 636e6aa..48949bc 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import os import os.path # Bumped version -version = '0.6.7' +version = '0.6.8' # Require install_requires = [ -- 2.25.1