* fix data race in PromptLen * add lock for all operation in RuneBuffer * add race test * update travis