X-Git-Url: https://njoseph.me/gitweb/nimcoon.git/blobdiff_plain/811928a79e13b5534aaa08e05f9d3745c9a9023f..e6561dc98ae9f83c63ebf3e14fbefbd6e5264f5d:/src/lib.nim diff --git a/src/lib.nim b/src/lib.nim index 1fa2168..54259e2 100644 --- a/src/lib.nim +++ b/src/lib.nim @@ -20,9 +20,10 @@ 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, poEchoCmd} +let processOptions = {poStdErrToStdOut, poUsePath} proc selectMediaPlayer*(): string = let availablePlayers = filterIt(supportedPlayers, execProcess("which " & it).len != 0)