remove tail char output when print event by print(e)

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>