can show chat correctly

1. add input edit, can show chat correctly now