about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-11-24 20:03:21 +0100
committerbptato <nincsnevem662@gmail.com>2022-11-24 20:03:21 +0100
commit896489a6c500e28f13d0237ab691622cb5c5114f (patch)
tree91b92da01bc126c2489a3dd083df5f9de06927c6 /src/config
parentee930b0f5a587768d340c4204cf1f2e9fb818c89 (diff)
downloadchawan-896489a6c500e28f13d0237ab691622cb5c5114f.tar.gz
Avoid forking child processes from the main process
Caveat: this breaks piped streams.
Diffstat (limited to 'src/config')
-rw-r--r--src/config/bufferconfig.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/config/bufferconfig.nim b/src/config/bufferconfig.nim
index 984df24e..ee776363 100644
--- a/src/config/bufferconfig.nim
+++ b/src/config/bufferconfig.nim
@@ -7,4 +7,3 @@ type BufferConfig* = ref object
 proc loadBufferConfig*(config: Config): BufferConfig =
   new(result)
   result.userstyle = parseStylesheet(config.stylesheet)
-  zeroMem(addr config[], sizeof(ConfigObj))