]> njoseph.me Git - nimcoon.git/blobdiff - src/lib.nim
pagination: "n" takes to next page of results
[nimcoon.git] / src / lib.nim
index dd8dcf49f63ddb776d463310a8e94b6568505485..54259e2d9f7d08237c3bb73ec51e30fb9751167a 100644 (file)
@@ -20,6 +20,7 @@ type
   Options* = Table[string, bool]
   SearchResult* = tuple[title: string, url: string]
   CommandLineOptions* = tuple[searchQuery: string, options: Options]
+  SelectionRange* = tuple[begin: int, until: int]
 
 # poEchoCmd can be added to options for debugging
 let processOptions = {poStdErrToStdOut, poUsePath}