* window.h (struct window): Prefer enum text_cursor_kinds to int