Commit 801df8b
committed
Independent Panel: Polish search input and key binding
Sanitize search input by removing control chars (incl. DEL) and truncating at 500 code points; keep Tab/LF/CR intact
Bind keyboard shortcut handler once (remove [collapsed] dependency) to avoid unnecessary rebinds; no behavior change
Motivation: Improve stability for pasted or edge inputs and simplify listener lifecycle without altering the intended UX1 parent 51472c2 commit 801df8b
1 file changed
+15
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
130 | 141 | | |
131 | 142 | | |
132 | 143 | | |
| |||
166 | 177 | | |
167 | 178 | | |
168 | 179 | | |
169 | | - | |
| 180 | + | |
170 | 181 | | |
171 | 182 | | |
172 | 183 | | |
| |||
0 commit comments