10 Oct
2008
10 Oct
'08
3:03 a.m.
gwern0@gmail.com wrote (08 Oct 2008 20:54:18 GMT) :
* Prompt.hs: have historyCompletion filter dupes Specifically, it calls deleteConsecutiveDuplicates on the end product. uniqSort reverses order in an unfortunate way, so we don't use that. The use-case is when a user has added the same input many times - as it stands, if the history records 30 'top's or whatever, the completion will show 30 'top' entries! This fixes that.
Fixing this annoyance would make me happy. Bye, -- intrigeri <intrigeri@boum.org> | gnupg key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc | Do not be trapped by the need to achieve anything. | This way, you achieve everything.