about summary refs log tree commit diff stats
path: root/src/io/buffer.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-08-03 17:22:01 +0200
committerbptato <nincsnevem662@gmail.com>2022-08-03 17:22:01 +0200
commit94ca8979ffddda23c645c80ff32ae708206bf94b (patch)
tree13ac160de01209b70cbddc5a591fb510826bcbf0 /src/io/buffer.nim
parentad5adef77d2aa285cdfdce9917514c0e12cbc5b1 (diff)
downloadchawan-94ca8979ffddda23c645c80ff32ae708206bf94b.tar.gz
Do not display password on status line
Editing the URL still does.
Diffstat (limited to 'src/io/buffer.nim')
-rw-r--r--src/io/buffer.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/buffer.nim b/src/io/buffer.nim
index 5a475f96..479297d5 100644
--- a/src/io/buffer.nim
+++ b/src/io/buffer.nim
@@ -308,7 +308,7 @@ func getTitle(buffer: Buffer): string =
     if result != "": return result
   if buffer.ispipe:
     return "*pipe*"
-  return $buffer.location
+  return buffer.location.serialize(excludepassword = true)
 
 proc clearDisplay(buffer: Buffer) =
   buffer.prevdisplay = buffer.display