2
0

Terminal.Gui.ConsoleDriver.html 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class ConsoleDriver
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ConsoleDriver
  11. ">
  12. <meta name="generator" content="docfx 2.53.1.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  18. <meta property="docfx:navrel" content="">
  19. <meta property="docfx:tocrel" content="toc.html">
  20. <meta property="docfx:rel" content="../../">
  21. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../../index.html">
  34. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list"></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Terminal.Gui.ConsoleDriver">
  73. <h1 id="Terminal_Gui_ConsoleDriver" data-uid="Terminal.Gui.ConsoleDriver" class="text-break">Class ConsoleDriver
  74. </h1>
  75. <div class="markdown level0 summary">
  76. ConsoleDriver is an abstract class that defines the requirements for a console driver. One implementation if the CursesDriver, and another one uses the .NET Console one.
  77. </div>
  78. <div class="markdown level0 conceptual"></div>
  79. <div class="inheritance">
  80. <h5>Inheritance</h5>
  81. <div class="level0"><span class="xref">System.Object</span></div>
  82. <div class="level1"><span class="xref">ConsoleDriver</span></div>
  83. <div class="level2"><a class="xref" href="Terminal.Gui.CursesDriver.html">CursesDriver</a></div>
  84. </div>
  85. <div class="inheritedMembers">
  86. <h5>Inherited Members</h5>
  87. <div>
  88. <span class="xref">System.Object.Equals(System.Object)</span>
  89. </div>
  90. <div>
  91. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  92. </div>
  93. <div>
  94. <span class="xref">System.Object.GetHashCode()</span>
  95. </div>
  96. <div>
  97. <span class="xref">System.Object.GetType()</span>
  98. </div>
  99. <div>
  100. <span class="xref">System.Object.MemberwiseClone()</span>
  101. </div>
  102. <div>
  103. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  104. </div>
  105. <div>
  106. <span class="xref">System.Object.ToString()</span>
  107. </div>
  108. </div>
  109. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  110. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  111. <h5 id="Terminal_Gui_ConsoleDriver_syntax">Syntax</h5>
  112. <div class="codewrapper">
  113. <pre><code class="lang-csharp hljs">public abstract class ConsoleDriver</code></pre>
  114. </div>
  115. <h3 id="fields">Fields
  116. </h3>
  117. <h4 id="Terminal_Gui_ConsoleDriver_BottomTee" data-uid="Terminal.Gui.ConsoleDriver.BottomTee">BottomTee</h4>
  118. <div class="markdown level1 summary">
  119. The bottom tee.
  120. </div>
  121. <div class="markdown level1 conceptual"></div>
  122. <h5 class="decalaration">Declaration</h5>
  123. <div class="codewrapper">
  124. <pre><code class="lang-csharp hljs">public Rune BottomTee</code></pre>
  125. </div>
  126. <h5 class="fieldValue">Field Value</h5>
  127. <table class="table table-bordered table-striped table-condensed">
  128. <thead>
  129. <tr>
  130. <th>Type</th>
  131. <th>Description</th>
  132. </tr>
  133. </thead>
  134. <tbody>
  135. <tr>
  136. <td><span class="xref">System.Rune</span></td>
  137. <td></td>
  138. </tr>
  139. </tbody>
  140. </table>
  141. <h4 id="Terminal_Gui_ConsoleDriver_Diamond" data-uid="Terminal.Gui.ConsoleDriver.Diamond">Diamond</h4>
  142. <div class="markdown level1 summary">
  143. Diamond character
  144. </div>
  145. <div class="markdown level1 conceptual"></div>
  146. <h5 class="decalaration">Declaration</h5>
  147. <div class="codewrapper">
  148. <pre><code class="lang-csharp hljs">public Rune Diamond</code></pre>
  149. </div>
  150. <h5 class="fieldValue">Field Value</h5>
  151. <table class="table table-bordered table-striped table-condensed">
  152. <thead>
  153. <tr>
  154. <th>Type</th>
  155. <th>Description</th>
  156. </tr>
  157. </thead>
  158. <tbody>
  159. <tr>
  160. <td><span class="xref">System.Rune</span></td>
  161. <td></td>
  162. </tr>
  163. </tbody>
  164. </table>
  165. <h4 id="Terminal_Gui_ConsoleDriver_HLine" data-uid="Terminal.Gui.ConsoleDriver.HLine">HLine</h4>
  166. <div class="markdown level1 summary">
  167. Horizontal line character.
  168. </div>
  169. <div class="markdown level1 conceptual"></div>
  170. <h5 class="decalaration">Declaration</h5>
  171. <div class="codewrapper">
  172. <pre><code class="lang-csharp hljs">public Rune HLine</code></pre>
  173. </div>
  174. <h5 class="fieldValue">Field Value</h5>
  175. <table class="table table-bordered table-striped table-condensed">
  176. <thead>
  177. <tr>
  178. <th>Type</th>
  179. <th>Description</th>
  180. </tr>
  181. </thead>
  182. <tbody>
  183. <tr>
  184. <td><span class="xref">System.Rune</span></td>
  185. <td></td>
  186. </tr>
  187. </tbody>
  188. </table>
  189. <h4 id="Terminal_Gui_ConsoleDriver_LeftTee" data-uid="Terminal.Gui.ConsoleDriver.LeftTee">LeftTee</h4>
  190. <div class="markdown level1 summary">
  191. Left tee
  192. </div>
  193. <div class="markdown level1 conceptual"></div>
  194. <h5 class="decalaration">Declaration</h5>
  195. <div class="codewrapper">
  196. <pre><code class="lang-csharp hljs">public Rune LeftTee</code></pre>
  197. </div>
  198. <h5 class="fieldValue">Field Value</h5>
  199. <table class="table table-bordered table-striped table-condensed">
  200. <thead>
  201. <tr>
  202. <th>Type</th>
  203. <th>Description</th>
  204. </tr>
  205. </thead>
  206. <tbody>
  207. <tr>
  208. <td><span class="xref">System.Rune</span></td>
  209. <td></td>
  210. </tr>
  211. </tbody>
  212. </table>
  213. <h4 id="Terminal_Gui_ConsoleDriver_LLCorner" data-uid="Terminal.Gui.ConsoleDriver.LLCorner">LLCorner</h4>
  214. <div class="markdown level1 summary">
  215. Lower left corner
  216. </div>
  217. <div class="markdown level1 conceptual"></div>
  218. <h5 class="decalaration">Declaration</h5>
  219. <div class="codewrapper">
  220. <pre><code class="lang-csharp hljs">public Rune LLCorner</code></pre>
  221. </div>
  222. <h5 class="fieldValue">Field Value</h5>
  223. <table class="table table-bordered table-striped table-condensed">
  224. <thead>
  225. <tr>
  226. <th>Type</th>
  227. <th>Description</th>
  228. </tr>
  229. </thead>
  230. <tbody>
  231. <tr>
  232. <td><span class="xref">System.Rune</span></td>
  233. <td></td>
  234. </tr>
  235. </tbody>
  236. </table>
  237. <h4 id="Terminal_Gui_ConsoleDriver_LRCorner" data-uid="Terminal.Gui.ConsoleDriver.LRCorner">LRCorner</h4>
  238. <div class="markdown level1 summary">
  239. Lower right corner
  240. </div>
  241. <div class="markdown level1 conceptual"></div>
  242. <h5 class="decalaration">Declaration</h5>
  243. <div class="codewrapper">
  244. <pre><code class="lang-csharp hljs">public Rune LRCorner</code></pre>
  245. </div>
  246. <h5 class="fieldValue">Field Value</h5>
  247. <table class="table table-bordered table-striped table-condensed">
  248. <thead>
  249. <tr>
  250. <th>Type</th>
  251. <th>Description</th>
  252. </tr>
  253. </thead>
  254. <tbody>
  255. <tr>
  256. <td><span class="xref">System.Rune</span></td>
  257. <td></td>
  258. </tr>
  259. </tbody>
  260. </table>
  261. <h4 id="Terminal_Gui_ConsoleDriver_RightTee" data-uid="Terminal.Gui.ConsoleDriver.RightTee">RightTee</h4>
  262. <div class="markdown level1 summary">
  263. Right tee
  264. </div>
  265. <div class="markdown level1 conceptual"></div>
  266. <h5 class="decalaration">Declaration</h5>
  267. <div class="codewrapper">
  268. <pre><code class="lang-csharp hljs">public Rune RightTee</code></pre>
  269. </div>
  270. <h5 class="fieldValue">Field Value</h5>
  271. <table class="table table-bordered table-striped table-condensed">
  272. <thead>
  273. <tr>
  274. <th>Type</th>
  275. <th>Description</th>
  276. </tr>
  277. </thead>
  278. <tbody>
  279. <tr>
  280. <td><span class="xref">System.Rune</span></td>
  281. <td></td>
  282. </tr>
  283. </tbody>
  284. </table>
  285. <h4 id="Terminal_Gui_ConsoleDriver_Stipple" data-uid="Terminal.Gui.ConsoleDriver.Stipple">Stipple</h4>
  286. <div class="markdown level1 summary">
  287. Stipple pattern
  288. </div>
  289. <div class="markdown level1 conceptual"></div>
  290. <h5 class="decalaration">Declaration</h5>
  291. <div class="codewrapper">
  292. <pre><code class="lang-csharp hljs">public Rune Stipple</code></pre>
  293. </div>
  294. <h5 class="fieldValue">Field Value</h5>
  295. <table class="table table-bordered table-striped table-condensed">
  296. <thead>
  297. <tr>
  298. <th>Type</th>
  299. <th>Description</th>
  300. </tr>
  301. </thead>
  302. <tbody>
  303. <tr>
  304. <td><span class="xref">System.Rune</span></td>
  305. <td></td>
  306. </tr>
  307. </tbody>
  308. </table>
  309. <h4 id="Terminal_Gui_ConsoleDriver_TerminalResized" data-uid="Terminal.Gui.ConsoleDriver.TerminalResized">TerminalResized</h4>
  310. <div class="markdown level1 summary">
  311. The handler fired when the terminal is resized.
  312. </div>
  313. <div class="markdown level1 conceptual"></div>
  314. <h5 class="decalaration">Declaration</h5>
  315. <div class="codewrapper">
  316. <pre><code class="lang-csharp hljs">protected Action TerminalResized</code></pre>
  317. </div>
  318. <h5 class="fieldValue">Field Value</h5>
  319. <table class="table table-bordered table-striped table-condensed">
  320. <thead>
  321. <tr>
  322. <th>Type</th>
  323. <th>Description</th>
  324. </tr>
  325. </thead>
  326. <tbody>
  327. <tr>
  328. <td><span class="xref">System.Action</span></td>
  329. <td></td>
  330. </tr>
  331. </tbody>
  332. </table>
  333. <h4 id="Terminal_Gui_ConsoleDriver_TopTee" data-uid="Terminal.Gui.ConsoleDriver.TopTee">TopTee</h4>
  334. <div class="markdown level1 summary">
  335. Top tee
  336. </div>
  337. <div class="markdown level1 conceptual"></div>
  338. <h5 class="decalaration">Declaration</h5>
  339. <div class="codewrapper">
  340. <pre><code class="lang-csharp hljs">public Rune TopTee</code></pre>
  341. </div>
  342. <h5 class="fieldValue">Field Value</h5>
  343. <table class="table table-bordered table-striped table-condensed">
  344. <thead>
  345. <tr>
  346. <th>Type</th>
  347. <th>Description</th>
  348. </tr>
  349. </thead>
  350. <tbody>
  351. <tr>
  352. <td><span class="xref">System.Rune</span></td>
  353. <td></td>
  354. </tr>
  355. </tbody>
  356. </table>
  357. <h4 id="Terminal_Gui_ConsoleDriver_ULCorner" data-uid="Terminal.Gui.ConsoleDriver.ULCorner">ULCorner</h4>
  358. <div class="markdown level1 summary">
  359. Upper left corner
  360. </div>
  361. <div class="markdown level1 conceptual"></div>
  362. <h5 class="decalaration">Declaration</h5>
  363. <div class="codewrapper">
  364. <pre><code class="lang-csharp hljs">public Rune ULCorner</code></pre>
  365. </div>
  366. <h5 class="fieldValue">Field Value</h5>
  367. <table class="table table-bordered table-striped table-condensed">
  368. <thead>
  369. <tr>
  370. <th>Type</th>
  371. <th>Description</th>
  372. </tr>
  373. </thead>
  374. <tbody>
  375. <tr>
  376. <td><span class="xref">System.Rune</span></td>
  377. <td></td>
  378. </tr>
  379. </tbody>
  380. </table>
  381. <h4 id="Terminal_Gui_ConsoleDriver_URCorner" data-uid="Terminal.Gui.ConsoleDriver.URCorner">URCorner</h4>
  382. <div class="markdown level1 summary">
  383. Upper right corner
  384. </div>
  385. <div class="markdown level1 conceptual"></div>
  386. <h5 class="decalaration">Declaration</h5>
  387. <div class="codewrapper">
  388. <pre><code class="lang-csharp hljs">public Rune URCorner</code></pre>
  389. </div>
  390. <h5 class="fieldValue">Field Value</h5>
  391. <table class="table table-bordered table-striped table-condensed">
  392. <thead>
  393. <tr>
  394. <th>Type</th>
  395. <th>Description</th>
  396. </tr>
  397. </thead>
  398. <tbody>
  399. <tr>
  400. <td><span class="xref">System.Rune</span></td>
  401. <td></td>
  402. </tr>
  403. </tbody>
  404. </table>
  405. <h4 id="Terminal_Gui_ConsoleDriver_VLine" data-uid="Terminal.Gui.ConsoleDriver.VLine">VLine</h4>
  406. <div class="markdown level1 summary">
  407. Vertical line character.
  408. </div>
  409. <div class="markdown level1 conceptual"></div>
  410. <h5 class="decalaration">Declaration</h5>
  411. <div class="codewrapper">
  412. <pre><code class="lang-csharp hljs">public Rune VLine</code></pre>
  413. </div>
  414. <h5 class="fieldValue">Field Value</h5>
  415. <table class="table table-bordered table-striped table-condensed">
  416. <thead>
  417. <tr>
  418. <th>Type</th>
  419. <th>Description</th>
  420. </tr>
  421. </thead>
  422. <tbody>
  423. <tr>
  424. <td><span class="xref">System.Rune</span></td>
  425. <td></td>
  426. </tr>
  427. </tbody>
  428. </table>
  429. <h3 id="properties">Properties
  430. </h3>
  431. <a id="Terminal_Gui_ConsoleDriver_Clip_" data-uid="Terminal.Gui.ConsoleDriver.Clip*"></a>
  432. <h4 id="Terminal_Gui_ConsoleDriver_Clip" data-uid="Terminal.Gui.ConsoleDriver.Clip">Clip</h4>
  433. <div class="markdown level1 summary">
  434. Controls the current clipping region that AddRune/AddStr is subject to.
  435. </div>
  436. <div class="markdown level1 conceptual"></div>
  437. <h5 class="decalaration">Declaration</h5>
  438. <div class="codewrapper">
  439. <pre><code class="lang-csharp hljs">public Rect Clip { get; set; }</code></pre>
  440. </div>
  441. <h5 class="propertyValue">Property Value</h5>
  442. <table class="table table-bordered table-striped table-condensed">
  443. <thead>
  444. <tr>
  445. <th>Type</th>
  446. <th>Description</th>
  447. </tr>
  448. </thead>
  449. <tbody>
  450. <tr>
  451. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  452. <td>The clip.</td>
  453. </tr>
  454. </tbody>
  455. </table>
  456. <a id="Terminal_Gui_ConsoleDriver_Cols_" data-uid="Terminal.Gui.ConsoleDriver.Cols*"></a>
  457. <h4 id="Terminal_Gui_ConsoleDriver_Cols" data-uid="Terminal.Gui.ConsoleDriver.Cols">Cols</h4>
  458. <div class="markdown level1 summary">
  459. The current number of columns in the terminal.
  460. </div>
  461. <div class="markdown level1 conceptual"></div>
  462. <h5 class="decalaration">Declaration</h5>
  463. <div class="codewrapper">
  464. <pre><code class="lang-csharp hljs">public abstract int Cols { get; }</code></pre>
  465. </div>
  466. <h5 class="propertyValue">Property Value</h5>
  467. <table class="table table-bordered table-striped table-condensed">
  468. <thead>
  469. <tr>
  470. <th>Type</th>
  471. <th>Description</th>
  472. </tr>
  473. </thead>
  474. <tbody>
  475. <tr>
  476. <td><span class="xref">System.Int32</span></td>
  477. <td></td>
  478. </tr>
  479. </tbody>
  480. </table>
  481. <a id="Terminal_Gui_ConsoleDriver_Rows_" data-uid="Terminal.Gui.ConsoleDriver.Rows*"></a>
  482. <h4 id="Terminal_Gui_ConsoleDriver_Rows" data-uid="Terminal.Gui.ConsoleDriver.Rows">Rows</h4>
  483. <div class="markdown level1 summary">
  484. The current number of rows in the terminal.
  485. </div>
  486. <div class="markdown level1 conceptual"></div>
  487. <h5 class="decalaration">Declaration</h5>
  488. <div class="codewrapper">
  489. <pre><code class="lang-csharp hljs">public abstract int Rows { get; }</code></pre>
  490. </div>
  491. <h5 class="propertyValue">Property Value</h5>
  492. <table class="table table-bordered table-striped table-condensed">
  493. <thead>
  494. <tr>
  495. <th>Type</th>
  496. <th>Description</th>
  497. </tr>
  498. </thead>
  499. <tbody>
  500. <tr>
  501. <td><span class="xref">System.Int32</span></td>
  502. <td></td>
  503. </tr>
  504. </tbody>
  505. </table>
  506. <h3 id="methods">Methods
  507. </h3>
  508. <a id="Terminal_Gui_ConsoleDriver_AddRune_" data-uid="Terminal.Gui.ConsoleDriver.AddRune*"></a>
  509. <h4 id="Terminal_Gui_ConsoleDriver_AddRune_System_Rune_" data-uid="Terminal.Gui.ConsoleDriver.AddRune(System.Rune)">AddRune(Rune)</h4>
  510. <div class="markdown level1 summary">
  511. Adds the specified rune to the display at the current cursor position
  512. </div>
  513. <div class="markdown level1 conceptual"></div>
  514. <h5 class="decalaration">Declaration</h5>
  515. <div class="codewrapper">
  516. <pre><code class="lang-csharp hljs">public abstract void AddRune(Rune rune)</code></pre>
  517. </div>
  518. <h5 class="parameters">Parameters</h5>
  519. <table class="table table-bordered table-striped table-condensed">
  520. <thead>
  521. <tr>
  522. <th>Type</th>
  523. <th>Name</th>
  524. <th>Description</th>
  525. </tr>
  526. </thead>
  527. <tbody>
  528. <tr>
  529. <td><span class="xref">System.Rune</span></td>
  530. <td><span class="parametername">rune</span></td>
  531. <td>Rune to add.</td>
  532. </tr>
  533. </tbody>
  534. </table>
  535. <a id="Terminal_Gui_ConsoleDriver_AddStr_" data-uid="Terminal.Gui.ConsoleDriver.AddStr*"></a>
  536. <h4 id="Terminal_Gui_ConsoleDriver_AddStr_NStack_ustring_" data-uid="Terminal.Gui.ConsoleDriver.AddStr(NStack.ustring)">AddStr(ustring)</h4>
  537. <div class="markdown level1 summary">
  538. Adds the specified
  539. </div>
  540. <div class="markdown level1 conceptual"></div>
  541. <h5 class="decalaration">Declaration</h5>
  542. <div class="codewrapper">
  543. <pre><code class="lang-csharp hljs">public abstract void AddStr(ustring str)</code></pre>
  544. </div>
  545. <h5 class="parameters">Parameters</h5>
  546. <table class="table table-bordered table-striped table-condensed">
  547. <thead>
  548. <tr>
  549. <th>Type</th>
  550. <th>Name</th>
  551. <th>Description</th>
  552. </tr>
  553. </thead>
  554. <tbody>
  555. <tr>
  556. <td><span class="xref">NStack.ustring</span></td>
  557. <td><span class="parametername">str</span></td>
  558. <td>String.</td>
  559. </tr>
  560. </tbody>
  561. </table>
  562. <a id="Terminal_Gui_ConsoleDriver_CookMouse_" data-uid="Terminal.Gui.ConsoleDriver.CookMouse*"></a>
  563. <h4 id="Terminal_Gui_ConsoleDriver_CookMouse" data-uid="Terminal.Gui.ConsoleDriver.CookMouse">CookMouse()</h4>
  564. <div class="markdown level1 summary">
  565. Enables the cooked event processing from the mouse driver
  566. </div>
  567. <div class="markdown level1 conceptual"></div>
  568. <h5 class="decalaration">Declaration</h5>
  569. <div class="codewrapper">
  570. <pre><code class="lang-csharp hljs">public abstract void CookMouse()</code></pre>
  571. </div>
  572. <a id="Terminal_Gui_ConsoleDriver_DrawFrame_" data-uid="Terminal.Gui.ConsoleDriver.DrawFrame*"></a>
  573. <h4 id="Terminal_Gui_ConsoleDriver_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_" data-uid="Terminal.Gui.ConsoleDriver.DrawFrame(Terminal.Gui.Rect,System.Int32,System.Boolean)">DrawFrame(Rect, Int32, Boolean)</h4>
  574. <div class="markdown level1 summary">
  575. Draws a frame on the specified region with the specified padding around the frame.
  576. </div>
  577. <div class="markdown level1 conceptual"></div>
  578. <h5 class="decalaration">Declaration</h5>
  579. <div class="codewrapper">
  580. <pre><code class="lang-csharp hljs">public virtual void DrawFrame(Rect region, int padding, bool fill)</code></pre>
  581. </div>
  582. <h5 class="parameters">Parameters</h5>
  583. <table class="table table-bordered table-striped table-condensed">
  584. <thead>
  585. <tr>
  586. <th>Type</th>
  587. <th>Name</th>
  588. <th>Description</th>
  589. </tr>
  590. </thead>
  591. <tbody>
  592. <tr>
  593. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  594. <td><span class="parametername">region</span></td>
  595. <td>Region where the frame will be drawn..</td>
  596. </tr>
  597. <tr>
  598. <td><span class="xref">System.Int32</span></td>
  599. <td><span class="parametername">padding</span></td>
  600. <td>Padding to add on the sides.</td>
  601. </tr>
  602. <tr>
  603. <td><span class="xref">System.Boolean</span></td>
  604. <td><span class="parametername">fill</span></td>
  605. <td>If set to <code>true</code> it will clear the contents with the current color, otherwise the contents will be left untouched.</td>
  606. </tr>
  607. </tbody>
  608. </table>
  609. <a id="Terminal_Gui_ConsoleDriver_End_" data-uid="Terminal.Gui.ConsoleDriver.End*"></a>
  610. <h4 id="Terminal_Gui_ConsoleDriver_End" data-uid="Terminal.Gui.ConsoleDriver.End">End()</h4>
  611. <div class="markdown level1 summary">
  612. Ends the execution of the console driver.
  613. </div>
  614. <div class="markdown level1 conceptual"></div>
  615. <h5 class="decalaration">Declaration</h5>
  616. <div class="codewrapper">
  617. <pre><code class="lang-csharp hljs">public abstract void End()</code></pre>
  618. </div>
  619. <a id="Terminal_Gui_ConsoleDriver_Init_" data-uid="Terminal.Gui.ConsoleDriver.Init*"></a>
  620. <h4 id="Terminal_Gui_ConsoleDriver_Init_System_Action_" data-uid="Terminal.Gui.ConsoleDriver.Init(System.Action)">Init(Action)</h4>
  621. <div class="markdown level1 summary">
  622. Initializes the driver
  623. </div>
  624. <div class="markdown level1 conceptual"></div>
  625. <h5 class="decalaration">Declaration</h5>
  626. <div class="codewrapper">
  627. <pre><code class="lang-csharp hljs">public abstract void Init(Action terminalResized)</code></pre>
  628. </div>
  629. <h5 class="parameters">Parameters</h5>
  630. <table class="table table-bordered table-striped table-condensed">
  631. <thead>
  632. <tr>
  633. <th>Type</th>
  634. <th>Name</th>
  635. <th>Description</th>
  636. </tr>
  637. </thead>
  638. <tbody>
  639. <tr>
  640. <td><span class="xref">System.Action</span></td>
  641. <td><span class="parametername">terminalResized</span></td>
  642. <td>Method to invoke when the terminal is resized.</td>
  643. </tr>
  644. </tbody>
  645. </table>
  646. <a id="Terminal_Gui_ConsoleDriver_MakeAttribute_" data-uid="Terminal.Gui.ConsoleDriver.MakeAttribute*"></a>
  647. <h4 id="Terminal_Gui_ConsoleDriver_MakeAttribute_Terminal_Gui_Color_Terminal_Gui_Color_" data-uid="Terminal.Gui.ConsoleDriver.MakeAttribute(Terminal.Gui.Color,Terminal.Gui.Color)">MakeAttribute(Color, Color)</h4>
  648. <div class="markdown level1 summary">
  649. Make the attribute for the foreground and background colors.
  650. </div>
  651. <div class="markdown level1 conceptual"></div>
  652. <h5 class="decalaration">Declaration</h5>
  653. <div class="codewrapper">
  654. <pre><code class="lang-csharp hljs">public abstract Attribute MakeAttribute(Color fore, Color back)</code></pre>
  655. </div>
  656. <h5 class="parameters">Parameters</h5>
  657. <table class="table table-bordered table-striped table-condensed">
  658. <thead>
  659. <tr>
  660. <th>Type</th>
  661. <th>Name</th>
  662. <th>Description</th>
  663. </tr>
  664. </thead>
  665. <tbody>
  666. <tr>
  667. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  668. <td><span class="parametername">fore</span></td>
  669. <td>Foreground.</td>
  670. </tr>
  671. <tr>
  672. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  673. <td><span class="parametername">back</span></td>
  674. <td>Background.</td>
  675. </tr>
  676. </tbody>
  677. </table>
  678. <h5 class="returns">Returns</h5>
  679. <table class="table table-bordered table-striped table-condensed">
  680. <thead>
  681. <tr>
  682. <th>Type</th>
  683. <th>Description</th>
  684. </tr>
  685. </thead>
  686. <tbody>
  687. <tr>
  688. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  689. <td></td>
  690. </tr>
  691. </tbody>
  692. </table>
  693. <a id="Terminal_Gui_ConsoleDriver_Move_" data-uid="Terminal.Gui.ConsoleDriver.Move*"></a>
  694. <h4 id="Terminal_Gui_ConsoleDriver_Move_System_Int32_System_Int32_" data-uid="Terminal.Gui.ConsoleDriver.Move(System.Int32,System.Int32)">Move(Int32, Int32)</h4>
  695. <div class="markdown level1 summary">
  696. Moves the cursor to the specified column and row.
  697. </div>
  698. <div class="markdown level1 conceptual"></div>
  699. <h5 class="decalaration">Declaration</h5>
  700. <div class="codewrapper">
  701. <pre><code class="lang-csharp hljs">public abstract void Move(int col, int row)</code></pre>
  702. </div>
  703. <h5 class="parameters">Parameters</h5>
  704. <table class="table table-bordered table-striped table-condensed">
  705. <thead>
  706. <tr>
  707. <th>Type</th>
  708. <th>Name</th>
  709. <th>Description</th>
  710. </tr>
  711. </thead>
  712. <tbody>
  713. <tr>
  714. <td><span class="xref">System.Int32</span></td>
  715. <td><span class="parametername">col</span></td>
  716. <td>Column to move the cursor to.</td>
  717. </tr>
  718. <tr>
  719. <td><span class="xref">System.Int32</span></td>
  720. <td><span class="parametername">row</span></td>
  721. <td>Row to move the cursor to.</td>
  722. </tr>
  723. </tbody>
  724. </table>
  725. <a id="Terminal_Gui_ConsoleDriver_PrepareToRun_" data-uid="Terminal.Gui.ConsoleDriver.PrepareToRun*"></a>
  726. <h4 id="Terminal_Gui_ConsoleDriver_PrepareToRun_Mono_Terminal_MainLoop_System_Action_Terminal_Gui_KeyEvent__System_Action_Terminal_Gui_KeyEvent__System_Action_Terminal_Gui_KeyEvent__System_Action_Terminal_Gui_MouseEvent__" data-uid="Terminal.Gui.ConsoleDriver.PrepareToRun(Mono.Terminal.MainLoop,System.Action{Terminal.Gui.KeyEvent},System.Action{Terminal.Gui.KeyEvent},System.Action{Terminal.Gui.KeyEvent},System.Action{Terminal.Gui.MouseEvent})">PrepareToRun(MainLoop, Action&lt;KeyEvent&gt;, Action&lt;KeyEvent&gt;, Action&lt;KeyEvent&gt;, Action&lt;MouseEvent&gt;)</h4>
  727. <div class="markdown level1 summary">
  728. Prepare the driver and set the key and mouse events handlers.
  729. </div>
  730. <div class="markdown level1 conceptual"></div>
  731. <h5 class="decalaration">Declaration</h5>
  732. <div class="codewrapper">
  733. <pre><code class="lang-csharp hljs">public abstract void PrepareToRun(MainLoop mainLoop, Action&lt;KeyEvent&gt; keyHandler, Action&lt;KeyEvent&gt; keyDownHandler, Action&lt;KeyEvent&gt; keyUpHandler, Action&lt;MouseEvent&gt; mouseHandler)</code></pre>
  734. </div>
  735. <h5 class="parameters">Parameters</h5>
  736. <table class="table table-bordered table-striped table-condensed">
  737. <thead>
  738. <tr>
  739. <th>Type</th>
  740. <th>Name</th>
  741. <th>Description</th>
  742. </tr>
  743. </thead>
  744. <tbody>
  745. <tr>
  746. <td><a class="xref" href="Mono.Terminal.MainLoop.html">MainLoop</a></td>
  747. <td><span class="parametername">mainLoop</span></td>
  748. <td>The main loop.</td>
  749. </tr>
  750. <tr>
  751. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a>&gt;</td>
  752. <td><span class="parametername">keyHandler</span></td>
  753. <td>The handler for ProcessKey</td>
  754. </tr>
  755. <tr>
  756. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a>&gt;</td>
  757. <td><span class="parametername">keyDownHandler</span></td>
  758. <td>The handler for key down events</td>
  759. </tr>
  760. <tr>
  761. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a>&gt;</td>
  762. <td><span class="parametername">keyUpHandler</span></td>
  763. <td>The handler for key up events</td>
  764. </tr>
  765. <tr>
  766. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a>&gt;</td>
  767. <td><span class="parametername">mouseHandler</span></td>
  768. <td>The handler for mouse events</td>
  769. </tr>
  770. </tbody>
  771. </table>
  772. <a id="Terminal_Gui_ConsoleDriver_Refresh_" data-uid="Terminal.Gui.ConsoleDriver.Refresh*"></a>
  773. <h4 id="Terminal_Gui_ConsoleDriver_Refresh" data-uid="Terminal.Gui.ConsoleDriver.Refresh">Refresh()</h4>
  774. <div class="markdown level1 summary">
  775. Updates the screen to reflect all the changes that have been done to the display buffer
  776. </div>
  777. <div class="markdown level1 conceptual"></div>
  778. <h5 class="decalaration">Declaration</h5>
  779. <div class="codewrapper">
  780. <pre><code class="lang-csharp hljs">public abstract void Refresh()</code></pre>
  781. </div>
  782. <a id="Terminal_Gui_ConsoleDriver_SetAttribute_" data-uid="Terminal.Gui.ConsoleDriver.SetAttribute*"></a>
  783. <h4 id="Terminal_Gui_ConsoleDriver_SetAttribute_Terminal_Gui_Attribute_" data-uid="Terminal.Gui.ConsoleDriver.SetAttribute(Terminal.Gui.Attribute)">SetAttribute(Attribute)</h4>
  784. <div class="markdown level1 summary">
  785. Selects the specified attribute as the attribute to use for future calls to AddRune, AddString.
  786. </div>
  787. <div class="markdown level1 conceptual"></div>
  788. <h5 class="decalaration">Declaration</h5>
  789. <div class="codewrapper">
  790. <pre><code class="lang-csharp hljs">public abstract void SetAttribute(Attribute c)</code></pre>
  791. </div>
  792. <h5 class="parameters">Parameters</h5>
  793. <table class="table table-bordered table-striped table-condensed">
  794. <thead>
  795. <tr>
  796. <th>Type</th>
  797. <th>Name</th>
  798. <th>Description</th>
  799. </tr>
  800. </thead>
  801. <tbody>
  802. <tr>
  803. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  804. <td><span class="parametername">c</span></td>
  805. <td>C.</td>
  806. </tr>
  807. </tbody>
  808. </table>
  809. <a id="Terminal_Gui_ConsoleDriver_SetColors_" data-uid="Terminal.Gui.ConsoleDriver.SetColors*"></a>
  810. <h4 id="Terminal_Gui_ConsoleDriver_SetColors_System_ConsoleColor_System_ConsoleColor_" data-uid="Terminal.Gui.ConsoleDriver.SetColors(System.ConsoleColor,System.ConsoleColor)">SetColors(ConsoleColor, ConsoleColor)</h4>
  811. <div class="markdown level1 summary">
  812. Set Colors from limit sets of colors.
  813. </div>
  814. <div class="markdown level1 conceptual"></div>
  815. <h5 class="decalaration">Declaration</h5>
  816. <div class="codewrapper">
  817. <pre><code class="lang-csharp hljs">public abstract void SetColors(ConsoleColor foreground, ConsoleColor background)</code></pre>
  818. </div>
  819. <h5 class="parameters">Parameters</h5>
  820. <table class="table table-bordered table-striped table-condensed">
  821. <thead>
  822. <tr>
  823. <th>Type</th>
  824. <th>Name</th>
  825. <th>Description</th>
  826. </tr>
  827. </thead>
  828. <tbody>
  829. <tr>
  830. <td><span class="xref">System.ConsoleColor</span></td>
  831. <td><span class="parametername">foreground</span></td>
  832. <td>Foreground.</td>
  833. </tr>
  834. <tr>
  835. <td><span class="xref">System.ConsoleColor</span></td>
  836. <td><span class="parametername">background</span></td>
  837. <td>Background.</td>
  838. </tr>
  839. </tbody>
  840. </table>
  841. <a id="Terminal_Gui_ConsoleDriver_SetColors_" data-uid="Terminal.Gui.ConsoleDriver.SetColors*"></a>
  842. <h4 id="Terminal_Gui_ConsoleDriver_SetColors_System_Int16_System_Int16_" data-uid="Terminal.Gui.ConsoleDriver.SetColors(System.Int16,System.Int16)">SetColors(Int16, Int16)</h4>
  843. <div class="markdown level1 summary">
  844. Advanced uses - set colors to any pre-set pairs, you would need to init_color
  845. that independently with the R, G, B values.
  846. </div>
  847. <div class="markdown level1 conceptual"></div>
  848. <h5 class="decalaration">Declaration</h5>
  849. <div class="codewrapper">
  850. <pre><code class="lang-csharp hljs">public abstract void SetColors(short foregroundColorId, short backgroundColorId)</code></pre>
  851. </div>
  852. <h5 class="parameters">Parameters</h5>
  853. <table class="table table-bordered table-striped table-condensed">
  854. <thead>
  855. <tr>
  856. <th>Type</th>
  857. <th>Name</th>
  858. <th>Description</th>
  859. </tr>
  860. </thead>
  861. <tbody>
  862. <tr>
  863. <td><span class="xref">System.Int16</span></td>
  864. <td><span class="parametername">foregroundColorId</span></td>
  865. <td>Foreground color identifier.</td>
  866. </tr>
  867. <tr>
  868. <td><span class="xref">System.Int16</span></td>
  869. <td><span class="parametername">backgroundColorId</span></td>
  870. <td>Background color identifier.</td>
  871. </tr>
  872. </tbody>
  873. </table>
  874. <a id="Terminal_Gui_ConsoleDriver_SetTerminalResized_" data-uid="Terminal.Gui.ConsoleDriver.SetTerminalResized*"></a>
  875. <h4 id="Terminal_Gui_ConsoleDriver_SetTerminalResized_System_Action_" data-uid="Terminal.Gui.ConsoleDriver.SetTerminalResized(System.Action)">SetTerminalResized(Action)</h4>
  876. <div class="markdown level1 summary">
  877. Set the handler when the terminal is resized.
  878. </div>
  879. <div class="markdown level1 conceptual"></div>
  880. <h5 class="decalaration">Declaration</h5>
  881. <div class="codewrapper">
  882. <pre><code class="lang-csharp hljs">public void SetTerminalResized(Action terminalResized)</code></pre>
  883. </div>
  884. <h5 class="parameters">Parameters</h5>
  885. <table class="table table-bordered table-striped table-condensed">
  886. <thead>
  887. <tr>
  888. <th>Type</th>
  889. <th>Name</th>
  890. <th>Description</th>
  891. </tr>
  892. </thead>
  893. <tbody>
  894. <tr>
  895. <td><span class="xref">System.Action</span></td>
  896. <td><span class="parametername">terminalResized</span></td>
  897. <td></td>
  898. </tr>
  899. </tbody>
  900. </table>
  901. <a id="Terminal_Gui_ConsoleDriver_StartReportingMouseMoves_" data-uid="Terminal.Gui.ConsoleDriver.StartReportingMouseMoves*"></a>
  902. <h4 id="Terminal_Gui_ConsoleDriver_StartReportingMouseMoves" data-uid="Terminal.Gui.ConsoleDriver.StartReportingMouseMoves">StartReportingMouseMoves()</h4>
  903. <div class="markdown level1 summary">
  904. Start of mouse moves.
  905. </div>
  906. <div class="markdown level1 conceptual"></div>
  907. <h5 class="decalaration">Declaration</h5>
  908. <div class="codewrapper">
  909. <pre><code class="lang-csharp hljs">public abstract void StartReportingMouseMoves()</code></pre>
  910. </div>
  911. <a id="Terminal_Gui_ConsoleDriver_StopReportingMouseMoves_" data-uid="Terminal.Gui.ConsoleDriver.StopReportingMouseMoves*"></a>
  912. <h4 id="Terminal_Gui_ConsoleDriver_StopReportingMouseMoves" data-uid="Terminal.Gui.ConsoleDriver.StopReportingMouseMoves">StopReportingMouseMoves()</h4>
  913. <div class="markdown level1 summary">
  914. Stop reporting mouses moves.
  915. </div>
  916. <div class="markdown level1 conceptual"></div>
  917. <h5 class="decalaration">Declaration</h5>
  918. <div class="codewrapper">
  919. <pre><code class="lang-csharp hljs">public abstract void StopReportingMouseMoves()</code></pre>
  920. </div>
  921. <a id="Terminal_Gui_ConsoleDriver_Suspend_" data-uid="Terminal.Gui.ConsoleDriver.Suspend*"></a>
  922. <h4 id="Terminal_Gui_ConsoleDriver_Suspend" data-uid="Terminal.Gui.ConsoleDriver.Suspend">Suspend()</h4>
  923. <div class="markdown level1 summary">
  924. Suspend the application, typically needs to save the state, suspend the app and upon return, reset the console driver.
  925. </div>
  926. <div class="markdown level1 conceptual"></div>
  927. <h5 class="decalaration">Declaration</h5>
  928. <div class="codewrapper">
  929. <pre><code class="lang-csharp hljs">public abstract void Suspend()</code></pre>
  930. </div>
  931. <a id="Terminal_Gui_ConsoleDriver_UncookMouse_" data-uid="Terminal.Gui.ConsoleDriver.UncookMouse*"></a>
  932. <h4 id="Terminal_Gui_ConsoleDriver_UncookMouse" data-uid="Terminal.Gui.ConsoleDriver.UncookMouse">UncookMouse()</h4>
  933. <div class="markdown level1 summary">
  934. Disables the cooked event processing from the mouse driver. At startup, it is assumed mouse events are cooked.
  935. </div>
  936. <div class="markdown level1 conceptual"></div>
  937. <h5 class="decalaration">Declaration</h5>
  938. <div class="codewrapper">
  939. <pre><code class="lang-csharp hljs">public abstract void UncookMouse()</code></pre>
  940. </div>
  941. <a id="Terminal_Gui_ConsoleDriver_UpdateCursor_" data-uid="Terminal.Gui.ConsoleDriver.UpdateCursor*"></a>
  942. <h4 id="Terminal_Gui_ConsoleDriver_UpdateCursor" data-uid="Terminal.Gui.ConsoleDriver.UpdateCursor">UpdateCursor()</h4>
  943. <div class="markdown level1 summary">
  944. Updates the location of the cursor position
  945. </div>
  946. <div class="markdown level1 conceptual"></div>
  947. <h5 class="decalaration">Declaration</h5>
  948. <div class="codewrapper">
  949. <pre><code class="lang-csharp hljs">public abstract void UpdateCursor()</code></pre>
  950. </div>
  951. <a id="Terminal_Gui_ConsoleDriver_UpdateScreen_" data-uid="Terminal.Gui.ConsoleDriver.UpdateScreen*"></a>
  952. <h4 id="Terminal_Gui_ConsoleDriver_UpdateScreen" data-uid="Terminal.Gui.ConsoleDriver.UpdateScreen">UpdateScreen()</h4>
  953. <div class="markdown level1 summary">
  954. Redraws the physical screen with the contents that have been queued up via any of the printing commands.
  955. </div>
  956. <div class="markdown level1 conceptual"></div>
  957. <h5 class="decalaration">Declaration</h5>
  958. <div class="codewrapper">
  959. <pre><code class="lang-csharp hljs">public abstract void UpdateScreen()</code></pre>
  960. </div>
  961. </article>
  962. </div>
  963. <div class="hidden-sm col-md-2" role="complementary">
  964. <div class="sideaffix">
  965. <div class="contribution">
  966. <ul class="nav">
  967. </ul>
  968. </div>
  969. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  970. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  971. </nav>
  972. </div>
  973. </div>
  974. </div>
  975. </div>
  976. <footer>
  977. <div class="grad-bottom"></div>
  978. <div class="footer">
  979. <div class="container">
  980. <span class="pull-right">
  981. <a href="#top">Back to top</a>
  982. </span>
  983. <span>Generated by <strong>DocFX</strong></span>
  984. </div>
  985. </div>
  986. </footer>
  987. </div>
  988. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  989. <script type="text/javascript" src="../../styles/docfx.js"></script>
  990. <script type="text/javascript" src="../../styles/main.js"></script>
  991. </body>
  992. </html>