@cursor[0].text = @cursor[0].text.substr(0, @cursor[1] - 1) + @cursor[0].text.substr(@cursor[1])
@cursor[0].el.nodeValue = @cursor[0].text
@move_cursor [@cursor[0], @cursor[1] - 1]
+ @changed()
return false
when KEY_DELETE
return false unless @cursor?
@cursor[0].text = @cursor[0].text.substr(0, @cursor[1]) + @cursor[0].text.substr(@cursor[1] + 1)
@cursor[0].el.nodeValue = @cursor[0].text
@move_cursor [@cursor[0], @cursor[1]]
+ @changed()
return false
when KEY_ENTER
return false