mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keyserver.c (keyserver_search_prompt): When --with-colons is enabled,
don't try and fit the search output to the screen size - just dump the whole list.
This commit is contained in:
parent
47b4b7f5c3
commit
6920513cb4
2 changed files with 16 additions and 8 deletions
|
@ -624,17 +624,19 @@ keyserver_search_prompt(IOBUF buffer,const char *searchstr)
|
|||
{
|
||||
desc[i]=keyrec->desc;
|
||||
|
||||
if(numlines+keyrec->lines>maxlines)
|
||||
if(!opt.with_colons)
|
||||
{
|
||||
if(show_prompt(desc,i,validcount?count:0,searchstr))
|
||||
break;
|
||||
else
|
||||
numlines=0;
|
||||
if(numlines+keyrec->lines>maxlines)
|
||||
{
|
||||
if(show_prompt(desc,i,validcount?count:0,searchstr))
|
||||
break;
|
||||
else
|
||||
numlines=0;
|
||||
}
|
||||
|
||||
print_keyrec(i+1,keyrec);
|
||||
}
|
||||
|
||||
|
||||
if(!opt.with_colons)
|
||||
print_keyrec(i+1,keyrec);
|
||||
numlines+=keyrec->lines;
|
||||
iobuf_close(keyrec->uidbuf);
|
||||
m_free(keyrec);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue