A flashcard app for drilling on spellings of words based on audio recordings
teach_keychord_press = function(chord, key)
	if chord == 'C-n' then
		new_word()
	elseif Cursor_word then
		if chord == 'return' then
			Cursor_word.contents = Cursor_word.lines[1].data
			Cursor_word = nil
		else
			edit.keychord_press(Cursor_word, chord, key)
		end
	end
end