Skip to content

Commit

Permalink
fix #2 too many results when language is not english
Browse files Browse the repository at this point in the history
  • Loading branch information
gfody committed Jul 18, 2016
1 parent 090686e commit b0cb723
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified PsGoogle.psd1
Binary file not shown.
2 changes: 1 addition & 1 deletion PsGoogle.psm1
Expand Up @@ -37,7 +37,7 @@ function google([Parameter(Position=0, Mandatory=$true, ValueFromRemainingArgume
if (![string]::isNullOrWhitespace($_.summary)) { write-bold $_.summary }
write-host
}
if (([regex]'>Next</span>').match($raw).success) {
if (([regex]'position:-96px 0;width:71px').match($raw).success) {
write-host "any key for more results, q to quit..`n"
if ([Console]::ReadKey($true).Key -eq "q") { break }
}
Expand Down

0 comments on commit b0cb723

Please sign in to comment.