porcupine
porcupine copied to clipboard
detecting file names from git output
Looking at some git output with the run plugin, having output go inside the porcupine window. It's probably not a great idea to abuse the run plugin for git commands, but I thought I'd try it and see how well that works.
git diff --cached
diff --git a/porcupine/plugins/run/no_terminal.py b/porcupine/plugins/run/no_terminal.py
index d56661cfb..29477af1f 100644
--- a/porcupine/plugins/run/no_terminal.py
+++ b/porcupine/plugins/run/no_terminal.py
@@ -35,7 +35,6 @@ def open_file_with_line_number(path: Path, lineno: int) -> None:
tab.textwidget.see("insert")
tab.textwidget.tag_remove("sel", "1.0", "end")
tab.textwidget.tag_add("sel", "insert", "insert lineend")
- tab.textwidget.focus()
The file names aren't clickable.