win32console 1.0.8-i386-mswin32 → 1.1.0-i386-mswin32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. data/Console.cpp +15 -0
  2. data/HISTORY_GEM.txt +34 -0
  3. data/README.txt +0 -1
  4. data/{lib/README_GEM.txt → README_GEM.txt} +1 -1
  5. data/Rakefile +5 -5
  6. data/lib/Console.so +0 -0
  7. data/lib/Win32/Console/ANSI.rb +283 -240
  8. data/lib/Win32/Console/api.rb +342 -0
  9. data/lib/Win32/Console/constants.rb +66 -0
  10. data/lib/Win32/Console.rb +77 -675
  11. metadata +10 -114
  12. data/doc/classes/Win32/Console/ANSI/IO.html +0 -220
  13. data/doc/classes/Win32/Console/ANSI/IO.src/M000035.html +0 -32
  14. data/doc/classes/Win32/Console/ANSI/IO.src/M000036.html +0 -205
  15. data/doc/classes/Win32/Console/ANSI/IO.src/M000037.html +0 -40
  16. data/doc/classes/Win32/Console/ANSI/IO.src/M000038.html +0 -25
  17. data/doc/classes/Win32/Console/ANSI.html +0 -103
  18. data/doc/classes/Win32/Console/API.html +0 -758
  19. data/doc/classes/Win32/Console/API.src/M000039.html +0 -27
  20. data/doc/classes/Win32/Console/API.src/M000040.html +0 -27
  21. data/doc/classes/Win32/Console/API.src/M000041.html +0 -27
  22. data/doc/classes/Win32/Console/API.src/M000042.html +0 -32
  23. data/doc/classes/Win32/Console/API.src/M000043.html +0 -32
  24. data/doc/classes/Win32/Console/API.src/M000044.html +0 -28
  25. data/doc/classes/Win32/Console/API.src/M000045.html +0 -26
  26. data/doc/classes/Win32/Console/API.src/M000046.html +0 -26
  27. data/doc/classes/Win32/Console/API.src/M000047.html +0 -27
  28. data/doc/classes/Win32/Console/API.src/M000048.html +0 -30
  29. data/doc/classes/Win32/Console/API.src/M000049.html +0 -29
  30. data/doc/classes/Win32/Console/API.src/M000050.html +0 -27
  31. data/doc/classes/Win32/Console/API.src/M000051.html +0 -28
  32. data/doc/classes/Win32/Console/API.src/M000052.html +0 -30
  33. data/doc/classes/Win32/Console/API.src/M000053.html +0 -27
  34. data/doc/classes/Win32/Console/API.src/M000054.html +0 -29
  35. data/doc/classes/Win32/Console/API.src/M000055.html +0 -29
  36. data/doc/classes/Win32/Console/API.src/M000056.html +0 -28
  37. data/doc/classes/Win32/Console/API.src/M000057.html +0 -27
  38. data/doc/classes/Win32/Console/API.src/M000058.html +0 -47
  39. data/doc/classes/Win32/Console/API.src/M000059.html +0 -32
  40. data/doc/classes/Win32/Console/API.src/M000060.html +0 -47
  41. data/doc/classes/Win32/Console/API.src/M000061.html +0 -34
  42. data/doc/classes/Win32/Console/API.src/M000062.html +0 -32
  43. data/doc/classes/Win32/Console/API.src/M000063.html +0 -32
  44. data/doc/classes/Win32/Console/API.src/M000064.html +0 -35
  45. data/doc/classes/Win32/Console/API.src/M000065.html +0 -26
  46. data/doc/classes/Win32/Console/API.src/M000066.html +0 -27
  47. data/doc/classes/Win32/Console/API.src/M000067.html +0 -29
  48. data/doc/classes/Win32/Console/API.src/M000068.html +0 -27
  49. data/doc/classes/Win32/Console/API.src/M000069.html +0 -27
  50. data/doc/classes/Win32/Console/API.src/M000070.html +0 -28
  51. data/doc/classes/Win32/Console/API.src/M000071.html +0 -27
  52. data/doc/classes/Win32/Console/API.src/M000072.html +0 -26
  53. data/doc/classes/Win32/Console/API.src/M000073.html +0 -27
  54. data/doc/classes/Win32/Console/API.src/M000074.html +0 -31
  55. data/doc/classes/Win32/Console/API.src/M000075.html +0 -27
  56. data/doc/classes/Win32/Console/API.src/M000076.html +0 -32
  57. data/doc/classes/Win32/Console/API.src/M000077.html +0 -27
  58. data/doc/classes/Win32/Console/API.src/M000078.html +0 -32
  59. data/doc/classes/Win32/Console/API.src/M000079.html +0 -32
  60. data/doc/classes/Win32/Console/API.src/M000080.html +0 -32
  61. data/doc/classes/Win32/Console/Constants.html +0 -360
  62. data/doc/classes/Win32/Console.html +0 -650
  63. data/doc/classes/Win32/Console.src/M000001.html +0 -31
  64. data/doc/classes/Win32/Console.src/M000002.html +0 -23
  65. data/doc/classes/Win32/Console.src/M000003.html +0 -23
  66. data/doc/classes/Win32/Console.src/M000004.html +0 -27
  67. data/doc/classes/Win32/Console.src/M000005.html +0 -23
  68. data/doc/classes/Win32/Console.src/M000006.html +0 -28
  69. data/doc/classes/Win32/Console.src/M000007.html +0 -23
  70. data/doc/classes/Win32/Console.src/M000008.html +0 -24
  71. data/doc/classes/Win32/Console.src/M000009.html +0 -44
  72. data/doc/classes/Win32/Console.src/M000010.html +0 -23
  73. data/doc/classes/Win32/Console.src/M000011.html +0 -33
  74. data/doc/classes/Win32/Console.src/M000012.html +0 -26
  75. data/doc/classes/Win32/Console.src/M000013.html +0 -27
  76. data/doc/classes/Win32/Console.src/M000014.html +0 -28
  77. data/doc/classes/Win32/Console.src/M000015.html +0 -23
  78. data/doc/classes/Win32/Console.src/M000016.html +0 -23
  79. data/doc/classes/Win32/Console.src/M000017.html +0 -23
  80. data/doc/classes/Win32/Console.src/M000018.html +0 -29
  81. data/doc/classes/Win32/Console.src/M000019.html +0 -23
  82. data/doc/classes/Win32/Console.src/M000020.html +0 -23
  83. data/doc/classes/Win32/Console.src/M000021.html +0 -28
  84. data/doc/classes/Win32/Console.src/M000022.html +0 -23
  85. data/doc/classes/Win32/Console.src/M000023.html +0 -28
  86. data/doc/classes/Win32/Console.src/M000024.html +0 -35
  87. data/doc/classes/Win32/Console.src/M000025.html +0 -28
  88. data/doc/classes/Win32/Console.src/M000026.html +0 -28
  89. data/doc/classes/Win32/Console.src/M000027.html +0 -28
  90. data/doc/classes/Win32/Console.src/M000028.html +0 -31
  91. data/doc/classes/Win32/Console.src/M000029.html +0 -23
  92. data/doc/classes/Win32/Console.src/M000030.html +0 -23
  93. data/doc/classes/Win32/Console.src/M000031.html +0 -23
  94. data/doc/classes/Win32/Console.src/M000032.html +0 -27
  95. data/doc/classes/Win32/Console.src/M000033.html +0 -27
  96. data/doc/classes/Win32/Console.src/M000034.html +0 -25
  97. data/doc/classes/Win32.html +0 -115
  98. data/doc/created.rid +0 -1
  99. data/doc/files/Console_ANSI_rdoc.html +0 -407
  100. data/doc/files/Console_cpp.html +0 -104
  101. data/doc/files/Console_rdoc.html +0 -964
  102. data/doc/files/lib/Win32/Console/ANSI_rb.html +0 -123
  103. data/doc/files/lib/Win32/Console_rb.html +0 -297
  104. data/doc/fr_class_index.html +0 -32
  105. data/doc/fr_file_index.html +0 -31
  106. data/doc/fr_method_index.html +0 -106
  107. data/doc/index.html +0 -24
  108. data/doc/rdoc-style.css +0 -172
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
2
+ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: win32console
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.8
7
- date: 2006-06-05 00:00:00 -07:00
6
+ version: 1.1.0
7
+ date: 2008-03-17 00:00:00 -07:00
8
8
  summary: A library giving the Win32 console ANSI escape sequence support.
9
9
  require_paths:
10
10
  - lib
@@ -25,11 +25,11 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
25
  platform: i386-mswin32
26
26
  signing_key:
27
27
  cert_chain:
28
+ post_install_message:
28
29
  authors:
29
30
  - Original Library by Gonzalo Garramuno, Gem by Justin Bailey
30
31
  files:
31
32
  - lib/Console.so
32
- - lib/README_GEM.txt
33
33
  - lib/Term
34
34
  - lib/Win32
35
35
  - lib/win32console.rb
@@ -37,6 +37,8 @@ files:
37
37
  - lib/Win32/Console
38
38
  - lib/Win32/Console.rb
39
39
  - lib/Win32/Console/ANSI.rb
40
+ - lib/Win32/Console/api.rb
41
+ - lib/Win32/Console/constants.rb
40
42
  - test/test_cursor.rb
41
43
  - test/test_mouse.rb
42
44
  - test/test_readinput.rb
@@ -44,121 +46,15 @@ files:
44
46
  - test/test_sendevent.rb
45
47
  - test/test_title.rb
46
48
  - test/test_write.rb
47
- - doc/classes
48
- - doc/created.rid
49
- - doc/files
50
- - doc/fr_class_index.html
51
- - doc/fr_file_index.html
52
- - doc/fr_method_index.html
53
- - doc/index.html
54
- - doc/rdoc-style.css
55
- - doc/classes/Win32
56
- - doc/classes/Win32.html
57
- - doc/classes/Win32/Console
58
- - doc/classes/Win32/Console.html
59
- - doc/classes/Win32/Console.src
60
- - doc/classes/Win32/Console/ANSI
61
- - doc/classes/Win32/Console/ANSI.html
62
- - doc/classes/Win32/Console/API.html
63
- - doc/classes/Win32/Console/API.src
64
- - doc/classes/Win32/Console/Constants.html
65
- - doc/classes/Win32/Console/ANSI/IO.html
66
- - doc/classes/Win32/Console/ANSI/IO.src
67
- - doc/classes/Win32/Console/ANSI/IO.src/M000035.html
68
- - doc/classes/Win32/Console/ANSI/IO.src/M000036.html
69
- - doc/classes/Win32/Console/ANSI/IO.src/M000037.html
70
- - doc/classes/Win32/Console/ANSI/IO.src/M000038.html
71
- - doc/classes/Win32/Console/API.src/M000039.html
72
- - doc/classes/Win32/Console/API.src/M000040.html
73
- - doc/classes/Win32/Console/API.src/M000041.html
74
- - doc/classes/Win32/Console/API.src/M000042.html
75
- - doc/classes/Win32/Console/API.src/M000043.html
76
- - doc/classes/Win32/Console/API.src/M000044.html
77
- - doc/classes/Win32/Console/API.src/M000045.html
78
- - doc/classes/Win32/Console/API.src/M000046.html
79
- - doc/classes/Win32/Console/API.src/M000047.html
80
- - doc/classes/Win32/Console/API.src/M000048.html
81
- - doc/classes/Win32/Console/API.src/M000049.html
82
- - doc/classes/Win32/Console/API.src/M000050.html
83
- - doc/classes/Win32/Console/API.src/M000051.html
84
- - doc/classes/Win32/Console/API.src/M000052.html
85
- - doc/classes/Win32/Console/API.src/M000053.html
86
- - doc/classes/Win32/Console/API.src/M000054.html
87
- - doc/classes/Win32/Console/API.src/M000055.html
88
- - doc/classes/Win32/Console/API.src/M000056.html
89
- - doc/classes/Win32/Console/API.src/M000057.html
90
- - doc/classes/Win32/Console/API.src/M000058.html
91
- - doc/classes/Win32/Console/API.src/M000059.html
92
- - doc/classes/Win32/Console/API.src/M000060.html
93
- - doc/classes/Win32/Console/API.src/M000061.html
94
- - doc/classes/Win32/Console/API.src/M000062.html
95
- - doc/classes/Win32/Console/API.src/M000063.html
96
- - doc/classes/Win32/Console/API.src/M000064.html
97
- - doc/classes/Win32/Console/API.src/M000065.html
98
- - doc/classes/Win32/Console/API.src/M000066.html
99
- - doc/classes/Win32/Console/API.src/M000067.html
100
- - doc/classes/Win32/Console/API.src/M000068.html
101
- - doc/classes/Win32/Console/API.src/M000069.html
102
- - doc/classes/Win32/Console/API.src/M000070.html
103
- - doc/classes/Win32/Console/API.src/M000071.html
104
- - doc/classes/Win32/Console/API.src/M000072.html
105
- - doc/classes/Win32/Console/API.src/M000073.html
106
- - doc/classes/Win32/Console/API.src/M000074.html
107
- - doc/classes/Win32/Console/API.src/M000075.html
108
- - doc/classes/Win32/Console/API.src/M000076.html
109
- - doc/classes/Win32/Console/API.src/M000077.html
110
- - doc/classes/Win32/Console/API.src/M000078.html
111
- - doc/classes/Win32/Console/API.src/M000079.html
112
- - doc/classes/Win32/Console/API.src/M000080.html
113
- - doc/classes/Win32/Console.src/M000001.html
114
- - doc/classes/Win32/Console.src/M000002.html
115
- - doc/classes/Win32/Console.src/M000003.html
116
- - doc/classes/Win32/Console.src/M000004.html
117
- - doc/classes/Win32/Console.src/M000005.html
118
- - doc/classes/Win32/Console.src/M000006.html
119
- - doc/classes/Win32/Console.src/M000007.html
120
- - doc/classes/Win32/Console.src/M000008.html
121
- - doc/classes/Win32/Console.src/M000009.html
122
- - doc/classes/Win32/Console.src/M000010.html
123
- - doc/classes/Win32/Console.src/M000011.html
124
- - doc/classes/Win32/Console.src/M000012.html
125
- - doc/classes/Win32/Console.src/M000013.html
126
- - doc/classes/Win32/Console.src/M000014.html
127
- - doc/classes/Win32/Console.src/M000015.html
128
- - doc/classes/Win32/Console.src/M000016.html
129
- - doc/classes/Win32/Console.src/M000017.html
130
- - doc/classes/Win32/Console.src/M000018.html
131
- - doc/classes/Win32/Console.src/M000019.html
132
- - doc/classes/Win32/Console.src/M000020.html
133
- - doc/classes/Win32/Console.src/M000021.html
134
- - doc/classes/Win32/Console.src/M000022.html
135
- - doc/classes/Win32/Console.src/M000023.html
136
- - doc/classes/Win32/Console.src/M000024.html
137
- - doc/classes/Win32/Console.src/M000025.html
138
- - doc/classes/Win32/Console.src/M000026.html
139
- - doc/classes/Win32/Console.src/M000027.html
140
- - doc/classes/Win32/Console.src/M000028.html
141
- - doc/classes/Win32/Console.src/M000029.html
142
- - doc/classes/Win32/Console.src/M000030.html
143
- - doc/classes/Win32/Console.src/M000031.html
144
- - doc/classes/Win32/Console.src/M000032.html
145
- - doc/classes/Win32/Console.src/M000033.html
146
- - doc/classes/Win32/Console.src/M000034.html
147
- - doc/files/Console_ANSI_rdoc.html
148
- - doc/files/Console_cpp.html
149
- - doc/files/Console_rdoc.html
150
- - doc/files/lib
151
- - doc/files/lib/Win32
152
- - doc/files/lib/Win32/Console
153
- - doc/files/lib/Win32/Console_rb.html
154
- - doc/files/lib/Win32/Console/ANSI_rb.html
155
49
  - Console-i386-mswin32.def
156
50
  - Console.cpp
157
51
  - Console.rdoc
158
52
  - Console_ANSI.rdoc
159
53
  - HISTORY.txt
54
+ - HISTORY_GEM.txt
160
55
  - INSTALL.txt
161
56
  - README.txt
57
+ - README_GEM.txt
162
58
  - Rakefile
163
59
  test_files: []
164
60
 
@@ -166,10 +62,10 @@ rdoc_options:
166
62
  - --title
167
63
  - Win32Console Gem -- Gem for Win32::Console Project
168
64
  - --main
169
- - lib/README_GEM.txt
65
+ - README_GEM.txt
170
66
  - --line-numbers
171
67
  extra_rdoc_files:
172
- - lib/README_GEM.txt
68
+ - README_GEM.txt
173
69
  executables: []
174
70
 
175
71
  extensions: []
@@ -1,220 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Win32::Console::ANSI::IO</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <h1>Win32::Console::ANSI::IO <sup class="type-note">(Class)</sup></h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>In:</strong></td>
54
- <td>
55
- <a href="../../../../files/lib\Win32/Console/ANSI_rb.html">
56
- lib\Win32/Console/ANSI.rb
57
- </a>
58
- <br />
59
- </td>
60
- </tr>
61
-
62
- <tr class="top-aligned-row">
63
- <td><strong>Parent:</strong></td>
64
- <td>
65
- <a href="IO.html">
66
- IO
67
- </a>
68
- </td>
69
- </tr>
70
- </table>
71
- </div>
72
- <!-- banner header -->
73
-
74
- <div id="bodyContent">
75
-
76
-
77
- <div id="contextContent">
78
-
79
-
80
-
81
- <div id="method-list">
82
- <h2 class="section-bar">Methods</h2>
83
-
84
- <div class="name-list">
85
- <a href="#M000036">_PrintString</a>&nbsp;&nbsp;
86
- <a href="#M000037">_conv</a>&nbsp;&nbsp;
87
- <a href="#M000035">new</a>&nbsp;&nbsp;
88
- <a href="#M000038">write</a>&nbsp;&nbsp;
89
- </div>
90
- </div>
91
-
92
- <div id="constants-list">
93
- <h2 class="section-bar">Constants</h2>
94
-
95
- <div class="name-list">
96
- <table summary="Constants">
97
- <tr class="top-aligned-row context-row">
98
- <td class="context-item-name">VERSION</td>
99
- <td>=</td>
100
- <td class="context-item-value">'0.04'</td>
101
- </tr>
102
- <tr class="top-aligned-row context-row">
103
- <td class="context-item-name">DEBUG</td>
104
- <td>=</td>
105
- <td class="context-item-value">nil</td>
106
- </tr>
107
- <tr class="top-aligned-row context-row">
108
- <td class="context-item-name">EncodeOk</td>
109
- <td>=</td>
110
- <td class="context-item-value">false</td>
111
- </tr>
112
- <tr class="top-aligned-row context-row">
113
- <td>&nbsp;</td>
114
- <td colspan="2" class="context-item-desc">
115
- @todo: encode is another perl module
116
-
117
- </td>
118
- </tr>
119
- <tr class="top-aligned-row context-row">
120
- <td class="context-item-name">OEM</td>
121
- <td>=</td>
122
- <td class="context-item-value">Win32::Console::OutputCP()</td>
123
- </tr>
124
- </table>
125
- </div>
126
- </div>
127
-
128
-
129
-
130
-
131
-
132
- </div>
133
-
134
-
135
-
136
- <!-- if includes -->
137
- <div id="includes">
138
- <h2 class="section-bar">Included Modules</h2>
139
-
140
- <div id="includes-list">
141
- <span class="include-name"><a href="../Constants.html">Win32::Console::Constants</a></span>
142
- </div>
143
- </div>
144
-
145
-
146
- <!-- if method_list -->
147
- <div id="methods">
148
- <h2 class="section-bar">Public Class methods</h2>
149
-
150
- <div id="method-M000035" class="method-detail">
151
- <a name="M000035"></a>
152
-
153
- <div class="method-heading">
154
- <a href="IO.src/M000035.html" target="Code" class="method-signature"
155
- onclick="popupCode('IO.src/M000035.html');return false;">
156
- <span class="method-name">new</span><span class="method-args">()</span>
157
- </a>
158
- </div>
159
-
160
- <div class="method-description">
161
- </div>
162
- </div>
163
-
164
- <h2 class="section-bar">Public Instance methods</h2>
165
-
166
- <div id="method-M000036" class="method-detail">
167
- <a name="M000036"></a>
168
-
169
- <div class="method-heading">
170
- <a href="IO.src/M000036.html" target="Code" class="method-signature"
171
- onclick="popupCode('IO.src/M000036.html');return false;">
172
- <span class="method-name">_PrintString</span><span class="method-args">(s)</span>
173
- </a>
174
- </div>
175
-
176
- <div class="method-description">
177
- </div>
178
- </div>
179
-
180
- <div id="method-M000037" class="method-detail">
181
- <a name="M000037"></a>
182
-
183
- <div class="method-heading">
184
- <a href="IO.src/M000037.html" target="Code" class="method-signature"
185
- onclick="popupCode('IO.src/M000037.html');return false;">
186
- <span class="method-name">_conv</span><span class="method-args">(s)</span>
187
- </a>
188
- </div>
189
-
190
- <div class="method-description">
191
- </div>
192
- </div>
193
-
194
- <div id="method-M000038" class="method-detail">
195
- <a name="M000038"></a>
196
-
197
- <div class="method-heading">
198
- <a href="IO.src/M000038.html" target="Code" class="method-signature"
199
- onclick="popupCode('IO.src/M000038.html');return false;">
200
- <span class="method-name">write</span><span class="method-args">(*s)</span>
201
- </a>
202
- </div>
203
-
204
- <div class="method-description">
205
- </div>
206
- </div>
207
-
208
-
209
- </div>
210
-
211
-
212
- </div>
213
-
214
-
215
- <div id="validator-badges">
216
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
217
- </div>
218
-
219
- </body>
220
- </html>
@@ -1,32 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "DTD/xhtml1-transitional.dtd">
5
-
6
- <!--
7
-
8
- new (Win32::Console::ANSI::IO)
9
-
10
- -->
11
- <html>
12
- <head>
13
- <title>new (Win32::Console::ANSI::IO)</title>
14
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
- <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
- </head>
17
- <body>
18
- <pre><span class="ruby-comment cmt"># File lib\Win32/Console/ANSI.rb, line 55</span>
19
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
20
- <span class="ruby-keyword kw">super</span>(<span class="ruby-value">1</span>,<span class="ruby-value str">'w'</span>)
21
- <span class="ruby-ivar">@Out</span> = <span class="ruby-constant">Win32</span><span class="ruby-operator">::</span><span class="ruby-constant">Console</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">STD_OUTPUT_HANDLE</span>)
22
- <span class="ruby-ivar">@x</span> = <span class="ruby-ivar">@y</span> = <span class="ruby-value">0</span> <span class="ruby-comment cmt"># to save cursor position</span>
23
- <span class="ruby-ivar">@foreground</span> = <span class="ruby-value">7</span>
24
- <span class="ruby-ivar">@background</span> = <span class="ruby-value">0</span>
25
- <span class="ruby-ivar">@bold</span> =
26
- <span class="ruby-ivar">@underline</span> =
27
- <span class="ruby-ivar">@revideo</span> =
28
- <span class="ruby-ivar">@concealed</span> = <span class="ruby-keyword kw">nil</span>
29
- <span class="ruby-ivar">@conv</span> = <span class="ruby-value">1</span> <span class="ruby-comment cmt"># char conversion by default</span>
30
- <span class="ruby-keyword kw">end</span></pre>
31
- </body>
32
- </html>