We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90392cb commit 230d3f7Copy full SHA for 230d3f7
frontend/src/components/content_value/ContentCli.vue
@@ -522,6 +522,10 @@ const newInputLine = () => {
522
const pop = inputHistory.splice(historyIndex, 1)
523
inputHistory[inputHistory.length - 1] = pop[0]
524
}
525
+ // remove adjacent duplicated history
526
+ if (inputHistory.length > 1 && inputHistory[inputHistory.length - 1] === inputHistory[inputHistory.length - 2]) {
527
+ inputHistory.pop()
528
+ }
529
if (get(inputHistory, inputHistory.length - 1, '')) {
530
historyIndex = inputHistory.length
531
updateCurrentInput('')
0 commit comments