summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-04 06:39:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-04 06:39:40 +0000
commit82aa43407ca3f4096ec2be2a13869fb584775952 (patch)
tree5e009b577bd7b9697c371226c3f453309384e6e4 /sample
parentde8eb56e8851cef0c7aec56594531589f5580a7a (diff)
downloadruby-82aa43407ca3f4096ec2be2a13869fb584775952.tar.gz
win32: VT100 escape
* win32/win32.c (constat_apply): apply VT100 functions. [ruby-core:44958] [Feature #6418] * win32/win32.c (constat_parse): parse some VT100 escape sequence. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rwxr-xr-xsample/test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb
index 3e73be93b6..b32a16430a 100755
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -15,7 +15,6 @@ PROGRESS.instance_eval do
@rotator = %w[- \\ | /]
@bs = "\b" * @rotator[0].size
@tty = STDERR.tty? && /dumb/ !~ ENV["TERM"]
- @tty &&= /mswin|mingw/ !~ RUBY_PLATFORM
case @color
when nil
@color = @tty