Skip to content

Commit 82aa434

Browse files
committed
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
1 parent de8eb56 commit 82aa434

File tree

5 files changed

+379
-9
lines changed

5 files changed

+379
-9
lines changed

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Mon Jun 4 15:39:33 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
2+
3+
* win32/win32.c (constat_apply): apply VT100 functions.
4+
[ruby-core:44958] [Feature #6418]
5+
6+
* win32/win32.c (constat_parse): parse some VT100 escape sequence.
7+
18
Mon Jun 4 14:06:12 2012 NAKAMURA Usaku <usa@ruby-lang.org>
29

310
* process.c (rb_exec_err): should preserve errno.

bootstraptest/runner.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ def main
120120
case @color
121121
when nil
122122
@color = @tty && /dumb/ !~ ENV["TERM"]
123-
@color &= /mswin|mingw/ !~ RUBY_PLATFORM
124123
when true
125124
@tty = true
126125
end

lib/test/unit.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,6 @@ def _prepare_run(suites, type)
672672
color = true
673673
when :auto, nil
674674
color = @options[:job_status] == :replace && /dumb/ !~ ENV["TERM"]
675-
color &&= /mswin|mingw/ !~ RUBY_PLATFORM
676675
else
677676
color = false
678677
end

sample/test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
@rotator = %w[- \\ | /]
1616
@bs = "\b" * @rotator[0].size
1717
@tty = STDERR.tty? && /dumb/ !~ ENV["TERM"]
18-
@tty &&= /mswin|mingw/ !~ RUBY_PLATFORM
1918
case @color
2019
when nil
2120
@color = @tty

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy