Remove activity indicator to prevent title jumping (#309)

This commit is contained in:
Peter Steinberger 2025-07-11 08:22:54 +02:00 committed by GitHub
parent 2c6697ba02
commit b16035b9f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -180,11 +180,11 @@ function parseClaudeStatus(data: string): ActivityStatus | null {
// Format tokens - the input already has 'k' suffix in the regex pattern
// So "6.0" means 6.0k tokens, not 6.0 tokens
const formattedTokens = `${tokens}k`;
// Include indicator + action and stats
displayText = `${indicator} ${action} (${duration}s, ${direction}${formattedTokens})`;
// Include action and stats (without indicator to avoid title jumping)
displayText = `${action} (${duration}s, ${direction}${formattedTokens})`;
} else {
// Simple format without token info
displayText = `${indicator} ${action} (${duration}s)`;
// Simple format without token info (without indicator to avoid title jumping)
displayText = `${action} (${duration}s)`;
}
return {