Terminal.Gui.FakeDriver.html 93 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646
  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 FakeDriver
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class FakeDriver
  11. ">
  12. <link rel="shortcut icon" href="../../favicon.ico">
  13. <link rel="stylesheet" href="../../styles/docfx.vendor.min.css">
  14. <link rel="stylesheet" href="../../styles/docfx.css">
  15. <link rel="stylesheet" href="../../styles/main.css">
  16. <meta property="docfx:navrel" content="../../toc.html">
  17. <meta property="docfx:tocrel" content="toc.html">
  18. <meta property="docfx:rel" content="../../">
  19. </head>
  20. <body data-spy="scroll" data-target="#affix" data-offset="120">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../../index.html">
  33. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div class="container body-content">
  54. <div id="search-results">
  55. <div class="search-list">Search Results for <span></span></div>
  56. <div class="sr-items">
  57. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  58. </div>
  59. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  60. </div>
  61. </div>
  62. <div role="main" class="container body-content hide-when-search">
  63. <div class="sidenav hide-when-search">
  64. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  65. <div class="sidetoggle collapse" id="sidetoggle">
  66. <div id="sidetoc"></div>
  67. </div>
  68. </div>
  69. <div class="article row grid-right">
  70. <div class="col-md-10">
  71. <article class="content wrap" id="_content" data-uid="Terminal.Gui.FakeDriver">
  72. <h1 id="Terminal_Gui_FakeDriver" data-uid="Terminal.Gui.FakeDriver" class="text-break">Class FakeDriver
  73. </h1>
  74. <div class="markdown level0 summary">Implements a mock ConsoleDriver for unit testing</div>
  75. <div class="markdown level0 conceptual"></div>
  76. <div class="inheritance">
  77. <h5>Inheritance</h5>
  78. <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
  79. <div class="level1"><a class="xref" href="Terminal.Gui.ConsoleDriver.html">ConsoleDriver</a></div>
  80. <div class="level2"><span class="xref">FakeDriver</span></div>
  81. </div>
  82. <div class="inheritedMembers">
  83. <h5>Inherited Members</h5>
  84. <div>
  85. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_TerminalResized">ConsoleDriver.TerminalResized</a>
  86. </div>
  87. <div>
  88. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_MakePrintable_System_Rune_">ConsoleDriver.MakePrintable(Rune)</a>
  89. </div>
  90. <div>
  91. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_IsValidContent_System_Int32_System_Int32_Terminal_Gui_Rect_">ConsoleDriver.IsValidContent(int, int, Rect)</a>
  92. </div>
  93. <div>
  94. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_CurrentAttribute">ConsoleDriver.CurrentAttribute</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetTerminalResized_System_Action_">ConsoleDriver.SetTerminalResized(Action)</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_DrawWindowTitle_Terminal_Gui_Rect_NStack_ustring_System_Int32_System_Int32_System_Int32_System_Int32_Terminal_Gui_TextAlignment_">ConsoleDriver.DrawWindowTitle(Rect, ustring, int, int, int, int, TextAlignment)</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Diagnostics">ConsoleDriver.Diagnostics</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_DrawWindowFrame_Terminal_Gui_Rect_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_System_Boolean_Terminal_Gui_Border_">ConsoleDriver.DrawWindowFrame(Rect, int, int, int, int, bool, bool, Border)</a>
  107. </div>
  108. <div>
  109. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_">ConsoleDriver.DrawFrame(Rect, int, bool)</a>
  110. </div>
  111. <div>
  112. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Clip">ConsoleDriver.Clip</a>
  113. </div>
  114. <div>
  115. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_HLine">ConsoleDriver.HLine</a>
  116. </div>
  117. <div>
  118. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_VLine">ConsoleDriver.VLine</a>
  119. </div>
  120. <div>
  121. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Stipple">ConsoleDriver.Stipple</a>
  122. </div>
  123. <div>
  124. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Diamond">ConsoleDriver.Diamond</a>
  125. </div>
  126. <div>
  127. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_ULCorner">ConsoleDriver.ULCorner</a>
  128. </div>
  129. <div>
  130. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LLCorner">ConsoleDriver.LLCorner</a>
  131. </div>
  132. <div>
  133. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_URCorner">ConsoleDriver.URCorner</a>
  134. </div>
  135. <div>
  136. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LRCorner">ConsoleDriver.LRCorner</a>
  137. </div>
  138. <div>
  139. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LeftTee">ConsoleDriver.LeftTee</a>
  140. </div>
  141. <div>
  142. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_RightTee">ConsoleDriver.RightTee</a>
  143. </div>
  144. <div>
  145. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_TopTee">ConsoleDriver.TopTee</a>
  146. </div>
  147. <div>
  148. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_BottomTee">ConsoleDriver.BottomTee</a>
  149. </div>
  150. <div>
  151. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Checked">ConsoleDriver.Checked</a>
  152. </div>
  153. <div>
  154. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UnChecked">ConsoleDriver.UnChecked</a>
  155. </div>
  156. <div>
  157. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Selected">ConsoleDriver.Selected</a>
  158. </div>
  159. <div>
  160. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UnSelected">ConsoleDriver.UnSelected</a>
  161. </div>
  162. <div>
  163. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_RightArrow">ConsoleDriver.RightArrow</a>
  164. </div>
  165. <div>
  166. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LeftArrow">ConsoleDriver.LeftArrow</a>
  167. </div>
  168. <div>
  169. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_DownArrow">ConsoleDriver.DownArrow</a>
  170. </div>
  171. <div>
  172. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpArrow">ConsoleDriver.UpArrow</a>
  173. </div>
  174. <div>
  175. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LeftDefaultIndicator">ConsoleDriver.LeftDefaultIndicator</a>
  176. </div>
  177. <div>
  178. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_RightDefaultIndicator">ConsoleDriver.RightDefaultIndicator</a>
  179. </div>
  180. <div>
  181. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LeftBracket">ConsoleDriver.LeftBracket</a>
  182. </div>
  183. <div>
  184. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_RightBracket">ConsoleDriver.RightBracket</a>
  185. </div>
  186. <div>
  187. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_BlocksMeterSegment">ConsoleDriver.BlocksMeterSegment</a>
  188. </div>
  189. <div>
  190. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_ContinuousMeterSegment">ConsoleDriver.ContinuousMeterSegment</a>
  191. </div>
  192. <div>
  193. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_HDLine">ConsoleDriver.HDLine</a>
  194. </div>
  195. <div>
  196. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_VDLine">ConsoleDriver.VDLine</a>
  197. </div>
  198. <div>
  199. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_ULDCorner">ConsoleDriver.ULDCorner</a>
  200. </div>
  201. <div>
  202. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LLDCorner">ConsoleDriver.LLDCorner</a>
  203. </div>
  204. <div>
  205. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_URDCorner">ConsoleDriver.URDCorner</a>
  206. </div>
  207. <div>
  208. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LRDCorner">ConsoleDriver.LRDCorner</a>
  209. </div>
  210. <div>
  211. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_HRLine">ConsoleDriver.HRLine</a>
  212. </div>
  213. <div>
  214. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_VRLine">ConsoleDriver.VRLine</a>
  215. </div>
  216. <div>
  217. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_ULRCorner">ConsoleDriver.ULRCorner</a>
  218. </div>
  219. <div>
  220. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LLRCorner">ConsoleDriver.LLRCorner</a>
  221. </div>
  222. <div>
  223. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_URRCorner">ConsoleDriver.URRCorner</a>
  224. </div>
  225. <div>
  226. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LRRCorner">ConsoleDriver.LRRCorner</a>
  227. </div>
  228. <div>
  229. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_GetAttribute">ConsoleDriver.GetAttribute()</a>
  230. </div>
  231. <div>
  232. <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_InitalizeColorSchemes_System_Boolean_">ConsoleDriver.InitalizeColorSchemes(bool)</a>
  233. </div>
  234. <div>
  235. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
  236. </div>
  237. <div>
  238. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
  239. </div>
  240. <div>
  241. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
  242. </div>
  243. <div>
  244. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
  245. </div>
  246. <div>
  247. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
  248. </div>
  249. <div>
  250. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
  251. </div>
  252. <div>
  253. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
  254. </div>
  255. </div>
  256. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.html">Terminal</a>.<a class="xref" href="Terminal.Gui.html">Gui</a></h6>
  257. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  258. <h5 id="Terminal_Gui_FakeDriver_syntax">Syntax</h5>
  259. <div class="codewrapper">
  260. <pre><code class="lang-csharp hljs">public class FakeDriver : ConsoleDriver</code></pre>
  261. </div>
  262. <h3 id="constructors">Constructors
  263. </h3>
  264. <span class="small pull-right mobile-hide">
  265. <span class="divider">|</span>
  266. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver__ctor.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.%23ctor%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  267. </span>
  268. <span class="small pull-right mobile-hide">
  269. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L84">View Source</a>
  270. </span>
  271. <a id="Terminal_Gui_FakeDriver__ctor_" data-uid="Terminal.Gui.FakeDriver.#ctor*"></a>
  272. <h4 id="Terminal_Gui_FakeDriver__ctor" data-uid="Terminal.Gui.FakeDriver.#ctor">FakeDriver()</h4>
  273. <div class="markdown level1 summary"></div>
  274. <div class="markdown level1 conceptual"></div>
  275. <h5 class="declaration">Declaration</h5>
  276. <div class="codewrapper">
  277. <pre><code class="lang-csharp hljs">public FakeDriver()</code></pre>
  278. </div>
  279. <h3 id="fields">Fields
  280. </h3>
  281. <span class="small pull-right mobile-hide">
  282. <span class="divider">|</span>
  283. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_FakeBehaviors.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.FakeBehaviors%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  284. </span>
  285. <span class="small pull-right mobile-hide">
  286. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L40">View Source</a>
  287. </span>
  288. <h4 id="Terminal_Gui_FakeDriver_FakeBehaviors" data-uid="Terminal.Gui.FakeDriver.FakeBehaviors">FakeBehaviors</h4>
  289. <div class="markdown level1 summary"></div>
  290. <div class="markdown level1 conceptual"></div>
  291. <h5 class="declaration">Declaration</h5>
  292. <div class="codewrapper">
  293. <pre><code class="lang-csharp hljs">public static FakeDriver.Behaviors FakeBehaviors</code></pre>
  294. </div>
  295. <h5 class="fieldValue">Field Value</h5>
  296. <table class="table table-bordered table-condensed">
  297. <thead>
  298. <tr>
  299. <th>Type</th>
  300. <th>Description</th>
  301. </tr>
  302. </thead>
  303. <tbody>
  304. <tr>
  305. <td><a class="xref" href="Terminal.Gui.FakeDriver.html">FakeDriver</a>.<a class="xref" href="Terminal.Gui.FakeDriver.Behaviors.html">Behaviors</a></td>
  306. <td></td>
  307. </tr>
  308. </tbody>
  309. </table>
  310. <h3 id="properties">Properties
  311. </h3>
  312. <span class="small pull-right mobile-hide">
  313. <span class="divider">|</span>
  314. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Clipboard.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Clipboard%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  315. </span>
  316. <span class="small pull-right mobile-hide">
  317. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L53">View Source</a>
  318. </span>
  319. <a id="Terminal_Gui_FakeDriver_Clipboard_" data-uid="Terminal.Gui.FakeDriver.Clipboard*"></a>
  320. <h4 id="Terminal_Gui_FakeDriver_Clipboard" data-uid="Terminal.Gui.FakeDriver.Clipboard">Clipboard</h4>
  321. <div class="markdown level1 summary">Get the operation system clipboard.</div>
  322. <div class="markdown level1 conceptual"></div>
  323. <h5 class="declaration">Declaration</h5>
  324. <div class="codewrapper">
  325. <pre><code class="lang-csharp hljs">public override IClipboard Clipboard { get; }</code></pre>
  326. </div>
  327. <h5 class="propertyValue">Property Value</h5>
  328. <table class="table table-bordered table-condensed">
  329. <thead>
  330. <tr>
  331. <th>Type</th>
  332. <th>Description</th>
  333. </tr>
  334. </thead>
  335. <tbody>
  336. <tr>
  337. <td><a class="xref" href="Terminal.Gui.IClipboard.html">IClipboard</a></td>
  338. <td></td>
  339. </tr>
  340. </tbody>
  341. </table>
  342. <h5 class="overrides">Overrides</h5>
  343. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Clipboard">ConsoleDriver.Clipboard</a></div>
  344. <span class="small pull-right mobile-hide">
  345. <span class="divider">|</span>
  346. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Cols.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Cols%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  347. </span>
  348. <span class="small pull-right mobile-hide">
  349. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L43">View Source</a>
  350. </span>
  351. <a id="Terminal_Gui_FakeDriver_Cols_" data-uid="Terminal.Gui.FakeDriver.Cols*"></a>
  352. <h4 id="Terminal_Gui_FakeDriver_Cols" data-uid="Terminal.Gui.FakeDriver.Cols">Cols</h4>
  353. <div class="markdown level1 summary">The current number of columns in the terminal.</div>
  354. <div class="markdown level1 conceptual"></div>
  355. <h5 class="declaration">Declaration</h5>
  356. <div class="codewrapper">
  357. <pre><code class="lang-csharp hljs">public override int Cols { get; }</code></pre>
  358. </div>
  359. <h5 class="propertyValue">Property Value</h5>
  360. <table class="table table-bordered table-condensed">
  361. <thead>
  362. <tr>
  363. <th>Type</th>
  364. <th>Description</th>
  365. </tr>
  366. </thead>
  367. <tbody>
  368. <tr>
  369. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  370. <td></td>
  371. </tr>
  372. </tbody>
  373. </table>
  374. <h5 class="overrides">Overrides</h5>
  375. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Cols">ConsoleDriver.Cols</a></div>
  376. <span class="small pull-right mobile-hide">
  377. <span class="divider">|</span>
  378. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Contents.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Contents%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  379. </span>
  380. <span class="small pull-right mobile-hide">
  381. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L62">View Source</a>
  382. </span>
  383. <a id="Terminal_Gui_FakeDriver_Contents_" data-uid="Terminal.Gui.FakeDriver.Contents*"></a>
  384. <h4 id="Terminal_Gui_FakeDriver_Contents" data-uid="Terminal.Gui.FakeDriver.Contents">Contents</h4>
  385. <div class="markdown level1 summary">Assists with testing, the format is rows, columns and 3 values on the last column: Rune, Attribute and Dirty Flag</div>
  386. <div class="markdown level1 conceptual"></div>
  387. <h5 class="declaration">Declaration</h5>
  388. <div class="codewrapper">
  389. <pre><code class="lang-csharp hljs">public override int[,,] Contents { get; }</code></pre>
  390. </div>
  391. <h5 class="propertyValue">Property Value</h5>
  392. <table class="table table-bordered table-condensed">
  393. <thead>
  394. <tr>
  395. <th>Type</th>
  396. <th>Description</th>
  397. </tr>
  398. </thead>
  399. <tbody>
  400. <tr>
  401. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[,,]</td>
  402. <td></td>
  403. </tr>
  404. </tbody>
  405. </table>
  406. <h5 class="overrides">Overrides</h5>
  407. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Contents">ConsoleDriver.Contents</a></div>
  408. <span class="small pull-right mobile-hide">
  409. <span class="divider">|</span>
  410. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_EnableConsoleScrolling.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.EnableConsoleScrolling%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  411. </span>
  412. <span class="small pull-right mobile-hide">
  413. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L48">View Source</a>
  414. </span>
  415. <a id="Terminal_Gui_FakeDriver_EnableConsoleScrolling_" data-uid="Terminal.Gui.FakeDriver.EnableConsoleScrolling*"></a>
  416. <h4 id="Terminal_Gui_FakeDriver_EnableConsoleScrolling" data-uid="Terminal.Gui.FakeDriver.EnableConsoleScrolling">EnableConsoleScrolling</h4>
  417. <div class="markdown level1 summary"><p>
  418. If <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a> (the default) the height of the Terminal.Gui application (<a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Rows">Rows</a>)
  419. tracks to the height of the visible console view when the console is resized. In this case
  420. scrolling in the console will be disabled and all <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Rows">Rows</a> will remain visible.
  421. </p>
  422. <p>
  423. If <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> then height of the Terminal.Gui application <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Rows">Rows</a> only tracks
  424. the height of the visible console view when the console is made larger (the application will only grow in height, never shrink).
  425. In this case console scrolling is enabled and the contents (<a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Rows">Rows</a> high) will scroll
  426. as the console scrolls.
  427. </p></div>
  428. <div class="markdown level1 conceptual"></div>
  429. <h5 class="declaration">Declaration</h5>
  430. <div class="codewrapper">
  431. <pre><code class="lang-csharp hljs">[Obsolete(&quot;This API is deprecated&quot;, false)]
  432. public override bool EnableConsoleScrolling { get; set; }</code></pre>
  433. </div>
  434. <h5 class="propertyValue">Property Value</h5>
  435. <table class="table table-bordered table-condensed">
  436. <thead>
  437. <tr>
  438. <th>Type</th>
  439. <th>Description</th>
  440. </tr>
  441. </thead>
  442. <tbody>
  443. <tr>
  444. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  445. <td></td>
  446. </tr>
  447. </tbody>
  448. </table>
  449. <h5 class="overrides">Overrides</h5>
  450. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_EnableConsoleScrolling">ConsoleDriver.EnableConsoleScrolling</a></div>
  451. <h5 id="Terminal_Gui_FakeDriver_EnableConsoleScrolling_remarks">Remarks</h5>
  452. <div class="markdown level1 remarks">NOTE: Changes to Windows Terminal prevents this functionality from working. It only really worked on Windows 'conhost' previously.</div>
  453. <span class="small pull-right mobile-hide">
  454. <span class="divider">|</span>
  455. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_HeightAsBuffer.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.HeightAsBuffer%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  456. </span>
  457. <span class="small pull-right mobile-hide">
  458. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L50">View Source</a>
  459. </span>
  460. <a id="Terminal_Gui_FakeDriver_HeightAsBuffer_" data-uid="Terminal.Gui.FakeDriver.HeightAsBuffer*"></a>
  461. <h4 id="Terminal_Gui_FakeDriver_HeightAsBuffer" data-uid="Terminal.Gui.FakeDriver.HeightAsBuffer">HeightAsBuffer</h4>
  462. <div class="markdown level1 summary">This API is deprecated and has no impact when enabled.</div>
  463. <div class="markdown level1 conceptual"></div>
  464. <h5 class="declaration">Declaration</h5>
  465. <div class="codewrapper">
  466. <pre><code class="lang-csharp hljs">[Obsolete(&quot;This API is deprecated&quot;, false)]
  467. public override bool HeightAsBuffer { get; set; }</code></pre>
  468. </div>
  469. <h5 class="propertyValue">Property Value</h5>
  470. <table class="table table-bordered table-condensed">
  471. <thead>
  472. <tr>
  473. <th>Type</th>
  474. <th>Description</th>
  475. </tr>
  476. </thead>
  477. <tbody>
  478. <tr>
  479. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  480. <td></td>
  481. </tr>
  482. </tbody>
  483. </table>
  484. <h5 class="overrides">Overrides</h5>
  485. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_HeightAsBuffer">ConsoleDriver.HeightAsBuffer</a></div>
  486. <span class="small pull-right mobile-hide">
  487. <span class="divider">|</span>
  488. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Left.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Left%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  489. </span>
  490. <span class="small pull-right mobile-hide">
  491. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L46">View Source</a>
  492. </span>
  493. <a id="Terminal_Gui_FakeDriver_Left_" data-uid="Terminal.Gui.FakeDriver.Left*"></a>
  494. <h4 id="Terminal_Gui_FakeDriver_Left" data-uid="Terminal.Gui.FakeDriver.Left">Left</h4>
  495. <div class="markdown level1 summary">The current left in the terminal.</div>
  496. <div class="markdown level1 conceptual"></div>
  497. <h5 class="declaration">Declaration</h5>
  498. <div class="codewrapper">
  499. <pre><code class="lang-csharp hljs">public override int Left { get; }</code></pre>
  500. </div>
  501. <h5 class="propertyValue">Property Value</h5>
  502. <table class="table table-bordered table-condensed">
  503. <thead>
  504. <tr>
  505. <th>Type</th>
  506. <th>Description</th>
  507. </tr>
  508. </thead>
  509. <tbody>
  510. <tr>
  511. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  512. <td></td>
  513. </tr>
  514. </tbody>
  515. </table>
  516. <h5 class="overrides">Overrides</h5>
  517. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Left">ConsoleDriver.Left</a></div>
  518. <span class="small pull-right mobile-hide">
  519. <span class="divider">|</span>
  520. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Rows.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Rows%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  521. </span>
  522. <span class="small pull-right mobile-hide">
  523. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L44">View Source</a>
  524. </span>
  525. <a id="Terminal_Gui_FakeDriver_Rows_" data-uid="Terminal.Gui.FakeDriver.Rows*"></a>
  526. <h4 id="Terminal_Gui_FakeDriver_Rows" data-uid="Terminal.Gui.FakeDriver.Rows">Rows</h4>
  527. <div class="markdown level1 summary">The current number of rows in the terminal.</div>
  528. <div class="markdown level1 conceptual"></div>
  529. <h5 class="declaration">Declaration</h5>
  530. <div class="codewrapper">
  531. <pre><code class="lang-csharp hljs">public override int Rows { get; }</code></pre>
  532. </div>
  533. <h5 class="propertyValue">Property Value</h5>
  534. <table class="table table-bordered table-condensed">
  535. <thead>
  536. <tr>
  537. <th>Type</th>
  538. <th>Description</th>
  539. </tr>
  540. </thead>
  541. <tbody>
  542. <tr>
  543. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  544. <td></td>
  545. </tr>
  546. </tbody>
  547. </table>
  548. <h5 class="overrides">Overrides</h5>
  549. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Rows">ConsoleDriver.Rows</a></div>
  550. <span class="small pull-right mobile-hide">
  551. <span class="divider">|</span>
  552. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Top.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Top%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  553. </span>
  554. <span class="small pull-right mobile-hide">
  555. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L47">View Source</a>
  556. </span>
  557. <a id="Terminal_Gui_FakeDriver_Top_" data-uid="Terminal.Gui.FakeDriver.Top*"></a>
  558. <h4 id="Terminal_Gui_FakeDriver_Top" data-uid="Terminal.Gui.FakeDriver.Top">Top</h4>
  559. <div class="markdown level1 summary">The current top in the terminal.</div>
  560. <div class="markdown level1 conceptual"></div>
  561. <h5 class="declaration">Declaration</h5>
  562. <div class="codewrapper">
  563. <pre><code class="lang-csharp hljs">public override int Top { get; }</code></pre>
  564. </div>
  565. <h5 class="propertyValue">Property Value</h5>
  566. <table class="table table-bordered table-condensed">
  567. <thead>
  568. <tr>
  569. <th>Type</th>
  570. <th>Description</th>
  571. </tr>
  572. </thead>
  573. <tbody>
  574. <tr>
  575. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  576. <td></td>
  577. </tr>
  578. </tbody>
  579. </table>
  580. <h5 class="overrides">Overrides</h5>
  581. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Top">ConsoleDriver.Top</a></div>
  582. <h3 id="methods">Methods
  583. </h3>
  584. <span class="small pull-right mobile-hide">
  585. <span class="divider">|</span>
  586. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_AddRune_System_Rune_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.AddRune(System.Rune)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  587. </span>
  588. <span class="small pull-right mobile-hide">
  589. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L122">View Source</a>
  590. </span>
  591. <a id="Terminal_Gui_FakeDriver_AddRune_" data-uid="Terminal.Gui.FakeDriver.AddRune*"></a>
  592. <h4 id="Terminal_Gui_FakeDriver_AddRune_System_Rune_" data-uid="Terminal.Gui.FakeDriver.AddRune(System.Rune)">AddRune(Rune)</h4>
  593. <div class="markdown level1 summary">Adds the specified rune to the display at the current cursor position.</div>
  594. <div class="markdown level1 conceptual"></div>
  595. <h5 class="declaration">Declaration</h5>
  596. <div class="codewrapper">
  597. <pre><code class="lang-csharp hljs">public override void AddRune(Rune rune)</code></pre>
  598. </div>
  599. <h5 class="parameters">Parameters</h5>
  600. <table class="table table-bordered table-condensed">
  601. <thead>
  602. <tr>
  603. <th>Type</th>
  604. <th>Name</th>
  605. <th>Description</th>
  606. </tr>
  607. </thead>
  608. <tbody>
  609. <tr>
  610. <td><span class="xref">Rune</span></td>
  611. <td><span class="parametername">rune</span></td>
  612. <td>Rune to add.</td>
  613. </tr>
  614. </tbody>
  615. </table>
  616. <h5 class="overrides">Overrides</h5>
  617. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_AddRune_System_Rune_">ConsoleDriver.AddRune(Rune)</a></div>
  618. <span class="small pull-right mobile-hide">
  619. <span class="divider">|</span>
  620. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_AddStr_NStack_ustring_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.AddStr(NStack.ustring)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  621. </span>
  622. <span class="small pull-right mobile-hide">
  623. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L197">View Source</a>
  624. </span>
  625. <a id="Terminal_Gui_FakeDriver_AddStr_" data-uid="Terminal.Gui.FakeDriver.AddStr*"></a>
  626. <h4 id="Terminal_Gui_FakeDriver_AddStr_NStack_ustring_" data-uid="Terminal.Gui.FakeDriver.AddStr(NStack.ustring)">AddStr(ustring)</h4>
  627. <div class="markdown level1 summary">Adds the <code class="paramref">str</code> to the display at the cursor position.</div>
  628. <div class="markdown level1 conceptual"></div>
  629. <h5 class="declaration">Declaration</h5>
  630. <div class="codewrapper">
  631. <pre><code class="lang-csharp hljs">public override void AddStr(ustring str)</code></pre>
  632. </div>
  633. <h5 class="parameters">Parameters</h5>
  634. <table class="table table-bordered table-condensed">
  635. <thead>
  636. <tr>
  637. <th>Type</th>
  638. <th>Name</th>
  639. <th>Description</th>
  640. </tr>
  641. </thead>
  642. <tbody>
  643. <tr>
  644. <td><span class="xref">ustring</span></td>
  645. <td><span class="parametername">str</span></td>
  646. <td>String.</td>
  647. </tr>
  648. </tbody>
  649. </table>
  650. <h5 class="overrides">Overrides</h5>
  651. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_AddStr_NStack_ustring_">ConsoleDriver.AddStr(ustring)</a></div>
  652. <span class="small pull-right mobile-hide">
  653. <span class="divider">|</span>
  654. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_CookMouse.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.CookMouse%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  655. </span>
  656. <span class="small pull-right mobile-hide">
  657. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L664">View Source</a>
  658. </span>
  659. <a id="Terminal_Gui_FakeDriver_CookMouse_" data-uid="Terminal.Gui.FakeDriver.CookMouse*"></a>
  660. <h4 id="Terminal_Gui_FakeDriver_CookMouse" data-uid="Terminal.Gui.FakeDriver.CookMouse">CookMouse()</h4>
  661. <div class="markdown level1 summary">Enables the cooked event processing from the mouse driver. Not implemented by any driver: See Issue #2300.</div>
  662. <div class="markdown level1 conceptual"></div>
  663. <h5 class="declaration">Declaration</h5>
  664. <div class="codewrapper">
  665. <pre><code class="lang-csharp hljs">public override void CookMouse()</code></pre>
  666. </div>
  667. <h5 class="overrides">Overrides</h5>
  668. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_CookMouse">ConsoleDriver.CookMouse()</a></div>
  669. <span class="small pull-right mobile-hide">
  670. <span class="divider">|</span>
  671. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_End.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.End%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  672. </span>
  673. <span class="small pull-right mobile-hide">
  674. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L203">View Source</a>
  675. </span>
  676. <a id="Terminal_Gui_FakeDriver_End_" data-uid="Terminal.Gui.FakeDriver.End*"></a>
  677. <h4 id="Terminal_Gui_FakeDriver_End" data-uid="Terminal.Gui.FakeDriver.End">End()</h4>
  678. <div class="markdown level1 summary">Ends the execution of the console driver.</div>
  679. <div class="markdown level1 conceptual"></div>
  680. <h5 class="declaration">Declaration</h5>
  681. <div class="codewrapper">
  682. <pre><code class="lang-csharp hljs">public override void End()</code></pre>
  683. </div>
  684. <h5 class="overrides">Overrides</h5>
  685. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_End">ConsoleDriver.End()</a></div>
  686. <span class="small pull-right mobile-hide">
  687. <span class="divider">|</span>
  688. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_EnsureCursorVisibility.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.EnsureCursorVisibility%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  689. </span>
  690. <span class="small pull-right mobile-hide">
  691. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L515">View Source</a>
  692. </span>
  693. <a id="Terminal_Gui_FakeDriver_EnsureCursorVisibility_" data-uid="Terminal.Gui.FakeDriver.EnsureCursorVisibility*"></a>
  694. <h4 id="Terminal_Gui_FakeDriver_EnsureCursorVisibility" data-uid="Terminal.Gui.FakeDriver.EnsureCursorVisibility">EnsureCursorVisibility()</h4>
  695. <div class="markdown level1 summary">Ensure the cursor visibility</div>
  696. <div class="markdown level1 conceptual"></div>
  697. <h5 class="declaration">Declaration</h5>
  698. <div class="codewrapper">
  699. <pre><code class="lang-csharp hljs">public override bool EnsureCursorVisibility()</code></pre>
  700. </div>
  701. <h5 class="returns">Returns</h5>
  702. <table class="table table-bordered table-condensed">
  703. <thead>
  704. <tr>
  705. <th>Type</th>
  706. <th>Description</th>
  707. </tr>
  708. </thead>
  709. <tbody>
  710. <tr>
  711. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  712. <td>true upon success</td>
  713. </tr>
  714. </tbody>
  715. </table>
  716. <h5 class="overrides">Overrides</h5>
  717. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_EnsureCursorVisibility">ConsoleDriver.EnsureCursorVisibility()</a></div>
  718. <span class="small pull-right mobile-hide">
  719. <span class="divider">|</span>
  720. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_FromVKPacketToKConsoleKeyInfo_System_ConsoleKeyInfo_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.FromVKPacketToKConsoleKeyInfo(System.ConsoleKeyInfo)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  721. </span>
  722. <span class="small pull-right mobile-hide">
  723. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L311">View Source</a>
  724. </span>
  725. <a id="Terminal_Gui_FakeDriver_FromVKPacketToKConsoleKeyInfo_" data-uid="Terminal.Gui.FakeDriver.FromVKPacketToKConsoleKeyInfo*"></a>
  726. <h4 id="Terminal_Gui_FakeDriver_FromVKPacketToKConsoleKeyInfo_System_ConsoleKeyInfo_" data-uid="Terminal.Gui.FakeDriver.FromVKPacketToKConsoleKeyInfo(System.ConsoleKeyInfo)">FromVKPacketToKConsoleKeyInfo(ConsoleKeyInfo)</h4>
  727. <div class="markdown level1 summary"></div>
  728. <div class="markdown level1 conceptual"></div>
  729. <h5 class="declaration">Declaration</h5>
  730. <div class="codewrapper">
  731. <pre><code class="lang-csharp hljs">public ConsoleKeyInfo FromVKPacketToKConsoleKeyInfo(ConsoleKeyInfo consoleKeyInfo)</code></pre>
  732. </div>
  733. <h5 class="parameters">Parameters</h5>
  734. <table class="table table-bordered table-condensed">
  735. <thead>
  736. <tr>
  737. <th>Type</th>
  738. <th>Name</th>
  739. <th>Description</th>
  740. </tr>
  741. </thead>
  742. <tbody>
  743. <tr>
  744. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.consolekeyinfo">ConsoleKeyInfo</a></td>
  745. <td><span class="parametername">consoleKeyInfo</span></td>
  746. <td></td>
  747. </tr>
  748. </tbody>
  749. </table>
  750. <h5 class="returns">Returns</h5>
  751. <table class="table table-bordered table-condensed">
  752. <thead>
  753. <tr>
  754. <th>Type</th>
  755. <th>Description</th>
  756. </tr>
  757. </thead>
  758. <tbody>
  759. <tr>
  760. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.consolekeyinfo">ConsoleKeyInfo</a></td>
  761. <td></td>
  762. </tr>
  763. </tbody>
  764. </table>
  765. <span class="small pull-right mobile-hide">
  766. <span class="divider">|</span>
  767. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_GetColors_System_Int32_Terminal_Gui_Color__Terminal_Gui_Color__.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.GetColors(System.Int32%2CTerminal.Gui.Color%40%2CTerminal.Gui.Color%40)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  768. </span>
  769. <span class="small pull-right mobile-hide">
  770. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L608">View Source</a>
  771. </span>
  772. <a id="Terminal_Gui_FakeDriver_GetColors_" data-uid="Terminal.Gui.FakeDriver.GetColors*"></a>
  773. <h4 id="Terminal_Gui_FakeDriver_GetColors_System_Int32_Terminal_Gui_Color__Terminal_Gui_Color__" data-uid="Terminal.Gui.FakeDriver.GetColors(System.Int32,Terminal.Gui.Color@,Terminal.Gui.Color@)">GetColors(int, out Color, out Color)</h4>
  774. <div class="markdown level1 summary">Gets the foreground and background colors based on the value.</div>
  775. <div class="markdown level1 conceptual"></div>
  776. <h5 class="declaration">Declaration</h5>
  777. <div class="codewrapper">
  778. <pre><code class="lang-csharp hljs">public override bool GetColors(int value, out Color foreground, out Color background)</code></pre>
  779. </div>
  780. <h5 class="parameters">Parameters</h5>
  781. <table class="table table-bordered table-condensed">
  782. <thead>
  783. <tr>
  784. <th>Type</th>
  785. <th>Name</th>
  786. <th>Description</th>
  787. </tr>
  788. </thead>
  789. <tbody>
  790. <tr>
  791. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  792. <td><span class="parametername">value</span></td>
  793. <td>The value.</td>
  794. </tr>
  795. <tr>
  796. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  797. <td><span class="parametername">foreground</span></td>
  798. <td>The foreground.</td>
  799. </tr>
  800. <tr>
  801. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  802. <td><span class="parametername">background</span></td>
  803. <td>The background.</td>
  804. </tr>
  805. </tbody>
  806. </table>
  807. <h5 class="returns">Returns</h5>
  808. <table class="table table-bordered table-condensed">
  809. <thead>
  810. <tr>
  811. <th>Type</th>
  812. <th>Description</th>
  813. </tr>
  814. </thead>
  815. <tbody>
  816. <tr>
  817. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  818. <td></td>
  819. </tr>
  820. </tbody>
  821. </table>
  822. <h5 class="overrides">Overrides</h5>
  823. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_GetColors_System_Int32_Terminal_Gui_Color__Terminal_Gui_Color__">ConsoleDriver.GetColors(int, out Color, out Color)</a></div>
  824. <span class="small pull-right mobile-hide">
  825. <span class="divider">|</span>
  826. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_GetCursorVisibility_Terminal_Gui_CursorVisibility__.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.GetCursorVisibility(Terminal.Gui.CursorVisibility%40)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  827. </span>
  828. <span class="small pull-right mobile-hide">
  829. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L498">View Source</a>
  830. </span>
  831. <a id="Terminal_Gui_FakeDriver_GetCursorVisibility_" data-uid="Terminal.Gui.FakeDriver.GetCursorVisibility*"></a>
  832. <h4 id="Terminal_Gui_FakeDriver_GetCursorVisibility_Terminal_Gui_CursorVisibility__" data-uid="Terminal.Gui.FakeDriver.GetCursorVisibility(Terminal.Gui.CursorVisibility@)">GetCursorVisibility(out CursorVisibility)</h4>
  833. <div class="markdown level1 summary">Retreive the cursor caret visibility</div>
  834. <div class="markdown level1 conceptual"></div>
  835. <h5 class="declaration">Declaration</h5>
  836. <div class="codewrapper">
  837. <pre><code class="lang-csharp hljs">public override bool GetCursorVisibility(out CursorVisibility visibility)</code></pre>
  838. </div>
  839. <h5 class="parameters">Parameters</h5>
  840. <table class="table table-bordered table-condensed">
  841. <thead>
  842. <tr>
  843. <th>Type</th>
  844. <th>Name</th>
  845. <th>Description</th>
  846. </tr>
  847. </thead>
  848. <tbody>
  849. <tr>
  850. <td><a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
  851. <td><span class="parametername">visibility</span></td>
  852. <td>The current <a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
  853. </tr>
  854. </tbody>
  855. </table>
  856. <h5 class="returns">Returns</h5>
  857. <table class="table table-bordered table-condensed">
  858. <thead>
  859. <tr>
  860. <th>Type</th>
  861. <th>Description</th>
  862. </tr>
  863. </thead>
  864. <tbody>
  865. <tr>
  866. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  867. <td>true upon success</td>
  868. </tr>
  869. </tbody>
  870. </table>
  871. <h5 class="overrides">Overrides</h5>
  872. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_GetCursorVisibility_Terminal_Gui_CursorVisibility__">ConsoleDriver.GetCursorVisibility(out CursorVisibility)</a></div>
  873. <span class="small pull-right mobile-hide">
  874. <span class="divider">|</span>
  875. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Init_System_Action_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Init(System.Action)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  876. </span>
  877. <span class="small pull-right mobile-hide">
  878. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L224">View Source</a>
  879. </span>
  880. <a id="Terminal_Gui_FakeDriver_Init_" data-uid="Terminal.Gui.FakeDriver.Init*"></a>
  881. <h4 id="Terminal_Gui_FakeDriver_Init_System_Action_" data-uid="Terminal.Gui.FakeDriver.Init(System.Action)">Init(Action)</h4>
  882. <div class="markdown level1 summary">Initializes the driver</div>
  883. <div class="markdown level1 conceptual"></div>
  884. <h5 class="declaration">Declaration</h5>
  885. <div class="codewrapper">
  886. <pre><code class="lang-csharp hljs">public override void Init(Action terminalResized)</code></pre>
  887. </div>
  888. <h5 class="parameters">Parameters</h5>
  889. <table class="table table-bordered table-condensed">
  890. <thead>
  891. <tr>
  892. <th>Type</th>
  893. <th>Name</th>
  894. <th>Description</th>
  895. </tr>
  896. </thead>
  897. <tbody>
  898. <tr>
  899. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></td>
  900. <td><span class="parametername">terminalResized</span></td>
  901. <td>Method to invoke when the terminal is resized.</td>
  902. </tr>
  903. </tbody>
  904. </table>
  905. <h5 class="overrides">Overrides</h5>
  906. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Init_System_Action_">ConsoleDriver.Init(Action)</a></div>
  907. <span class="small pull-right mobile-hide">
  908. <span class="divider">|</span>
  909. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_MakeAttribute_Terminal_Gui_Color_Terminal_Gui_Color_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.MakeAttribute(Terminal.Gui.Color%2CTerminal.Gui.Color)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  910. </span>
  911. <span class="small pull-right mobile-hide">
  912. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L238">View Source</a>
  913. </span>
  914. <a id="Terminal_Gui_FakeDriver_MakeAttribute_" data-uid="Terminal.Gui.FakeDriver.MakeAttribute*"></a>
  915. <h4 id="Terminal_Gui_FakeDriver_MakeAttribute_Terminal_Gui_Color_Terminal_Gui_Color_" data-uid="Terminal.Gui.FakeDriver.MakeAttribute(Terminal.Gui.Color,Terminal.Gui.Color)">MakeAttribute(Color, Color)</h4>
  916. <div class="markdown level1 summary">Make the attribute for the foreground and background colors.</div>
  917. <div class="markdown level1 conceptual"></div>
  918. <h5 class="declaration">Declaration</h5>
  919. <div class="codewrapper">
  920. <pre><code class="lang-csharp hljs">public override Attribute MakeAttribute(Color fore, Color back)</code></pre>
  921. </div>
  922. <h5 class="parameters">Parameters</h5>
  923. <table class="table table-bordered table-condensed">
  924. <thead>
  925. <tr>
  926. <th>Type</th>
  927. <th>Name</th>
  928. <th>Description</th>
  929. </tr>
  930. </thead>
  931. <tbody>
  932. <tr>
  933. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  934. <td><span class="parametername">fore</span></td>
  935. <td>Foreground.</td>
  936. </tr>
  937. <tr>
  938. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  939. <td><span class="parametername">back</span></td>
  940. <td>Background.</td>
  941. </tr>
  942. </tbody>
  943. </table>
  944. <h5 class="returns">Returns</h5>
  945. <table class="table table-bordered table-condensed">
  946. <thead>
  947. <tr>
  948. <th>Type</th>
  949. <th>Description</th>
  950. </tr>
  951. </thead>
  952. <tbody>
  953. <tr>
  954. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  955. <td></td>
  956. </tr>
  957. </tbody>
  958. </table>
  959. <h5 class="overrides">Overrides</h5>
  960. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_MakeAttribute_Terminal_Gui_Color_Terminal_Gui_Color_">ConsoleDriver.MakeAttribute(Color, Color)</a></div>
  961. <span class="small pull-right mobile-hide">
  962. <span class="divider">|</span>
  963. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_MakeColor_Terminal_Gui_Color_Terminal_Gui_Color_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.MakeColor(Terminal.Gui.Color%2CTerminal.Gui.Color)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  964. </span>
  965. <span class="small pull-right mobile-hide">
  966. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L209">View Source</a>
  967. </span>
  968. <a id="Terminal_Gui_FakeDriver_MakeColor_" data-uid="Terminal.Gui.FakeDriver.MakeColor*"></a>
  969. <h4 id="Terminal_Gui_FakeDriver_MakeColor_Terminal_Gui_Color_Terminal_Gui_Color_" data-uid="Terminal.Gui.FakeDriver.MakeColor(Terminal.Gui.Color,Terminal.Gui.Color)">MakeColor(Color, Color)</h4>
  970. <div class="markdown level1 summary">Make the <a class="xref" href="Terminal.Gui.Colors.html">Colors</a> for the <a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a>.</div>
  971. <div class="markdown level1 conceptual"></div>
  972. <h5 class="declaration">Declaration</h5>
  973. <div class="codewrapper">
  974. <pre><code class="lang-csharp hljs">public override Attribute MakeColor(Color foreground, Color background)</code></pre>
  975. </div>
  976. <h5 class="parameters">Parameters</h5>
  977. <table class="table table-bordered table-condensed">
  978. <thead>
  979. <tr>
  980. <th>Type</th>
  981. <th>Name</th>
  982. <th>Description</th>
  983. </tr>
  984. </thead>
  985. <tbody>
  986. <tr>
  987. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  988. <td><span class="parametername">foreground</span></td>
  989. <td>The foreground color.</td>
  990. </tr>
  991. <tr>
  992. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  993. <td><span class="parametername">background</span></td>
  994. <td>The background color.</td>
  995. </tr>
  996. </tbody>
  997. </table>
  998. <h5 class="returns">Returns</h5>
  999. <table class="table table-bordered table-condensed">
  1000. <thead>
  1001. <tr>
  1002. <th>Type</th>
  1003. <th>Description</th>
  1004. </tr>
  1005. </thead>
  1006. <tbody>
  1007. <tr>
  1008. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  1009. <td>The attribute for the foreground and background colors.</td>
  1010. </tr>
  1011. </tbody>
  1012. </table>
  1013. <h5 class="overrides">Overrides</h5>
  1014. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_MakeColor_Terminal_Gui_Color_Terminal_Gui_Color_">ConsoleDriver.MakeColor(Color, Color)</a></div>
  1015. <span class="small pull-right mobile-hide">
  1016. <span class="divider">|</span>
  1017. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Move_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Move(System.Int32%2CSystem.Int32)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1018. </span>
  1019. <span class="small pull-right mobile-hide">
  1020. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L106">View Source</a>
  1021. </span>
  1022. <a id="Terminal_Gui_FakeDriver_Move_" data-uid="Terminal.Gui.FakeDriver.Move*"></a>
  1023. <h4 id="Terminal_Gui_FakeDriver_Move_System_Int32_System_Int32_" data-uid="Terminal.Gui.FakeDriver.Move(System.Int32,System.Int32)">Move(int, int)</h4>
  1024. <div class="markdown level1 summary">Moves the cursor to the specified column and row.</div>
  1025. <div class="markdown level1 conceptual"></div>
  1026. <h5 class="declaration">Declaration</h5>
  1027. <div class="codewrapper">
  1028. <pre><code class="lang-csharp hljs">public override void Move(int col, int row)</code></pre>
  1029. </div>
  1030. <h5 class="parameters">Parameters</h5>
  1031. <table class="table table-bordered table-condensed">
  1032. <thead>
  1033. <tr>
  1034. <th>Type</th>
  1035. <th>Name</th>
  1036. <th>Description</th>
  1037. </tr>
  1038. </thead>
  1039. <tbody>
  1040. <tr>
  1041. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  1042. <td><span class="parametername">col</span></td>
  1043. <td>Column to move the cursor to.</td>
  1044. </tr>
  1045. <tr>
  1046. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  1047. <td><span class="parametername">row</span></td>
  1048. <td>Row to move the cursor to.</td>
  1049. </tr>
  1050. </tbody>
  1051. </table>
  1052. <h5 class="overrides">Overrides</h5>
  1053. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Move_System_Int32_System_Int32_">ConsoleDriver.Move(int, int)</a></div>
  1054. <span class="small pull-right mobile-hide">
  1055. <span class="divider">|</span>
  1056. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_PrepareToRun_Terminal_Gui_MainLoop_System_Action_Terminal_Gui_KeyEvent__System_Action_Terminal_Gui_KeyEvent__System_Action_Terminal_Gui_KeyEvent__System_Action_Terminal_Gui_MouseEvent__.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.PrepareToRun(Terminal.Gui.MainLoop%2CSystem.Action%7BTerminal.Gui.KeyEvent%7D%2CSystem.Action%7BTerminal.Gui.KeyEvent%7D%2CSystem.Action%7BTerminal.Gui.KeyEvent%7D%2CSystem.Action%7BTerminal.Gui.MouseEvent%7D)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1057. </span>
  1058. <span class="small pull-right mobile-hide">
  1059. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L458">View Source</a>
  1060. </span>
  1061. <a id="Terminal_Gui_FakeDriver_PrepareToRun_" data-uid="Terminal.Gui.FakeDriver.PrepareToRun*"></a>
  1062. <h4 id="Terminal_Gui_FakeDriver_PrepareToRun_Terminal_Gui_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.FakeDriver.PrepareToRun(Terminal.Gui.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>
  1063. <div class="markdown level1 summary">Prepare the driver and set the key and mouse events handlers.</div>
  1064. <div class="markdown level1 conceptual"></div>
  1065. <h5 class="declaration">Declaration</h5>
  1066. <div class="codewrapper">
  1067. <pre><code class="lang-csharp hljs">public override 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>
  1068. </div>
  1069. <h5 class="parameters">Parameters</h5>
  1070. <table class="table table-bordered table-condensed">
  1071. <thead>
  1072. <tr>
  1073. <th>Type</th>
  1074. <th>Name</th>
  1075. <th>Description</th>
  1076. </tr>
  1077. </thead>
  1078. <tbody>
  1079. <tr>
  1080. <td><a class="xref" href="Terminal.Gui.MainLoop.html">MainLoop</a></td>
  1081. <td><span class="parametername">mainLoop</span></td>
  1082. <td>The main loop.</td>
  1083. </tr>
  1084. <tr>
  1085. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a>&gt;</td>
  1086. <td><span class="parametername">keyHandler</span></td>
  1087. <td>The handler for ProcessKey</td>
  1088. </tr>
  1089. <tr>
  1090. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a>&gt;</td>
  1091. <td><span class="parametername">keyDownHandler</span></td>
  1092. <td>The handler for key down events</td>
  1093. </tr>
  1094. <tr>
  1095. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a>&gt;</td>
  1096. <td><span class="parametername">keyUpHandler</span></td>
  1097. <td>The handler for key up events</td>
  1098. </tr>
  1099. <tr>
  1100. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a>&gt;</td>
  1101. <td><span class="parametername">mouseHandler</span></td>
  1102. <td>The handler for mouse events</td>
  1103. </tr>
  1104. </tbody>
  1105. </table>
  1106. <h5 class="overrides">Overrides</h5>
  1107. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_PrepareToRun_Terminal_Gui_MainLoop_System_Action_Terminal_Gui_KeyEvent__System_Action_Terminal_Gui_KeyEvent__System_Action_Terminal_Gui_KeyEvent__System_Action_Terminal_Gui_MouseEvent__">ConsoleDriver.PrepareToRun(MainLoop, Action&lt;KeyEvent&gt;, Action&lt;KeyEvent&gt;, Action&lt;KeyEvent&gt;, Action&lt;MouseEvent&gt;)</a></div>
  1108. <span class="small pull-right mobile-hide">
  1109. <span class="divider">|</span>
  1110. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Refresh.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Refresh%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1111. </span>
  1112. <span class="small pull-right mobile-hide">
  1113. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L300">View Source</a>
  1114. </span>
  1115. <a id="Terminal_Gui_FakeDriver_Refresh_" data-uid="Terminal.Gui.FakeDriver.Refresh*"></a>
  1116. <h4 id="Terminal_Gui_FakeDriver_Refresh" data-uid="Terminal.Gui.FakeDriver.Refresh">Refresh()</h4>
  1117. <div class="markdown level1 summary">Updates the screen to reflect all the changes that have been done to the display buffer</div>
  1118. <div class="markdown level1 conceptual"></div>
  1119. <h5 class="declaration">Declaration</h5>
  1120. <div class="codewrapper">
  1121. <pre><code class="lang-csharp hljs">public override void Refresh()</code></pre>
  1122. </div>
  1123. <h5 class="overrides">Overrides</h5>
  1124. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Refresh">ConsoleDriver.Refresh()</a></div>
  1125. <span class="small pull-right mobile-hide">
  1126. <span class="divider">|</span>
  1127. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_ResizeScreen.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.ResizeScreen%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1128. </span>
  1129. <span class="small pull-right mobile-hide">
  1130. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L569">View Source</a>
  1131. </span>
  1132. <a id="Terminal_Gui_FakeDriver_ResizeScreen_" data-uid="Terminal.Gui.FakeDriver.ResizeScreen*"></a>
  1133. <h4 id="Terminal_Gui_FakeDriver_ResizeScreen" data-uid="Terminal.Gui.FakeDriver.ResizeScreen">ResizeScreen()</h4>
  1134. <div class="markdown level1 summary">Resizes the clip area when the screen is resized.</div>
  1135. <div class="markdown level1 conceptual"></div>
  1136. <h5 class="declaration">Declaration</h5>
  1137. <div class="codewrapper">
  1138. <pre><code class="lang-csharp hljs">public override void ResizeScreen()</code></pre>
  1139. </div>
  1140. <h5 class="overrides">Overrides</h5>
  1141. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_ResizeScreen">ConsoleDriver.ResizeScreen()</a></div>
  1142. <span class="small pull-right mobile-hide">
  1143. <span class="divider">|</span>
  1144. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SendKeys_System_Char_System_ConsoleKey_System_Boolean_System_Boolean_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SendKeys(System.Char%2CSystem.ConsoleKey%2CSystem.Boolean%2CSystem.Boolean%2CSystem.Boolean)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1145. </span>
  1146. <span class="small pull-right mobile-hide">
  1147. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L528">View Source</a>
  1148. </span>
  1149. <a id="Terminal_Gui_FakeDriver_SendKeys_" data-uid="Terminal.Gui.FakeDriver.SendKeys*"></a>
  1150. <h4 id="Terminal_Gui_FakeDriver_SendKeys_System_Char_System_ConsoleKey_System_Boolean_System_Boolean_System_Boolean_" data-uid="Terminal.Gui.FakeDriver.SendKeys(System.Char,System.ConsoleKey,System.Boolean,System.Boolean,System.Boolean)">SendKeys(char, ConsoleKey, bool, bool, bool)</h4>
  1151. <div class="markdown level1 summary">Allows sending keys without typing on a keyboard.</div>
  1152. <div class="markdown level1 conceptual"></div>
  1153. <h5 class="declaration">Declaration</h5>
  1154. <div class="codewrapper">
  1155. <pre><code class="lang-csharp hljs">public override void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control)</code></pre>
  1156. </div>
  1157. <h5 class="parameters">Parameters</h5>
  1158. <table class="table table-bordered table-condensed">
  1159. <thead>
  1160. <tr>
  1161. <th>Type</th>
  1162. <th>Name</th>
  1163. <th>Description</th>
  1164. </tr>
  1165. </thead>
  1166. <tbody>
  1167. <tr>
  1168. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a></td>
  1169. <td><span class="parametername">keyChar</span></td>
  1170. <td>The character key.</td>
  1171. </tr>
  1172. <tr>
  1173. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.consolekey">ConsoleKey</a></td>
  1174. <td><span class="parametername">key</span></td>
  1175. <td>The key.</td>
  1176. </tr>
  1177. <tr>
  1178. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  1179. <td><span class="parametername">shift</span></td>
  1180. <td>If shift key is sending.</td>
  1181. </tr>
  1182. <tr>
  1183. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  1184. <td><span class="parametername">alt</span></td>
  1185. <td>If alt key is sending.</td>
  1186. </tr>
  1187. <tr>
  1188. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  1189. <td><span class="parametername">control</span></td>
  1190. <td>If control key is sending.</td>
  1191. </tr>
  1192. </tbody>
  1193. </table>
  1194. <h5 class="overrides">Overrides</h5>
  1195. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SendKeys_System_Char_System_ConsoleKey_System_Boolean_System_Boolean_System_Boolean_">ConsoleDriver.SendKeys(char, ConsoleKey, bool, bool, bool)</a></div>
  1196. <span class="small pull-right mobile-hide">
  1197. <span class="divider">|</span>
  1198. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetAttribute_Terminal_Gui_Attribute_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetAttribute(Terminal.Gui.Attribute)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1199. </span>
  1200. <span class="small pull-right mobile-hide">
  1201. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L306">View Source</a>
  1202. </span>
  1203. <a id="Terminal_Gui_FakeDriver_SetAttribute_" data-uid="Terminal.Gui.FakeDriver.SetAttribute*"></a>
  1204. <h4 id="Terminal_Gui_FakeDriver_SetAttribute_Terminal_Gui_Attribute_" data-uid="Terminal.Gui.FakeDriver.SetAttribute(Terminal.Gui.Attribute)">SetAttribute(Attribute)</h4>
  1205. <div class="markdown level1 summary">Selects the specified attribute as the attribute to use for future calls to AddRune and AddString.</div>
  1206. <div class="markdown level1 conceptual"></div>
  1207. <h5 class="declaration">Declaration</h5>
  1208. <div class="codewrapper">
  1209. <pre><code class="lang-csharp hljs">public override void SetAttribute(Attribute c)</code></pre>
  1210. </div>
  1211. <h5 class="parameters">Parameters</h5>
  1212. <table class="table table-bordered table-condensed">
  1213. <thead>
  1214. <tr>
  1215. <th>Type</th>
  1216. <th>Name</th>
  1217. <th>Description</th>
  1218. </tr>
  1219. </thead>
  1220. <tbody>
  1221. <tr>
  1222. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  1223. <td><span class="parametername">c</span></td>
  1224. <td>C.</td>
  1225. </tr>
  1226. </tbody>
  1227. </table>
  1228. <h5 class="overrides">Overrides</h5>
  1229. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetAttribute_Terminal_Gui_Attribute_">ConsoleDriver.SetAttribute(Attribute)</a></div>
  1230. <h5 id="Terminal_Gui_FakeDriver_SetAttribute_Terminal_Gui_Attribute__remarks">Remarks</h5>
  1231. <div class="markdown level1 remarks">Implementations should call <code>base.SetAttribute(c)</code>.</div>
  1232. <span class="small pull-right mobile-hide">
  1233. <span class="divider">|</span>
  1234. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetBufferSize_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetBufferSize(System.Int32%2CSystem.Int32)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1235. </span>
  1236. <span class="small pull-right mobile-hide">
  1237. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L533">View Source</a>
  1238. </span>
  1239. <a id="Terminal_Gui_FakeDriver_SetBufferSize_" data-uid="Terminal.Gui.FakeDriver.SetBufferSize*"></a>
  1240. <h4 id="Terminal_Gui_FakeDriver_SetBufferSize_System_Int32_System_Int32_" data-uid="Terminal.Gui.FakeDriver.SetBufferSize(System.Int32,System.Int32)">SetBufferSize(int, int)</h4>
  1241. <div class="markdown level1 summary"></div>
  1242. <div class="markdown level1 conceptual"></div>
  1243. <h5 class="declaration">Declaration</h5>
  1244. <div class="codewrapper">
  1245. <pre><code class="lang-csharp hljs">public void SetBufferSize(int width, int height)</code></pre>
  1246. </div>
  1247. <h5 class="parameters">Parameters</h5>
  1248. <table class="table table-bordered table-condensed">
  1249. <thead>
  1250. <tr>
  1251. <th>Type</th>
  1252. <th>Name</th>
  1253. <th>Description</th>
  1254. </tr>
  1255. </thead>
  1256. <tbody>
  1257. <tr>
  1258. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  1259. <td><span class="parametername">width</span></td>
  1260. <td></td>
  1261. </tr>
  1262. <tr>
  1263. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  1264. <td><span class="parametername">height</span></td>
  1265. <td></td>
  1266. </tr>
  1267. </tbody>
  1268. </table>
  1269. <span class="small pull-right mobile-hide">
  1270. <span class="divider">|</span>
  1271. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetColors_System_ConsoleColor_System_ConsoleColor_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetColors(System.ConsoleColor%2CSystem.ConsoleColor)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1272. </span>
  1273. <span class="small pull-right mobile-hide">
  1274. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L655">View Source</a>
  1275. </span>
  1276. <a id="Terminal_Gui_FakeDriver_SetColors_" data-uid="Terminal.Gui.FakeDriver.SetColors*"></a>
  1277. <h4 id="Terminal_Gui_FakeDriver_SetColors_System_ConsoleColor_System_ConsoleColor_" data-uid="Terminal.Gui.FakeDriver.SetColors(System.ConsoleColor,System.ConsoleColor)">SetColors(ConsoleColor, ConsoleColor)</h4>
  1278. <div class="markdown level1 summary">Set Colors from limit sets of colors. Not implemented by any driver: See Issue #2300.</div>
  1279. <div class="markdown level1 conceptual"></div>
  1280. <h5 class="declaration">Declaration</h5>
  1281. <div class="codewrapper">
  1282. <pre><code class="lang-csharp hljs">public override void SetColors(ConsoleColor foreground, ConsoleColor background)</code></pre>
  1283. </div>
  1284. <h5 class="parameters">Parameters</h5>
  1285. <table class="table table-bordered table-condensed">
  1286. <thead>
  1287. <tr>
  1288. <th>Type</th>
  1289. <th>Name</th>
  1290. <th>Description</th>
  1291. </tr>
  1292. </thead>
  1293. <tbody>
  1294. <tr>
  1295. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.consolecolor">ConsoleColor</a></td>
  1296. <td><span class="parametername">foreground</span></td>
  1297. <td>Foreground.</td>
  1298. </tr>
  1299. <tr>
  1300. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.consolecolor">ConsoleColor</a></td>
  1301. <td><span class="parametername">background</span></td>
  1302. <td>Background.</td>
  1303. </tr>
  1304. </tbody>
  1305. </table>
  1306. <h5 class="overrides">Overrides</h5>
  1307. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetColors_System_ConsoleColor_System_ConsoleColor_">ConsoleDriver.SetColors(ConsoleColor, ConsoleColor)</a></div>
  1308. <span class="small pull-right mobile-hide">
  1309. <span class="divider">|</span>
  1310. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetColors_System_Int16_System_Int16_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetColors(System.Int16%2CSystem.Int16)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1311. </span>
  1312. <span class="small pull-right mobile-hide">
  1313. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L659">View Source</a>
  1314. </span>
  1315. <a id="Terminal_Gui_FakeDriver_SetColors_" data-uid="Terminal.Gui.FakeDriver.SetColors*"></a>
  1316. <h4 id="Terminal_Gui_FakeDriver_SetColors_System_Int16_System_Int16_" data-uid="Terminal.Gui.FakeDriver.SetColors(System.Int16,System.Int16)">SetColors(short, short)</h4>
  1317. <div class="markdown level1 summary">Advanced uses - set colors to any pre-set pairs, you would need to init_color
  1318. that independently with the R, G, B values. Not implemented by any driver: See Issue #2300.</div>
  1319. <div class="markdown level1 conceptual"></div>
  1320. <h5 class="declaration">Declaration</h5>
  1321. <div class="codewrapper">
  1322. <pre><code class="lang-csharp hljs">public override void SetColors(short foregroundColorId, short backgroundColorId)</code></pre>
  1323. </div>
  1324. <h5 class="parameters">Parameters</h5>
  1325. <table class="table table-bordered table-condensed">
  1326. <thead>
  1327. <tr>
  1328. <th>Type</th>
  1329. <th>Name</th>
  1330. <th>Description</th>
  1331. </tr>
  1332. </thead>
  1333. <tbody>
  1334. <tr>
  1335. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a></td>
  1336. <td><span class="parametername">foregroundColorId</span></td>
  1337. <td>Foreground color identifier.</td>
  1338. </tr>
  1339. <tr>
  1340. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a></td>
  1341. <td><span class="parametername">backgroundColorId</span></td>
  1342. <td>Background color identifier.</td>
  1343. </tr>
  1344. </tbody>
  1345. </table>
  1346. <h5 class="overrides">Overrides</h5>
  1347. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetColors_System_Int16_System_Int16_">ConsoleDriver.SetColors(short, short)</a></div>
  1348. <span class="small pull-right mobile-hide">
  1349. <span class="divider">|</span>
  1350. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetCursorVisibility_Terminal_Gui_CursorVisibility_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetCursorVisibility(Terminal.Gui.CursorVisibility)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1351. </span>
  1352. <span class="small pull-right mobile-hide">
  1353. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L508">View Source</a>
  1354. </span>
  1355. <a id="Terminal_Gui_FakeDriver_SetCursorVisibility_" data-uid="Terminal.Gui.FakeDriver.SetCursorVisibility*"></a>
  1356. <h4 id="Terminal_Gui_FakeDriver_SetCursorVisibility_Terminal_Gui_CursorVisibility_" data-uid="Terminal.Gui.FakeDriver.SetCursorVisibility(Terminal.Gui.CursorVisibility)">SetCursorVisibility(CursorVisibility)</h4>
  1357. <div class="markdown level1 summary">Change the cursor caret visibility</div>
  1358. <div class="markdown level1 conceptual"></div>
  1359. <h5 class="declaration">Declaration</h5>
  1360. <div class="codewrapper">
  1361. <pre><code class="lang-csharp hljs">public override bool SetCursorVisibility(CursorVisibility visibility)</code></pre>
  1362. </div>
  1363. <h5 class="parameters">Parameters</h5>
  1364. <table class="table table-bordered table-condensed">
  1365. <thead>
  1366. <tr>
  1367. <th>Type</th>
  1368. <th>Name</th>
  1369. <th>Description</th>
  1370. </tr>
  1371. </thead>
  1372. <tbody>
  1373. <tr>
  1374. <td><a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
  1375. <td><span class="parametername">visibility</span></td>
  1376. <td>The wished <a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
  1377. </tr>
  1378. </tbody>
  1379. </table>
  1380. <h5 class="returns">Returns</h5>
  1381. <table class="table table-bordered table-condensed">
  1382. <thead>
  1383. <tr>
  1384. <th>Type</th>
  1385. <th>Description</th>
  1386. </tr>
  1387. </thead>
  1388. <tbody>
  1389. <tr>
  1390. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  1391. <td>true upon success</td>
  1392. </tr>
  1393. </tbody>
  1394. </table>
  1395. <h5 class="overrides">Overrides</h5>
  1396. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetCursorVisibility_Terminal_Gui_CursorVisibility_">ConsoleDriver.SetCursorVisibility(CursorVisibility)</a></div>
  1397. <span class="small pull-right mobile-hide">
  1398. <span class="divider">|</span>
  1399. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetWindowPosition_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetWindowPosition(System.Int32%2CSystem.Int32)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1400. </span>
  1401. <span class="small pull-right mobile-hide">
  1402. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L553">View Source</a>
  1403. </span>
  1404. <a id="Terminal_Gui_FakeDriver_SetWindowPosition_" data-uid="Terminal.Gui.FakeDriver.SetWindowPosition*"></a>
  1405. <h4 id="Terminal_Gui_FakeDriver_SetWindowPosition_System_Int32_System_Int32_" data-uid="Terminal.Gui.FakeDriver.SetWindowPosition(System.Int32,System.Int32)">SetWindowPosition(int, int)</h4>
  1406. <div class="markdown level1 summary"></div>
  1407. <div class="markdown level1 conceptual"></div>
  1408. <h5 class="declaration">Declaration</h5>
  1409. <div class="codewrapper">
  1410. <pre><code class="lang-csharp hljs">public void SetWindowPosition(int left, int top)</code></pre>
  1411. </div>
  1412. <h5 class="parameters">Parameters</h5>
  1413. <table class="table table-bordered table-condensed">
  1414. <thead>
  1415. <tr>
  1416. <th>Type</th>
  1417. <th>Name</th>
  1418. <th>Description</th>
  1419. </tr>
  1420. </thead>
  1421. <tbody>
  1422. <tr>
  1423. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  1424. <td><span class="parametername">left</span></td>
  1425. <td></td>
  1426. </tr>
  1427. <tr>
  1428. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  1429. <td><span class="parametername">top</span></td>
  1430. <td></td>
  1431. </tr>
  1432. </tbody>
  1433. </table>
  1434. <span class="small pull-right mobile-hide">
  1435. <span class="divider">|</span>
  1436. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetWindowSize_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetWindowSize(System.Int32%2CSystem.Int32)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1437. </span>
  1438. <span class="small pull-right mobile-hide">
  1439. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L542">View Source</a>
  1440. </span>
  1441. <a id="Terminal_Gui_FakeDriver_SetWindowSize_" data-uid="Terminal.Gui.FakeDriver.SetWindowSize*"></a>
  1442. <h4 id="Terminal_Gui_FakeDriver_SetWindowSize_System_Int32_System_Int32_" data-uid="Terminal.Gui.FakeDriver.SetWindowSize(System.Int32,System.Int32)">SetWindowSize(int, int)</h4>
  1443. <div class="markdown level1 summary"></div>
  1444. <div class="markdown level1 conceptual"></div>
  1445. <h5 class="declaration">Declaration</h5>
  1446. <div class="codewrapper">
  1447. <pre><code class="lang-csharp hljs">public void SetWindowSize(int width, int height)</code></pre>
  1448. </div>
  1449. <h5 class="parameters">Parameters</h5>
  1450. <table class="table table-bordered table-condensed">
  1451. <thead>
  1452. <tr>
  1453. <th>Type</th>
  1454. <th>Name</th>
  1455. <th>Description</th>
  1456. </tr>
  1457. </thead>
  1458. <tbody>
  1459. <tr>
  1460. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  1461. <td><span class="parametername">width</span></td>
  1462. <td></td>
  1463. </tr>
  1464. <tr>
  1465. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  1466. <td><span class="parametername">height</span></td>
  1467. <td></td>
  1468. </tr>
  1469. </tbody>
  1470. </table>
  1471. <span class="small pull-right mobile-hide">
  1472. <span class="divider">|</span>
  1473. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_StartReportingMouseMoves.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.StartReportingMouseMoves%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1474. </span>
  1475. <span class="small pull-right mobile-hide">
  1476. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L643">View Source</a>
  1477. </span>
  1478. <a id="Terminal_Gui_FakeDriver_StartReportingMouseMoves_" data-uid="Terminal.Gui.FakeDriver.StartReportingMouseMoves*"></a>
  1479. <h4 id="Terminal_Gui_FakeDriver_StartReportingMouseMoves" data-uid="Terminal.Gui.FakeDriver.StartReportingMouseMoves">StartReportingMouseMoves()</h4>
  1480. <div class="markdown level1 summary">Start of mouse moves.</div>
  1481. <div class="markdown level1 conceptual"></div>
  1482. <h5 class="declaration">Declaration</h5>
  1483. <div class="codewrapper">
  1484. <pre><code class="lang-csharp hljs">public override void StartReportingMouseMoves()</code></pre>
  1485. </div>
  1486. <h5 class="overrides">Overrides</h5>
  1487. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_StartReportingMouseMoves">ConsoleDriver.StartReportingMouseMoves()</a></div>
  1488. <span class="small pull-right mobile-hide">
  1489. <span class="divider">|</span>
  1490. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_StopReportingMouseMoves.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.StopReportingMouseMoves%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1491. </span>
  1492. <span class="small pull-right mobile-hide">
  1493. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L647">View Source</a>
  1494. </span>
  1495. <a id="Terminal_Gui_FakeDriver_StopReportingMouseMoves_" data-uid="Terminal.Gui.FakeDriver.StopReportingMouseMoves*"></a>
  1496. <h4 id="Terminal_Gui_FakeDriver_StopReportingMouseMoves" data-uid="Terminal.Gui.FakeDriver.StopReportingMouseMoves">StopReportingMouseMoves()</h4>
  1497. <div class="markdown level1 summary">Stop reporting mouses moves.</div>
  1498. <div class="markdown level1 conceptual"></div>
  1499. <h5 class="declaration">Declaration</h5>
  1500. <div class="codewrapper">
  1501. <pre><code class="lang-csharp hljs">public override void StopReportingMouseMoves()</code></pre>
  1502. </div>
  1503. <h5 class="overrides">Overrides</h5>
  1504. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_StopReportingMouseMoves">ConsoleDriver.StopReportingMouseMoves()</a></div>
  1505. <span class="small pull-right mobile-hide">
  1506. <span class="divider">|</span>
  1507. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Suspend.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Suspend%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1508. </span>
  1509. <span class="small pull-right mobile-hide">
  1510. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L651">View Source</a>
  1511. </span>
  1512. <a id="Terminal_Gui_FakeDriver_Suspend_" data-uid="Terminal.Gui.FakeDriver.Suspend*"></a>
  1513. <h4 id="Terminal_Gui_FakeDriver_Suspend" data-uid="Terminal.Gui.FakeDriver.Suspend">Suspend()</h4>
  1514. <div class="markdown level1 summary">Suspend the application, typically needs to save the state, suspend the app and upon return, reset the console driver.</div>
  1515. <div class="markdown level1 conceptual"></div>
  1516. <h5 class="declaration">Declaration</h5>
  1517. <div class="codewrapper">
  1518. <pre><code class="lang-csharp hljs">public override void Suspend()</code></pre>
  1519. </div>
  1520. <h5 class="overrides">Overrides</h5>
  1521. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Suspend">ConsoleDriver.Suspend()</a></div>
  1522. <span class="small pull-right mobile-hide">
  1523. <span class="divider">|</span>
  1524. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_UncookMouse.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.UncookMouse%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1525. </span>
  1526. <span class="small pull-right mobile-hide">
  1527. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L668">View Source</a>
  1528. </span>
  1529. <a id="Terminal_Gui_FakeDriver_UncookMouse_" data-uid="Terminal.Gui.FakeDriver.UncookMouse*"></a>
  1530. <h4 id="Terminal_Gui_FakeDriver_UncookMouse" data-uid="Terminal.Gui.FakeDriver.UncookMouse">UncookMouse()</h4>
  1531. <div class="markdown level1 summary">Disables the cooked event processing from the mouse driver.
  1532. At startup, it is assumed mouse events are cooked. Not implemented by any driver: See Issue #2300.</div>
  1533. <div class="markdown level1 conceptual"></div>
  1534. <h5 class="declaration">Declaration</h5>
  1535. <div class="codewrapper">
  1536. <pre><code class="lang-csharp hljs">public override void UncookMouse()</code></pre>
  1537. </div>
  1538. <h5 class="overrides">Overrides</h5>
  1539. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UncookMouse">ConsoleDriver.UncookMouse()</a></div>
  1540. <span class="small pull-right mobile-hide">
  1541. <span class="divider">|</span>
  1542. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_UpdateCursor.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.UpdateCursor%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1543. </span>
  1544. <span class="small pull-right mobile-hide">
  1545. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L628">View Source</a>
  1546. </span>
  1547. <a id="Terminal_Gui_FakeDriver_UpdateCursor_" data-uid="Terminal.Gui.FakeDriver.UpdateCursor*"></a>
  1548. <h4 id="Terminal_Gui_FakeDriver_UpdateCursor" data-uid="Terminal.Gui.FakeDriver.UpdateCursor">UpdateCursor()</h4>
  1549. <div class="markdown level1 summary">Updates the location of the cursor position</div>
  1550. <div class="markdown level1 conceptual"></div>
  1551. <h5 class="declaration">Declaration</h5>
  1552. <div class="codewrapper">
  1553. <pre><code class="lang-csharp hljs">public override void UpdateCursor()</code></pre>
  1554. </div>
  1555. <h5 class="overrides">Overrides</h5>
  1556. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpdateCursor">ConsoleDriver.UpdateCursor()</a></div>
  1557. <span class="small pull-right mobile-hide">
  1558. <span class="divider">|</span>
  1559. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_UpdateOffScreen.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.UpdateOffScreen%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1560. </span>
  1561. <span class="small pull-right mobile-hide">
  1562. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L590">View Source</a>
  1563. </span>
  1564. <a id="Terminal_Gui_FakeDriver_UpdateOffScreen_" data-uid="Terminal.Gui.FakeDriver.UpdateOffScreen*"></a>
  1565. <h4 id="Terminal_Gui_FakeDriver_UpdateOffScreen" data-uid="Terminal.Gui.FakeDriver.UpdateOffScreen">UpdateOffScreen()</h4>
  1566. <div class="markdown level1 summary">Reset and recreate the contents and the driver buffer.</div>
  1567. <div class="markdown level1 conceptual"></div>
  1568. <h5 class="declaration">Declaration</h5>
  1569. <div class="codewrapper">
  1570. <pre><code class="lang-csharp hljs">public override void UpdateOffScreen()</code></pre>
  1571. </div>
  1572. <h5 class="overrides">Overrides</h5>
  1573. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpdateOffScreen">ConsoleDriver.UpdateOffScreen()</a></div>
  1574. <span class="small pull-right mobile-hide">
  1575. <span class="divider">|</span>
  1576. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_UpdateScreen.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver.UpdateScreen%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  1577. </span>
  1578. <span class="small pull-right mobile-hide">
  1579. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L258">View Source</a>
  1580. </span>
  1581. <a id="Terminal_Gui_FakeDriver_UpdateScreen_" data-uid="Terminal.Gui.FakeDriver.UpdateScreen*"></a>
  1582. <h4 id="Terminal_Gui_FakeDriver_UpdateScreen" data-uid="Terminal.Gui.FakeDriver.UpdateScreen">UpdateScreen()</h4>
  1583. <div class="markdown level1 summary">Redraws the physical screen with the contents that have been queued up via any of the printing commands.</div>
  1584. <div class="markdown level1 conceptual"></div>
  1585. <h5 class="declaration">Declaration</h5>
  1586. <div class="codewrapper">
  1587. <pre><code class="lang-csharp hljs">public override void UpdateScreen()</code></pre>
  1588. </div>
  1589. <h5 class="overrides">Overrides</h5>
  1590. <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpdateScreen">ConsoleDriver.UpdateScreen()</a></div>
  1591. </article>
  1592. </div>
  1593. <div class="hidden-sm col-md-2" role="complementary">
  1594. <div class="sideaffix">
  1595. <div class="contribution">
  1596. <ul class="nav">
  1597. <li>
  1598. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver.md&amp;value=---%0Auid%3A%20Terminal.Gui.FakeDriver%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Edit this page</a>
  1599. </li>
  1600. <li>
  1601. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L19" class="contribution-link">View Source</a>
  1602. </li>
  1603. </ul>
  1604. </div>
  1605. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1606. <h5>In this article</h5>
  1607. <div></div>
  1608. </nav>
  1609. </div>
  1610. </div>
  1611. </div>
  1612. </div>
  1613. <footer>
  1614. <div class="grad-bottom"></div>
  1615. <div class="footer">
  1616. <div class="container">
  1617. <span class="pull-right">
  1618. <a href="#top">Back to top</a>
  1619. </span>
  1620. <span>Generated by <strong>DocFX</strong></span>
  1621. </div>
  1622. </div>
  1623. </footer>
  1624. </div>
  1625. <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
  1626. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1627. <script type="text/javascript" src="../../styles/main.js"></script>
  1628. </body>
  1629. </html>