Tag Info

New answers tagged


As far as I know, the definition what is a word depends on the current locale settings. The readline man page (bash uses readline for input handling) says: Words are composed of alphanumeric characters (letters and digits).


It was coming from my use of colors. I was using the following strings to colorise my text: class colors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' I added \001 and \002 characters, and now, it works! class colors: HEADER = '\001\033[95m\002' OKBLUE ...

Top 50 recent answers are included