jesseduffield / CodeSlap

Push commands to your terminal console from the comfort of a text editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add setting to only push to a certain application

jesseduffield opened this issue · comments

Given this app is made for pushing commands to the terminal, we should be able to say 'always push to Iterm2'. That way, if we coincidentally had another application focused last, we won't accidentally push to that application.

I'm not sure how to go about this. osascript seemed pretty sluggish when I used it to check the name of the last focused application (hence why that feature isn't here).

ezoic increase your site revenue