Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save paaloeye/2162f0105e77c965f7b5d96ea08e8c9c to your computer and use it in GitHub Desktop.

Select an option

Save paaloeye/2162f0105e77c965f7b5d96ea08e8c9c to your computer and use it in GitHub Desktop.
I'm feeling lucky with Claude and Ghostty
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