`tt connect` history contains duplicates
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 113
- Forks
- 18
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 23
Description
In built-in Tarantool console duplicates are excluded from the history while in tt console they aren't. To reproduce the issue, open the console, type some command, e.g. box.info(), then type another command, e.g. box.slab.info(), then repeat the last command a few times (arrow-up + enter), then try to find the previous command - you'll have to do arrow-up as many times as you entered the last command, which is inconvenient.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the tt console command and trace how command history is recorded and recalled. Reproduce the sequence with box.info() and box.slab.info(), repeating the last command with arrow-up and Enter, then verify that repeated entries no longer require extra arrow-up presses to reach the previous distinct command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100