fix(main.js): handle '\' as a symbol to finish input method

close #11