[PATCH v3 1/7] ui: add show-cursor option