Commit 1ed52b3
committed
refactor(cli): use OpenTUI's built-in onPaste prop instead of custom hook
- Replace useOpentuiPaste hook with onPaste prop on scrollbox component
- Remove custom cli/src/hooks/use-opentui-paste.ts file
- Use more idiomatic OpenTUI pattern for paste handling1 parent 55ff21a commit 1ed52b3
File tree
2 files changed
+15
-50
lines changed- cli/src
- components
- hooks
2 files changed
+15
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
164 | 162 | | |
165 | | - | |
166 | | - | |
| 163 | + | |
| 164 | + | |
167 | 165 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
178 | 175 | | |
179 | 176 | | |
180 | 177 | | |
| |||
785 | 782 | | |
786 | 783 | | |
787 | 784 | | |
| 785 | + | |
788 | 786 | | |
789 | 787 | | |
790 | 788 | | |
| |||
This file was deleted.
0 commit comments