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 69efa547af175dfb0daea392edd6b06983934e27..dccd004997edcbdb5a07804d73a859af8114e8cd 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: