From 4af443f7580ac3ceb5bbbc64554b7feb096949b8 Mon Sep 17 00:00:00 2001 From: Jiahao Chen Date: Tue, 14 Apr 2015 22:03:55 -0700 Subject: [PATCH] Hack doc/tabcomplete.jl to work around #10825 --- doc/tabcomplete.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/tabcomplete.jl b/doc/tabcomplete.jl index 3d2db4747b1b5..2dae6744ac99a 100644 --- a/doc/tabcomplete.jl +++ b/doc/tabcomplete.jl @@ -63,8 +63,14 @@ for entry in entries thisline = "" for (i, col) in enumerate(entry) thisline *= rpad(col, maxlen[i], " ") * " " + + #Hack round JuliaLang/julia#10825 + if i==2 && any(x->charwidth(x)==2, collect(col)) + thisline *=" " + end end println(rstrip(thisline)) + if isheader println(underline("-", maxlen)) isheader = false