summaryrefslogtreecommitdiff
path: root/bin/coderay
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-06-10 06:51:28 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-06-10 06:51:28 +0200
commit711ce4b2fe98f061b3371e4be787cb6d421714a0 (patch)
tree6c8210decc6a9cc83e4642c3be66f9c28029e409 /bin/coderay
parent5a833b265c5cb918f906fb1047c0dc65e539260f (diff)
downloadcoderay-711ce4b2fe98f061b3371e4be787cb6d421714a0.tar.gz
greatly improve stdout output speed
Diffstat (limited to 'bin/coderay')
-rwxr-xr-xbin/coderay1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/coderay b/bin/coderay
index d78cd57..5c555bf 100755
--- a/bin/coderay
+++ b/bin/coderay
@@ -143,7 +143,6 @@ when 'highlight', nil
if output_file
File.open output_file, 'w'
else
- $stdout.sync = true
$stdout
end
CodeRay.encode(input, input_lang, output_format, :out => file)