You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Update CLAUDE.md to reflect InputField refactoring
- Remove ink-text-input from technology stack
- Document comprehensive keybindings for custom InputField
- Add note about Ink's backspace/delete key quirk
- Update message styling details with new cat prefix "⏺"
- Clarify multi-line support for both user and cat messages
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
-**Text Editing**: Backspace/Delete (delete before cursor), Ctrl+d (delete at cursor), Ctrl+w (delete word), Ctrl+u (delete to line start), Ctrl+k (delete to line end), Ctrl+l (clear input)
46
+
-**Multi-line Support**: Full cursor navigation and editing across multiple lines
47
+
-**Ink Quirk**: Both `key.backspace` and `key.delete` events represent the physical backspace key
48
+
43
49
### Chat UI Design Patterns
44
50
-**Message Persistence**: Uses Ink's `<Static>` component to render chat history that doesn't re-render
45
51
-**Loading States**: Displays cyan spinner with "Thinking..." during cat response delay
46
52
-**Input Management**: Disables cursor and prevents duplicate submissions during loading
47
53
-**Cat Behavior**: Cat class provides async responses with "ニャー" after 500ms delay
48
-
-**Message Styling**: User messages prefixed with "> " in gray, cat messages in cyan with left padding
49
-
-**Multi-line Support**: User messages use indent utility for proper 2+ line formatting
54
+
-**Message Styling**: User messages prefixed with "> " in gray, cat messages prefixed with "⏺ " in cyan
55
+
-**Multi-line Support**: Both user and cat messages use indent utility for proper 2+ line formatting
50
56
51
57
### Build Process
52
58
The build process creates a standalone executable CLI tool:
0 commit comments