We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1e5cc5 commit 9c7c61fCopy full SHA for 9c7c61f
extrakto_plugin.py
@@ -257,7 +257,7 @@ def has_single_pane(self):
257
258
def get_next_mode(self, next):
259
if next == "initial":
260
- return os.environ.get("extrakto_inital_mode", self.modes_list[0])
+ return os.environ.get("extrakto_inital_mode").strip() or self.modes_list[0]
261
else:
262
return self.next_mode[next]
263
@@ -313,7 +313,8 @@ def capture(self):
313
],
314
get_cap(mode, self.capture_panes()),
315
)
316
- except Exception as _:
+ except Exception as e:
317
+ print(e)
318
print("error: unable to extract - check/report errors above")
319
print("You can also set the fzf path in options (see readme).")
320
input()
0 commit comments