commit 418394b83f2ec0036a9953fffbf57be5c0ec36e4 from: ale date: Fri Jul 31 00:27:40 2026 UTC Editor: posiciona el cursor al inicio del documento al abrir, no al final TenĂ­a sentido para posts nuevos (arrancar escribiendo al final de un frontmatter ya armado), pero al editar un archivo existente el usuario quiere empezar viendo el principio del documento, no el final. commit - b1bb43919e8bed91acc21b4bb94d0ad9d34e3105 commit + 418394b83f2ec0036a9953fffbf57be5c0ec36e4 blob - 449b1de96f14e7e358f0990b628145392eff0e71 blob + 3a070672b12de3c2289a788ce84b8c814bd3791c --- nezzontli_ctl/screens/editor.py +++ nezzontli_ctl/screens/editor.py @@ -56,7 +56,7 @@ class EditorScreen(ModalScreen[str]): def on_mount(self) -> None: text_area = self.query_one("#editor-textarea", TextArea) text_area.focus() - text_area.cursor_location = text_area.document.end + text_area.cursor_location = (0, 0) self.watch(text_area, "scroll_y", self._sync_preview_scroll) self.run_worker( self._rebuild_preview(self._initial_text), exclusive=True, group="preview"