@cobanalitalha/claude-spinner 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/daemon.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobanalitalha/claude-spinner",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Animated spinners for your Claude Code session",
5
5
  "bin": {
6
6
  "claude-spinner": "bin/claude-spinner.js"
package/src/daemon.js CHANGED
@@ -55,6 +55,7 @@ function resolveTTY() {
55
55
  // macOS: "s003" → "/dev/ttys003" | Linux: "pts/2" → "/dev/pts/2"
56
56
  const ttyPath = ttyName.startsWith('/') ? ttyName
57
57
  : ttyName.startsWith('pts/') ? `/dev/${ttyName}`
58
+ : ttyName.startsWith('tty') ? `/dev/${ttyName}`
58
59
  : `/dev/tty${ttyName}`;
59
60
  if (fs.existsSync(ttyPath)) return ttyPath;
60
61
  }