Commit 66d956c
repl: make autocomplete case-insensitive
This changes autocomplete suggestion filter to ignore input case
allowing for more autosuggest results shown on the screen
Fixes: #41631
PR-URL: #41632
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 931ecfa commit 66d956cCopy full SHA for 66d956c
File tree
Expand file treeCollapse file tree
4 files changed
+138
-64
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
4 files changed
+138
-64
lines changedOpen diff view settings
Collapse file
+11-5Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
94 | 94 | |
95 | 95 | |
96 | 96 | |
| 97 | + |
97 | 98 | |
98 | 99 | |
99 | 100 | |
| ||
1301 | 1302 | |
1302 | 1303 | |
1303 | 1304 | |
1304 | | - |
1305 | 1305 | |
| 1306 | + |
1306 | 1307 | |
1307 | 1308 | |
1308 | 1309 | |
| ||
1545 | 1546 | |
1546 | 1547 | |
1547 | 1548 | |
| 1549 | + |
1548 | 1550 | |
1549 | | - |
1550 | | - |
1551 | | - |
1552 | | - |
| 1551 | + |
| 1552 | + |
| 1553 | + |
| 1554 | + |
| 1555 | + |
| 1556 | + |
| 1557 | + |
| 1558 | + |
1553 | 1559 | |
1554 | 1560 | |
1555 | 1561 | |
|
Collapse file
test/parallel/test-repl-history-navigation.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-history-navigation.js+74-51Lines changed: 74 additions & 51 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
74 | 74 | |
75 | 75 | |
76 | 76 | |
| 77 | + |
77 | 78 | |
78 | 79 | |
79 | 80 | |
| ||
82 | 83 | |
83 | 84 | |
84 | 85 | |
85 | | - |
| 86 | + |
86 | 87 | |
87 | 88 | |
88 | 89 | |
| ||
92 | 93 | |
93 | 94 | |
94 | 95 | |
| 96 | + |
95 | 97 | |
96 | 98 | |
97 | 99 | |
98 | 100 | |
99 | 101 | |
100 | 102 | |
101 | 103 | |
| 104 | + |
102 | 105 | |
103 | 106 | |
104 | 107 | |
| ||
128 | 131 | |
129 | 132 | |
130 | 133 | |
131 | | - |
| 134 | + |
132 | 135 | |
133 | 136 | |
134 | 137 | |
| ||
185 | 188 | |
186 | 189 | |
187 | 190 | |
188 | | - |
| 191 | + |
189 | 192 | |
190 | 193 | |
191 | | - |
| 194 | + |
192 | 195 | |
193 | 196 | |
194 | 197 | |
| ||
236 | 239 | |
237 | 240 | |
238 | 241 | |
239 | | - |
240 | | - |
| 242 | + |
| 243 | + |
241 | 244 | |
242 | | - |
243 | | - |
244 | | - |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
245 | 249 | |
246 | 250 | |
247 | 251 | |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | + |
252 | 256 | |
253 | 257 | |
254 | 258 | |
| ||
326 | 330 | |
327 | 331 | |
328 | 332 | |
329 | | - |
330 | | - |
| 333 | + |
| 334 | + |
331 | 335 | |
332 | 336 | |
333 | 337 | |
| ||
353 | 357 | |
354 | 358 | |
355 | 359 | |
356 | | - |
357 | | - |
| 360 | + |
| 361 | + |
358 | 362 | |
359 | | - |
360 | | - |
| 363 | + |
| 364 | + |
| 365 | + |
| 366 | + |
361 | 367 | |
362 | | - |
| 368 | + |
| 369 | + |
| 370 | + |
363 | 371 | |
364 | 372 | |
365 | | - |
| 373 | + |
| 374 | + |
| 375 | + |
366 | 376 | |
367 | | - |
| 377 | + |
368 | 378 | |
369 | | - |
| 379 | + |
| 380 | + |
| 381 | + |
370 | 382 | |
371 | 383 | |
372 | | - |
| 384 | + |
373 | 385 | |
374 | | - |
375 | | - |
| 386 | + |
| 387 | + |
376 | 388 | |
377 | | - |
| 389 | + |
378 | 390 | |
379 | | - |
| 391 | + |
380 | 392 | |
381 | | - |
382 | | - |
383 | | - |
| 393 | + |
| 394 | + |
| 395 | + |
| 396 | + |
384 | 397 | |
385 | | - |
386 | | - |
| 398 | + |
| 399 | + |
| 400 | + |
| 401 | + |
387 | 402 | |
388 | | - |
| 403 | + |
389 | 404 | |
390 | | - |
| 405 | + |
| 406 | + |
| 407 | + |
391 | 408 | |
392 | | - |
| 409 | + |
393 | 410 | |
394 | | - |
| 411 | + |
| 412 | + |
| 413 | + |
395 | 414 | |
396 | 415 | |
397 | 416 | |
398 | 417 | |
399 | | - |
| 418 | + |
400 | 419 | |
401 | 420 | |
402 | 421 | |
403 | | - |
404 | | - |
405 | | - |
| 422 | + |
| 423 | + |
| 424 | + |
| 425 | + |
406 | 426 | |
407 | | - |
408 | | - |
| 427 | + |
| 428 | + |
409 | 429 | |
410 | | - |
| 430 | + |
411 | 431 | |
412 | | - |
| 432 | + |
413 | 433 | |
414 | | - |
| 434 | + |
415 | 435 | |
416 | 436 | |
417 | | - |
418 | | - |
419 | | - |
| 437 | + |
| 438 | + |
| 439 | + |
| 440 | + |
| 441 | + |
420 | 442 | |
421 | | - |
| 443 | + |
| 444 | + |
422 | 445 | |
423 | | - |
| 446 | + |
424 | 447 | |
425 | 448 | |
426 | 449 | |
|
Collapse file
test/parallel/test-repl-reverse-search.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-reverse-search.js+1-3Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
212 | 212 | |
213 | 213 | |
214 | 214 | |
215 | | - |
216 | | - |
217 | | - |
| 215 | + |
218 | 216 | |
219 | 217 | |
220 | 218 | |
|
Collapse file
test/parallel/test-repl-tab-complete.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-tab-complete.js+52-5Lines changed: 52 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
205 | 205 | |
206 | 206 | |
207 | 207 | |
| 208 | + |
| 209 | + |
| 210 | + |
| 211 | + |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | + |
| 225 | + |
| 226 | + |
| 227 | + |
| 228 | + |
| 229 | + |
| 230 | + |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
208 | 240 | |
209 | 241 | |
210 | 242 | |
| ||
588 | 620 | |
589 | 621 | |
590 | 622 | |
591 | | - |
592 | | - |
| 623 | + |
| 624 | + |
| 625 | + |
| 626 | + |
| 627 | + |
| 628 | + |
| 629 | + |
| 630 | + |
| 631 | + |
| 632 | + |
| 633 | + |
| 634 | + |
| 635 | + |
| 636 | + |
| 637 | + |
| 638 | + |
| 639 | + |
| 640 | + |
| 641 | + |
| 642 | + |
593 | 643 | |
594 | | - |
595 | | - |
596 | | - |
597 | 644 | |
598 | 645 | |
599 | 646 | |
|
0 commit comments