Commit 38d49ef
committed
refactor: remove printMode in favor of Ink-only streaming
Print Mode (direct stdout.write) conflicts with Ink's terminal control
and provides no real benefit over Ink Mode's real-time Markdown rendering.
A proper non-interactive mode (like Claude Code's -p flag) would bypass
Ink entirely rather than mixing stdout.write within the React tree.
Removed: printMode prop, stdout.write branches, printMode state.1 parent 21b634a commit 38d49ef
2 files changed
Lines changed: 5 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | | - | |
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
| |||
135 | 132 | | |
136 | 133 | | |
137 | 134 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 135 | + | |
147 | 136 | | |
148 | 137 | | |
149 | 138 | | |
150 | 139 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | 140 | | |
156 | 141 | | |
157 | 142 | | |
| |||
162 | 147 | | |
163 | 148 | | |
164 | 149 | | |
165 | | - | |
| 150 | + | |
166 | 151 | | |
167 | 152 | | |
168 | 153 | | |
| |||
171 | 156 | | |
172 | 157 | | |
173 | 158 | | |
174 | | - | |
175 | 159 | | |
176 | 160 | | |
177 | 161 | | |
178 | 162 | | |
179 | | - | |
| 163 | + | |
180 | 164 | | |
181 | 165 | | |
182 | 166 | | |
| |||
0 commit comments