add buffer close key, cursor column