Add client preferences

This commit is contained in:
Zed 2019-08-13 19:44:29 +02:00
commit 966b3d5d62
12 changed files with 330 additions and 83 deletions

View file

@ -1,5 +1,5 @@
import parsecfg except Config
import os, net, types, strutils
import net, types, strutils
proc get[T](config: parseCfg.Config; s, v: string; default: T): T =
let val = config.getSectionValue(s, v)