metadata
authorOrakaro <nhatminh_179@hotmail.com>
Thu, 29 May 2014 14:01:35 +0000 (23:01 +0900)
committerOrakaro <nhatminh_179@hotmail.com>
Thu, 29 May 2014 14:01:35 +0000 (23:01 +0900)
rainbowstream/interactive.py

index 69efa54..dccd004 100644 (file)
@@ -36,6 +36,9 @@ def init_interactive_shell(set):
     """
     readline.set_completer(RainbowCompleter(set).complete)
     readline.parse_and_bind('set editing-mode vi')
+    readline.parse_and_bind("set input-meta on")
+    readline.parse_and_bind("set convert-meta off")
+    readline.parse_and_bind("set output-meta on")
     if 'libedit' in readline.__doc__:
         readline.parse_and_bind("bind ^I rl_complete")
     else: