File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,15 +156,15 @@ The next table demonstrates available API. Left column are `terminal` object pro
156156 </tr>
157157 <tr><td>MODE_PROMPT</td><td>Regular input (COS command)</td></tr>
158158 <tr><td>MODE_SQL</td><td>Input in SQL mode (SQL command)</td></tr>
159- <tr><td>MODE_READ_CHAR </td><td>Prompt issued by COS <code>read c</code> command</td></tr>
160- <tr><td>MODE_CHAR </td><td>Prompt issued by COS <code>read *c</code> command</td></tr>
159+ <tr><td>MODE_READ </td><td>Prompt issued by COS <code>read c</code> command</td></tr>
160+ <tr><td>MODE_READ_CHAR </td><td>Prompt issued by COS <code>read *c</code> command</td></tr>
161161 <tr><td>MODE_SPECIAL</td><td>Special CWT's input (commands like /help, /config etc)</td></tr>
162162</table >
163163
164164The next example demonstrates a way to intercept terminal's input:
165165
166166``` js
167- var iFrame = document .querySelector (" #terminal" );
167+ let iFrame = document .querySelector (" #terminal" );
168168
169169function myInitHandler (terminal ) {
170170 terminal .execute (" set hiddenVariable = 7" , {
You can’t perform that action at this time.
0 commit comments