fix cursor rendering
refactoring
fix new command
add window
add error message
remove window
use ex-info
refactoring buffer
rename files
remove record