We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a78032 commit e064edcCopy full SHA for e064edc
easymotion.py
@@ -16,7 +16,13 @@ def get_string_width(s):
16
return width
17
18
def pyshell(cmd):
19
- return os.popen(cmd).read()
+ # Add logging
20
+ with open(os.path.expanduser('~/easymotion.log'), 'a') as log:
21
+ log.write(f"{cmd}\n")
22
+ result = os.popen(cmd).read()
23
+ log.write(f"Result: {result}\n")
24
+ log.write("-" * 40 + "\n")
25
+ return result
26
27
def tmux_pane_id():
28
# Get the ID of the pane that launched this script
0 commit comments