commit a06892e4e1613b45d17667de6c48ed0526306ef7 from: Omar Polo date: Mon Jun 24 09:36:12 2024 UTC ui: explain why we're not calling minibuffer_confirm commit - 7e435604f2f764fd8c6d63f6240af21b82cd0e01 commit + a06892e4e1613b45d17667de6c48ed0526306ef7 blob - 770df02c5777a367eec451f0d2a622e8478001d9 blob + 5abdb82c949050946f79f355d8ae5cef55993593 --- ui.c +++ ui.c @@ -1542,6 +1542,11 @@ ui_edit_externally(void) while (len > 0 && buf[len-1] == '\n') buf[--len] = '\0'; + /* + * XXX: do not use minibuffer_confirm() since the text could + * have multiple lines and we are not prepared to render them + * in the history navigation. + */ ministate.donefn(buf); exit_minibuffer(); }