This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug cli/15548] Limit completions to a pre-defined limit when completions list is very large


http://sourceware.org/bugzilla/show_bug.cgi?id=15548

--- Comment #2 from dje at google dot com ---
One problem I see with implementing this (and hopefully I'm either wrong or
will be easy to fix) is that readline doesn't work the way we want it to for
this purpose.  readline first finds all completions and *then* asks if the user
wants to see them all.  Instead, we need readline to, say, first fetch the
first N+1 items, and then if it returns N+1 then ask the user if s/he wants to
see them all (or the next N, or whatever).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]