Commit cecd256
readline,repl: skip history entries identical to the current line
Skip history entries that are identical to the currently visible line
to improve the user experience.
PR-URL: #31112
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent b6f4e01 commit cecd256Copy full SHA for cecd256
File tree
Expand file treeCollapse file tree
2 files changed
+6
-6
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+6
-6
lines changedOpen diff view settings
Collapse file
+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
702 | 702 | |
703 | 703 | |
704 | 704 | |
705 | | - |
| 705 | + |
| 706 | + |
706 | 707 | |
707 | 708 | |
708 | 709 | |
| ||
721 | 722 | |
722 | 723 | |
723 | 724 | |
724 | | - |
| 725 | + |
| 726 | + |
725 | 727 | |
726 | 728 | |
727 | 729 | |
| 730 | + |
| 731 | + |
728 | 732 | |
729 | 733 | |
730 | 734 | |
|
Collapse file
test/parallel/test-repl-history-navigation.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-history-navigation.js-4Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
138 | 138 | |
139 | 139 | |
140 | 140 | |
141 | | - |
142 | | - |
143 | | - |
144 | 141 | |
145 | | - |
146 | 142 | |
147 | 143 | |
148 | 144 | |
|
0 commit comments