Fix bug that froze vigil while editing a file.
This commit is contained in:
parent
a29b7682c6
commit
fda0c0068b
1 changed files with 3 additions and 3 deletions
|
|
@ -751,9 +751,9 @@ class Screen:
|
||||||
scroll_position[1] + 1)
|
scroll_position[1] + 1)
|
||||||
self._log.log_message([in_green("Editing "), path_colored,
|
self._log.log_message([in_green("Editing "), path_colored,
|
||||||
in_green(f" at line {line_num}...")])
|
in_green(f" at line {line_num}...")])
|
||||||
subprocess.run(f"{self.editor_command} +{line_num} {path}",
|
subprocess.Popen(f"{self.editor_command} +{line_num} {path}",
|
||||||
shell=True, stdout=subprocess.PIPE,
|
shell=True, stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE)
|
stderr=subprocess.PIPE)
|
||||||
|
|
||||||
def toggle_status_style(self):
|
def toggle_status_style(self):
|
||||||
self._summary.toggle_status_style(self._log)
|
self._summary.toggle_status_style(self._log)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue