about summary refs log tree commit diff stats
path: root/src/types/buffersource.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-08-13 17:42:34 +0200
committerbptato <nincsnevem662@gmail.com>2023-08-13 17:54:05 +0200
commitd526deb99e44f2a8d1a9c3eea60676703dd64302 (patch)
treef63689ff7654d14ad9bca182a837b3155b2471a0 /src/types/buffersource.nim
parentf92e30232252deb194596e7c298cc7fcf56517cb (diff)
downloadchawan-d526deb99e44f2a8d1a9c3eea60676703dd64302.tar.gz
Add mailcap, mime.types & misc refactorings
* add mailcap: works with copiousoutput, needsterminal, etc.
* add mime.types (only works with mailcap)
* refactor pipeBuffer
* remove "dispatcher"
* fix bug in directory display where baseurl would not be used
Diffstat (limited to 'src/types/buffersource.nim')
-rw-r--r--src/types/buffersource.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/buffersource.nim b/src/types/buffersource.nim
index 109e8361..9235e07f 100644
--- a/src/types/buffersource.nim
+++ b/src/types/buffersource.nim
@@ -14,7 +14,7 @@ type
   BufferSource* = object
     location*: URL
     contenttype*: Option[string] # override
-    charset*: Option[Charset] # override
+    charset*: Charset # fallback
     case t*: BufferSourceType
     of CLONE:
       clonepid*: Pid