Created
May 13, 2026 18:23
-
-
Save paaloeye/2162f0105e77c965f7b5d96ea08e8c9c to your computer and use it in GitHub Desktop.
I'm feeling lucky with Claude and Ghostty
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tell application "Ghostty" | |
| set win to front window | |
| -- target pane 2 (adjust index to your Claude Code split) | |
| set claudePane to terminal 3 of selected tab of win | |
| repeat 2000 times -- cap iterations to avoid runaway | |
| # input text "1" to claudePane | |
| send key "enter" to claudePane | |
| delay 5 | |
| end repeat | |
| end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment