qutebrowser: Fix external textbox editor

Fixed text not flowing to the external (nvim) editor and saved text not
being brought back into qutebrowser.
Same issue as here https://github.com/qutebrowser/qutebrowser/issues/6707
it essentially amounts to the terminal not having its own running
process id which qutebrowser uses to know when the application closes.
Thus, it thinks it closes immediately and deletes the temporary file. No
changes are brought back and the file is empty for the editor.
With the fix, this does not happen anymore.
This commit is contained in:
Marty Oehme 2023-03-09 21:17:24 +01:00
parent 9d449af08b
commit c59b617da5
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -18,6 +18,7 @@ c.hints.uppercase = True
c.editor.command = [ c.editor.command = [
term, term,
"start", "start",
"--always-new-process",
"nvim", "nvim",
"-f", "-f",
"{file}", "{file}",
@ -62,7 +63,6 @@ c.colors.webpage.bg = "#555555"
# Prevents *all* tabs from being loaded on restore, only loads on activating them # Prevents *all* tabs from being loaded on restore, only loads on activating them
c.session.lazy_restore = True c.session.lazy_restore = True
# for code_select.py userscript # for code_select.py userscript
# Allows copying code sections to clipboard easily # Allows copying code sections to clipboard easily
c.hints.selectors["code"] = [ c.hints.selectors["code"] = [