| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646 |
- <!DOCTYPE html>
- <!--[if IE]><![endif]-->
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title>Class FakeDriver
- </title>
- <meta name="viewport" content="width=device-width">
- <meta name="title" content="Class FakeDriver
- ">
-
- <link rel="shortcut icon" href="../../favicon.ico">
- <link rel="stylesheet" href="../../styles/docfx.vendor.min.css">
- <link rel="stylesheet" href="../../styles/docfx.css">
- <link rel="stylesheet" href="../../styles/main.css">
- <meta property="docfx:navrel" content="../../toc.html">
- <meta property="docfx:tocrel" content="toc.html">
-
- <meta property="docfx:rel" content="../../">
-
- </head>
- <body data-spy="scroll" data-target="#affix" data-offset="120">
- <div id="wrapper">
- <header>
- <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="../../index.html">
- <img id="logo" class="svg" src="../../images/logo48.png" alt="">
- </a>
- </div>
- <div class="collapse navbar-collapse" id="navbar">
- <form class="navbar-form navbar-right" role="search" id="search">
- <div class="form-group">
- <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
- </div>
- </form>
- </div>
- </div>
- </nav>
- <div class="subnav navbar navbar-default">
- <div class="container hide-when-search" id="breadcrumb">
- <ul class="breadcrumb">
- <li></li>
- </ul>
- </div>
- </div>
- </header>
- <div class="container body-content">
- <div id="search-results">
- <div class="search-list">Search Results for <span></span></div>
- <div class="sr-items">
- <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
- </div>
- <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
- </div>
- </div>
- <div role="main" class="container body-content hide-when-search">
- <div class="sidenav hide-when-search">
- <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
- <div class="sidetoggle collapse" id="sidetoggle">
- <div id="sidetoc"></div>
- </div>
- </div>
- <div class="article row grid-right">
- <div class="col-md-10">
- <article class="content wrap" id="_content" data-uid="Terminal.Gui.FakeDriver">
- <h1 id="Terminal_Gui_FakeDriver" data-uid="Terminal.Gui.FakeDriver" class="text-break">Class FakeDriver
- </h1>
- <div class="markdown level0 summary">Implements a mock ConsoleDriver for unit testing</div>
- <div class="markdown level0 conceptual"></div>
- <div class="inheritance">
- <h5>Inheritance</h5>
- <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
- <div class="level1"><a class="xref" href="Terminal.Gui.ConsoleDriver.html">ConsoleDriver</a></div>
- <div class="level2"><span class="xref">FakeDriver</span></div>
- </div>
- <div class="inheritedMembers">
- <h5>Inherited Members</h5>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_TerminalResized">ConsoleDriver.TerminalResized</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_MakePrintable_System_Rune_">ConsoleDriver.MakePrintable(Rune)</a>
- </div>
- <div>
- <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>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_CurrentAttribute">ConsoleDriver.CurrentAttribute</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetTerminalResized_System_Action_">ConsoleDriver.SetTerminalResized(Action)</a>
- </div>
- <div>
- <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>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Diagnostics">ConsoleDriver.Diagnostics</a>
- </div>
- <div>
- <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>
- </div>
- <div>
- <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>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Clip">ConsoleDriver.Clip</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_HLine">ConsoleDriver.HLine</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_VLine">ConsoleDriver.VLine</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Stipple">ConsoleDriver.Stipple</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Diamond">ConsoleDriver.Diamond</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_ULCorner">ConsoleDriver.ULCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LLCorner">ConsoleDriver.LLCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_URCorner">ConsoleDriver.URCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LRCorner">ConsoleDriver.LRCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LeftTee">ConsoleDriver.LeftTee</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_RightTee">ConsoleDriver.RightTee</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_TopTee">ConsoleDriver.TopTee</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_BottomTee">ConsoleDriver.BottomTee</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Checked">ConsoleDriver.Checked</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UnChecked">ConsoleDriver.UnChecked</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Selected">ConsoleDriver.Selected</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UnSelected">ConsoleDriver.UnSelected</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_RightArrow">ConsoleDriver.RightArrow</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LeftArrow">ConsoleDriver.LeftArrow</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_DownArrow">ConsoleDriver.DownArrow</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpArrow">ConsoleDriver.UpArrow</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LeftDefaultIndicator">ConsoleDriver.LeftDefaultIndicator</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_RightDefaultIndicator">ConsoleDriver.RightDefaultIndicator</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LeftBracket">ConsoleDriver.LeftBracket</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_RightBracket">ConsoleDriver.RightBracket</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_BlocksMeterSegment">ConsoleDriver.BlocksMeterSegment</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_ContinuousMeterSegment">ConsoleDriver.ContinuousMeterSegment</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_HDLine">ConsoleDriver.HDLine</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_VDLine">ConsoleDriver.VDLine</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_ULDCorner">ConsoleDriver.ULDCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LLDCorner">ConsoleDriver.LLDCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_URDCorner">ConsoleDriver.URDCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LRDCorner">ConsoleDriver.LRDCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_HRLine">ConsoleDriver.HRLine</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_VRLine">ConsoleDriver.VRLine</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_ULRCorner">ConsoleDriver.ULRCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LLRCorner">ConsoleDriver.LLRCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_URRCorner">ConsoleDriver.URRCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_LRRCorner">ConsoleDriver.LRRCorner</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_GetAttribute">ConsoleDriver.GetAttribute()</a>
- </div>
- <div>
- <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_InitalizeColorSchemes_System_Boolean_">ConsoleDriver.InitalizeColorSchemes(bool)</a>
- </div>
- <div>
- <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
- </div>
- <div>
- <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>
- </div>
- <div>
- <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
- </div>
- <div>
- <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
- </div>
- <div>
- <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
- </div>
- <div>
- <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
- </div>
- <div>
- <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
- </div>
- </div>
- <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.html">Terminal</a>.<a class="xref" href="Terminal.Gui.html">Gui</a></h6>
- <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
- <h5 id="Terminal_Gui_FakeDriver_syntax">Syntax</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public class FakeDriver : ConsoleDriver</code></pre>
- </div>
- <h3 id="constructors">Constructors
- </h3>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver__ctor.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L84">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver__ctor_" data-uid="Terminal.Gui.FakeDriver.#ctor*"></a>
- <h4 id="Terminal_Gui_FakeDriver__ctor" data-uid="Terminal.Gui.FakeDriver.#ctor">FakeDriver()</h4>
- <div class="markdown level1 summary"></div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public FakeDriver()</code></pre>
- </div>
- <h3 id="fields">Fields
- </h3>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_FakeBehaviors.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.FakeBehaviors%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L40">View Source</a>
- </span>
- <h4 id="Terminal_Gui_FakeDriver_FakeBehaviors" data-uid="Terminal.Gui.FakeDriver.FakeBehaviors">FakeBehaviors</h4>
- <div class="markdown level1 summary"></div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public static FakeDriver.Behaviors FakeBehaviors</code></pre>
- </div>
- <h5 class="fieldValue">Field Value</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="Terminal.Gui.FakeDriver.html">FakeDriver</a>.<a class="xref" href="Terminal.Gui.FakeDriver.Behaviors.html">Behaviors</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h3 id="properties">Properties
- </h3>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Clipboard.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Clipboard%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L53">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_Clipboard_" data-uid="Terminal.Gui.FakeDriver.Clipboard*"></a>
- <h4 id="Terminal_Gui_FakeDriver_Clipboard" data-uid="Terminal.Gui.FakeDriver.Clipboard">Clipboard</h4>
- <div class="markdown level1 summary">Get the operation system clipboard.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override IClipboard Clipboard { get; }</code></pre>
- </div>
- <h5 class="propertyValue">Property Value</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="Terminal.Gui.IClipboard.html">IClipboard</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Clipboard">ConsoleDriver.Clipboard</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Cols.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Cols%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L43">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_Cols_" data-uid="Terminal.Gui.FakeDriver.Cols*"></a>
- <h4 id="Terminal_Gui_FakeDriver_Cols" data-uid="Terminal.Gui.FakeDriver.Cols">Cols</h4>
- <div class="markdown level1 summary">The current number of columns in the terminal.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override int Cols { get; }</code></pre>
- </div>
- <h5 class="propertyValue">Property Value</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Cols">ConsoleDriver.Cols</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Contents.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Contents%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L62">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_Contents_" data-uid="Terminal.Gui.FakeDriver.Contents*"></a>
- <h4 id="Terminal_Gui_FakeDriver_Contents" data-uid="Terminal.Gui.FakeDriver.Contents">Contents</h4>
- <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>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override int[,,] Contents { get; }</code></pre>
- </div>
- <h5 class="propertyValue">Property Value</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[,,]</td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Contents">ConsoleDriver.Contents</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_EnableConsoleScrolling.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.EnableConsoleScrolling%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L48">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_EnableConsoleScrolling_" data-uid="Terminal.Gui.FakeDriver.EnableConsoleScrolling*"></a>
- <h4 id="Terminal_Gui_FakeDriver_EnableConsoleScrolling" data-uid="Terminal.Gui.FakeDriver.EnableConsoleScrolling">EnableConsoleScrolling</h4>
- <div class="markdown level1 summary"><p>
- 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>)
- tracks to the height of the visible console view when the console is resized. In this case
- 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.
- </p>
- <p>
- 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
- the height of the visible console view when the console is made larger (the application will only grow in height, never shrink).
- 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
- as the console scrolls.
- </p></div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">[Obsolete("This API is deprecated", false)]
- public override bool EnableConsoleScrolling { get; set; }</code></pre>
- </div>
- <h5 class="propertyValue">Property Value</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_EnableConsoleScrolling">ConsoleDriver.EnableConsoleScrolling</a></div>
- <h5 id="Terminal_Gui_FakeDriver_EnableConsoleScrolling_remarks">Remarks</h5>
- <div class="markdown level1 remarks">NOTE: Changes to Windows Terminal prevents this functionality from working. It only really worked on Windows 'conhost' previously.</div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_HeightAsBuffer.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.HeightAsBuffer%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L50">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_HeightAsBuffer_" data-uid="Terminal.Gui.FakeDriver.HeightAsBuffer*"></a>
- <h4 id="Terminal_Gui_FakeDriver_HeightAsBuffer" data-uid="Terminal.Gui.FakeDriver.HeightAsBuffer">HeightAsBuffer</h4>
- <div class="markdown level1 summary">This API is deprecated and has no impact when enabled.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">[Obsolete("This API is deprecated", false)]
- public override bool HeightAsBuffer { get; set; }</code></pre>
- </div>
- <h5 class="propertyValue">Property Value</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_HeightAsBuffer">ConsoleDriver.HeightAsBuffer</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Left.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Left%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L46">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_Left_" data-uid="Terminal.Gui.FakeDriver.Left*"></a>
- <h4 id="Terminal_Gui_FakeDriver_Left" data-uid="Terminal.Gui.FakeDriver.Left">Left</h4>
- <div class="markdown level1 summary">The current left in the terminal.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override int Left { get; }</code></pre>
- </div>
- <h5 class="propertyValue">Property Value</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Left">ConsoleDriver.Left</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Rows.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Rows%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L44">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_Rows_" data-uid="Terminal.Gui.FakeDriver.Rows*"></a>
- <h4 id="Terminal_Gui_FakeDriver_Rows" data-uid="Terminal.Gui.FakeDriver.Rows">Rows</h4>
- <div class="markdown level1 summary">The current number of rows in the terminal.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override int Rows { get; }</code></pre>
- </div>
- <h5 class="propertyValue">Property Value</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Rows">ConsoleDriver.Rows</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Top.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Top%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L47">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_Top_" data-uid="Terminal.Gui.FakeDriver.Top*"></a>
- <h4 id="Terminal_Gui_FakeDriver_Top" data-uid="Terminal.Gui.FakeDriver.Top">Top</h4>
- <div class="markdown level1 summary">The current top in the terminal.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override int Top { get; }</code></pre>
- </div>
- <h5 class="propertyValue">Property Value</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Top">ConsoleDriver.Top</a></div>
- <h3 id="methods">Methods
- </h3>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_AddRune_System_Rune_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.AddRune(System.Rune)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L122">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_AddRune_" data-uid="Terminal.Gui.FakeDriver.AddRune*"></a>
- <h4 id="Terminal_Gui_FakeDriver_AddRune_System_Rune_" data-uid="Terminal.Gui.FakeDriver.AddRune(System.Rune)">AddRune(Rune)</h4>
- <div class="markdown level1 summary">Adds the specified rune to the display at the current cursor position.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void AddRune(Rune rune)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><span class="xref">Rune</span></td>
- <td><span class="parametername">rune</span></td>
- <td>Rune to add.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_AddRune_System_Rune_">ConsoleDriver.AddRune(Rune)</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_AddStr_NStack_ustring_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.AddStr(NStack.ustring)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L197">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_AddStr_" data-uid="Terminal.Gui.FakeDriver.AddStr*"></a>
- <h4 id="Terminal_Gui_FakeDriver_AddStr_NStack_ustring_" data-uid="Terminal.Gui.FakeDriver.AddStr(NStack.ustring)">AddStr(ustring)</h4>
- <div class="markdown level1 summary">Adds the <code class="paramref">str</code> to the display at the cursor position.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void AddStr(ustring str)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><span class="xref">ustring</span></td>
- <td><span class="parametername">str</span></td>
- <td>String.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_AddStr_NStack_ustring_">ConsoleDriver.AddStr(ustring)</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_CookMouse.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.CookMouse%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L664">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_CookMouse_" data-uid="Terminal.Gui.FakeDriver.CookMouse*"></a>
- <h4 id="Terminal_Gui_FakeDriver_CookMouse" data-uid="Terminal.Gui.FakeDriver.CookMouse">CookMouse()</h4>
- <div class="markdown level1 summary">Enables the cooked event processing from the mouse driver. Not implemented by any driver: See Issue #2300.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void CookMouse()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_CookMouse">ConsoleDriver.CookMouse()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_End.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.End%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L203">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_End_" data-uid="Terminal.Gui.FakeDriver.End*"></a>
- <h4 id="Terminal_Gui_FakeDriver_End" data-uid="Terminal.Gui.FakeDriver.End">End()</h4>
- <div class="markdown level1 summary">Ends the execution of the console driver.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void End()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_End">ConsoleDriver.End()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_EnsureCursorVisibility.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.EnsureCursorVisibility%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L515">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_EnsureCursorVisibility_" data-uid="Terminal.Gui.FakeDriver.EnsureCursorVisibility*"></a>
- <h4 id="Terminal_Gui_FakeDriver_EnsureCursorVisibility" data-uid="Terminal.Gui.FakeDriver.EnsureCursorVisibility">EnsureCursorVisibility()</h4>
- <div class="markdown level1 summary">Ensure the cursor visibility</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override bool EnsureCursorVisibility()</code></pre>
- </div>
- <h5 class="returns">Returns</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
- <td>true upon success</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_EnsureCursorVisibility">ConsoleDriver.EnsureCursorVisibility()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_FromVKPacketToKConsoleKeyInfo_System_ConsoleKeyInfo_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.FromVKPacketToKConsoleKeyInfo(System.ConsoleKeyInfo)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L311">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_FromVKPacketToKConsoleKeyInfo_" data-uid="Terminal.Gui.FakeDriver.FromVKPacketToKConsoleKeyInfo*"></a>
- <h4 id="Terminal_Gui_FakeDriver_FromVKPacketToKConsoleKeyInfo_System_ConsoleKeyInfo_" data-uid="Terminal.Gui.FakeDriver.FromVKPacketToKConsoleKeyInfo(System.ConsoleKeyInfo)">FromVKPacketToKConsoleKeyInfo(ConsoleKeyInfo)</h4>
- <div class="markdown level1 summary"></div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public ConsoleKeyInfo FromVKPacketToKConsoleKeyInfo(ConsoleKeyInfo consoleKeyInfo)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.consolekeyinfo">ConsoleKeyInfo</a></td>
- <td><span class="parametername">consoleKeyInfo</span></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="returns">Returns</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.consolekeyinfo">ConsoleKeyInfo</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <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&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.GetColors(System.Int32%2CTerminal.Gui.Color%40%2CTerminal.Gui.Color%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L608">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_GetColors_" data-uid="Terminal.Gui.FakeDriver.GetColors*"></a>
- <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>
- <div class="markdown level1 summary">Gets the foreground and background colors based on the value.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override bool GetColors(int value, out Color foreground, out Color background)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td><span class="parametername">value</span></td>
- <td>The value.</td>
- </tr>
- <tr>
- <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
- <td><span class="parametername">foreground</span></td>
- <td>The foreground.</td>
- </tr>
- <tr>
- <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
- <td><span class="parametername">background</span></td>
- <td>The background.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="returns">Returns</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <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>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_GetCursorVisibility_Terminal_Gui_CursorVisibility__.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.GetCursorVisibility(Terminal.Gui.CursorVisibility%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L498">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_GetCursorVisibility_" data-uid="Terminal.Gui.FakeDriver.GetCursorVisibility*"></a>
- <h4 id="Terminal_Gui_FakeDriver_GetCursorVisibility_Terminal_Gui_CursorVisibility__" data-uid="Terminal.Gui.FakeDriver.GetCursorVisibility(Terminal.Gui.CursorVisibility@)">GetCursorVisibility(out CursorVisibility)</h4>
- <div class="markdown level1 summary">Retreive the cursor caret visibility</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override bool GetCursorVisibility(out CursorVisibility visibility)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
- <td><span class="parametername">visibility</span></td>
- <td>The current <a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
- </tr>
- </tbody>
- </table>
- <h5 class="returns">Returns</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
- <td>true upon success</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_GetCursorVisibility_Terminal_Gui_CursorVisibility__">ConsoleDriver.GetCursorVisibility(out CursorVisibility)</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Init_System_Action_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Init(System.Action)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L224">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_Init_" data-uid="Terminal.Gui.FakeDriver.Init*"></a>
- <h4 id="Terminal_Gui_FakeDriver_Init_System_Action_" data-uid="Terminal.Gui.FakeDriver.Init(System.Action)">Init(Action)</h4>
- <div class="markdown level1 summary">Initializes the driver</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void Init(Action terminalResized)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></td>
- <td><span class="parametername">terminalResized</span></td>
- <td>Method to invoke when the terminal is resized.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Init_System_Action_">ConsoleDriver.Init(Action)</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <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&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.MakeAttribute(Terminal.Gui.Color%2CTerminal.Gui.Color)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L238">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_MakeAttribute_" data-uid="Terminal.Gui.FakeDriver.MakeAttribute*"></a>
- <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>
- <div class="markdown level1 summary">Make the attribute for the foreground and background colors.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override Attribute MakeAttribute(Color fore, Color back)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
- <td><span class="parametername">fore</span></td>
- <td>Foreground.</td>
- </tr>
- <tr>
- <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
- <td><span class="parametername">back</span></td>
- <td>Background.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="returns">Returns</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <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>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <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&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.MakeColor(Terminal.Gui.Color%2CTerminal.Gui.Color)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L209">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_MakeColor_" data-uid="Terminal.Gui.FakeDriver.MakeColor*"></a>
- <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>
- <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>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override Attribute MakeColor(Color foreground, Color background)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
- <td><span class="parametername">foreground</span></td>
- <td>The foreground color.</td>
- </tr>
- <tr>
- <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
- <td><span class="parametername">background</span></td>
- <td>The background color.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="returns">Returns</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
- <td>The attribute for the foreground and background colors.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <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>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Move_System_Int32_System_Int32_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Move(System.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L106">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_Move_" data-uid="Terminal.Gui.FakeDriver.Move*"></a>
- <h4 id="Terminal_Gui_FakeDriver_Move_System_Int32_System_Int32_" data-uid="Terminal.Gui.FakeDriver.Move(System.Int32,System.Int32)">Move(int, int)</h4>
- <div class="markdown level1 summary">Moves the cursor to the specified column and row.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void Move(int col, int row)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td><span class="parametername">col</span></td>
- <td>Column to move the cursor to.</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td><span class="parametername">row</span></td>
- <td>Row to move the cursor to.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Move_System_Int32_System_Int32_">ConsoleDriver.Move(int, int)</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <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&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'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L458">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_PrepareToRun_" data-uid="Terminal.Gui.FakeDriver.PrepareToRun*"></a>
- <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<KeyEvent>, Action<KeyEvent>, Action<KeyEvent>, Action<MouseEvent>)</h4>
- <div class="markdown level1 summary">Prepare the driver and set the key and mouse events handlers.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void PrepareToRun(MainLoop mainLoop, Action<KeyEvent> keyHandler, Action<KeyEvent> keyDownHandler, Action<KeyEvent> keyUpHandler, Action<MouseEvent> mouseHandler)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="Terminal.Gui.MainLoop.html">MainLoop</a></td>
- <td><span class="parametername">mainLoop</span></td>
- <td>The main loop.</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a><<a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a>></td>
- <td><span class="parametername">keyHandler</span></td>
- <td>The handler for ProcessKey</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a><<a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a>></td>
- <td><span class="parametername">keyDownHandler</span></td>
- <td>The handler for key down events</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a><<a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a>></td>
- <td><span class="parametername">keyUpHandler</span></td>
- <td>The handler for key up events</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a><<a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a>></td>
- <td><span class="parametername">mouseHandler</span></td>
- <td>The handler for mouse events</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <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<KeyEvent>, Action<KeyEvent>, Action<KeyEvent>, Action<MouseEvent>)</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Refresh.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Refresh%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L300">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_Refresh_" data-uid="Terminal.Gui.FakeDriver.Refresh*"></a>
- <h4 id="Terminal_Gui_FakeDriver_Refresh" data-uid="Terminal.Gui.FakeDriver.Refresh">Refresh()</h4>
- <div class="markdown level1 summary">Updates the screen to reflect all the changes that have been done to the display buffer</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void Refresh()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Refresh">ConsoleDriver.Refresh()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_ResizeScreen.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.ResizeScreen%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L569">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_ResizeScreen_" data-uid="Terminal.Gui.FakeDriver.ResizeScreen*"></a>
- <h4 id="Terminal_Gui_FakeDriver_ResizeScreen" data-uid="Terminal.Gui.FakeDriver.ResizeScreen">ResizeScreen()</h4>
- <div class="markdown level1 summary">Resizes the clip area when the screen is resized.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void ResizeScreen()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_ResizeScreen">ConsoleDriver.ResizeScreen()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <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&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SendKeys(System.Char%2CSystem.ConsoleKey%2CSystem.Boolean%2CSystem.Boolean%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L528">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_SendKeys_" data-uid="Terminal.Gui.FakeDriver.SendKeys*"></a>
- <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>
- <div class="markdown level1 summary">Allows sending keys without typing on a keyboard.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a></td>
- <td><span class="parametername">keyChar</span></td>
- <td>The character key.</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.consolekey">ConsoleKey</a></td>
- <td><span class="parametername">key</span></td>
- <td>The key.</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
- <td><span class="parametername">shift</span></td>
- <td>If shift key is sending.</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
- <td><span class="parametername">alt</span></td>
- <td>If alt key is sending.</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
- <td><span class="parametername">control</span></td>
- <td>If control key is sending.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <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>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetAttribute_Terminal_Gui_Attribute_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetAttribute(Terminal.Gui.Attribute)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L306">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_SetAttribute_" data-uid="Terminal.Gui.FakeDriver.SetAttribute*"></a>
- <h4 id="Terminal_Gui_FakeDriver_SetAttribute_Terminal_Gui_Attribute_" data-uid="Terminal.Gui.FakeDriver.SetAttribute(Terminal.Gui.Attribute)">SetAttribute(Attribute)</h4>
- <div class="markdown level1 summary">Selects the specified attribute as the attribute to use for future calls to AddRune and AddString.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void SetAttribute(Attribute c)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
- <td><span class="parametername">c</span></td>
- <td>C.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetAttribute_Terminal_Gui_Attribute_">ConsoleDriver.SetAttribute(Attribute)</a></div>
- <h5 id="Terminal_Gui_FakeDriver_SetAttribute_Terminal_Gui_Attribute__remarks">Remarks</h5>
- <div class="markdown level1 remarks">Implementations should call <code>base.SetAttribute(c)</code>.</div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetBufferSize_System_Int32_System_Int32_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetBufferSize(System.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L533">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_SetBufferSize_" data-uid="Terminal.Gui.FakeDriver.SetBufferSize*"></a>
- <h4 id="Terminal_Gui_FakeDriver_SetBufferSize_System_Int32_System_Int32_" data-uid="Terminal.Gui.FakeDriver.SetBufferSize(System.Int32,System.Int32)">SetBufferSize(int, int)</h4>
- <div class="markdown level1 summary"></div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public void SetBufferSize(int width, int height)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td><span class="parametername">width</span></td>
- <td></td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td><span class="parametername">height</span></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetColors_System_ConsoleColor_System_ConsoleColor_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetColors(System.ConsoleColor%2CSystem.ConsoleColor)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L655">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_SetColors_" data-uid="Terminal.Gui.FakeDriver.SetColors*"></a>
- <h4 id="Terminal_Gui_FakeDriver_SetColors_System_ConsoleColor_System_ConsoleColor_" data-uid="Terminal.Gui.FakeDriver.SetColors(System.ConsoleColor,System.ConsoleColor)">SetColors(ConsoleColor, ConsoleColor)</h4>
- <div class="markdown level1 summary">Set Colors from limit sets of colors. Not implemented by any driver: See Issue #2300.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void SetColors(ConsoleColor foreground, ConsoleColor background)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.consolecolor">ConsoleColor</a></td>
- <td><span class="parametername">foreground</span></td>
- <td>Foreground.</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.consolecolor">ConsoleColor</a></td>
- <td><span class="parametername">background</span></td>
- <td>Background.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetColors_System_ConsoleColor_System_ConsoleColor_">ConsoleDriver.SetColors(ConsoleColor, ConsoleColor)</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetColors_System_Int16_System_Int16_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetColors(System.Int16%2CSystem.Int16)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L659">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_SetColors_" data-uid="Terminal.Gui.FakeDriver.SetColors*"></a>
- <h4 id="Terminal_Gui_FakeDriver_SetColors_System_Int16_System_Int16_" data-uid="Terminal.Gui.FakeDriver.SetColors(System.Int16,System.Int16)">SetColors(short, short)</h4>
- <div class="markdown level1 summary">Advanced uses - set colors to any pre-set pairs, you would need to init_color
- that independently with the R, G, B values. Not implemented by any driver: See Issue #2300.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void SetColors(short foregroundColorId, short backgroundColorId)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a></td>
- <td><span class="parametername">foregroundColorId</span></td>
- <td>Foreground color identifier.</td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a></td>
- <td><span class="parametername">backgroundColorId</span></td>
- <td>Background color identifier.</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetColors_System_Int16_System_Int16_">ConsoleDriver.SetColors(short, short)</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetCursorVisibility_Terminal_Gui_CursorVisibility_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetCursorVisibility(Terminal.Gui.CursorVisibility)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L508">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_SetCursorVisibility_" data-uid="Terminal.Gui.FakeDriver.SetCursorVisibility*"></a>
- <h4 id="Terminal_Gui_FakeDriver_SetCursorVisibility_Terminal_Gui_CursorVisibility_" data-uid="Terminal.Gui.FakeDriver.SetCursorVisibility(Terminal.Gui.CursorVisibility)">SetCursorVisibility(CursorVisibility)</h4>
- <div class="markdown level1 summary">Change the cursor caret visibility</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override bool SetCursorVisibility(CursorVisibility visibility)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
- <td><span class="parametername">visibility</span></td>
- <td>The wished <a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
- </tr>
- </tbody>
- </table>
- <h5 class="returns">Returns</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
- <td>true upon success</td>
- </tr>
- </tbody>
- </table>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetCursorVisibility_Terminal_Gui_CursorVisibility_">ConsoleDriver.SetCursorVisibility(CursorVisibility)</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetWindowPosition_System_Int32_System_Int32_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetWindowPosition(System.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L553">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_SetWindowPosition_" data-uid="Terminal.Gui.FakeDriver.SetWindowPosition*"></a>
- <h4 id="Terminal_Gui_FakeDriver_SetWindowPosition_System_Int32_System_Int32_" data-uid="Terminal.Gui.FakeDriver.SetWindowPosition(System.Int32,System.Int32)">SetWindowPosition(int, int)</h4>
- <div class="markdown level1 summary"></div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public void SetWindowPosition(int left, int top)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td><span class="parametername">left</span></td>
- <td></td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td><span class="parametername">top</span></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_SetWindowSize_System_Int32_System_Int32_.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.SetWindowSize(System.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L542">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_SetWindowSize_" data-uid="Terminal.Gui.FakeDriver.SetWindowSize*"></a>
- <h4 id="Terminal_Gui_FakeDriver_SetWindowSize_System_Int32_System_Int32_" data-uid="Terminal.Gui.FakeDriver.SetWindowSize(System.Int32,System.Int32)">SetWindowSize(int, int)</h4>
- <div class="markdown level1 summary"></div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public void SetWindowSize(int width, int height)</code></pre>
- </div>
- <h5 class="parameters">Parameters</h5>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Type</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td><span class="parametername">width</span></td>
- <td></td>
- </tr>
- <tr>
- <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
- <td><span class="parametername">height</span></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_StartReportingMouseMoves.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.StartReportingMouseMoves%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L643">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_StartReportingMouseMoves_" data-uid="Terminal.Gui.FakeDriver.StartReportingMouseMoves*"></a>
- <h4 id="Terminal_Gui_FakeDriver_StartReportingMouseMoves" data-uid="Terminal.Gui.FakeDriver.StartReportingMouseMoves">StartReportingMouseMoves()</h4>
- <div class="markdown level1 summary">Start of mouse moves.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void StartReportingMouseMoves()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_StartReportingMouseMoves">ConsoleDriver.StartReportingMouseMoves()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_StopReportingMouseMoves.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.StopReportingMouseMoves%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L647">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_StopReportingMouseMoves_" data-uid="Terminal.Gui.FakeDriver.StopReportingMouseMoves*"></a>
- <h4 id="Terminal_Gui_FakeDriver_StopReportingMouseMoves" data-uid="Terminal.Gui.FakeDriver.StopReportingMouseMoves">StopReportingMouseMoves()</h4>
- <div class="markdown level1 summary">Stop reporting mouses moves.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void StopReportingMouseMoves()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_StopReportingMouseMoves">ConsoleDriver.StopReportingMouseMoves()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_Suspend.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.Suspend%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L651">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_Suspend_" data-uid="Terminal.Gui.FakeDriver.Suspend*"></a>
- <h4 id="Terminal_Gui_FakeDriver_Suspend" data-uid="Terminal.Gui.FakeDriver.Suspend">Suspend()</h4>
- <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>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void Suspend()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Suspend">ConsoleDriver.Suspend()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_UncookMouse.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.UncookMouse%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L668">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_UncookMouse_" data-uid="Terminal.Gui.FakeDriver.UncookMouse*"></a>
- <h4 id="Terminal_Gui_FakeDriver_UncookMouse" data-uid="Terminal.Gui.FakeDriver.UncookMouse">UncookMouse()</h4>
- <div class="markdown level1 summary">Disables the cooked event processing from the mouse driver.
- At startup, it is assumed mouse events are cooked. Not implemented by any driver: See Issue #2300.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void UncookMouse()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UncookMouse">ConsoleDriver.UncookMouse()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_UpdateCursor.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.UpdateCursor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L628">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_UpdateCursor_" data-uid="Terminal.Gui.FakeDriver.UpdateCursor*"></a>
- <h4 id="Terminal_Gui_FakeDriver_UpdateCursor" data-uid="Terminal.Gui.FakeDriver.UpdateCursor">UpdateCursor()</h4>
- <div class="markdown level1 summary">Updates the location of the cursor position</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void UpdateCursor()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpdateCursor">ConsoleDriver.UpdateCursor()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_UpdateOffScreen.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.UpdateOffScreen%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L590">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_UpdateOffScreen_" data-uid="Terminal.Gui.FakeDriver.UpdateOffScreen*"></a>
- <h4 id="Terminal_Gui_FakeDriver_UpdateOffScreen" data-uid="Terminal.Gui.FakeDriver.UpdateOffScreen">UpdateOffScreen()</h4>
- <div class="markdown level1 summary">Reset and recreate the contents and the driver buffer.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void UpdateOffScreen()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpdateOffScreen">ConsoleDriver.UpdateOffScreen()</a></div>
- <span class="small pull-right mobile-hide">
- <span class="divider">|</span>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver_UpdateScreen.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver.UpdateScreen%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
- </span>
- <span class="small pull-right mobile-hide">
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L258">View Source</a>
- </span>
- <a id="Terminal_Gui_FakeDriver_UpdateScreen_" data-uid="Terminal.Gui.FakeDriver.UpdateScreen*"></a>
- <h4 id="Terminal_Gui_FakeDriver_UpdateScreen" data-uid="Terminal.Gui.FakeDriver.UpdateScreen">UpdateScreen()</h4>
- <div class="markdown level1 summary">Redraws the physical screen with the contents that have been queued up via any of the printing commands.</div>
- <div class="markdown level1 conceptual"></div>
- <h5 class="declaration">Declaration</h5>
- <div class="codewrapper">
- <pre><code class="lang-csharp hljs">public override void UpdateScreen()</code></pre>
- </div>
- <h5 class="overrides">Overrides</h5>
- <div><a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_UpdateScreen">ConsoleDriver.UpdateScreen()</a></div>
- </article>
- </div>
- <div class="hidden-sm col-md-2" role="complementary">
- <div class="sideaffix">
- <div class="contribution">
- <ul class="nav">
- <li>
- <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_FakeDriver.md&value=---%0Auid%3A%20Terminal.Gui.FakeDriver%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Edit this page</a>
- </li>
- <li>
- <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/ConsoleDrivers/FakeDriver/FakeDriver.cs/#L19" class="contribution-link">View Source</a>
- </li>
- </ul>
- </div>
- <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
- <h5>In this article</h5>
- <div></div>
- </nav>
- </div>
- </div>
- </div>
- </div>
- <footer>
- <div class="grad-bottom"></div>
- <div class="footer">
- <div class="container">
- <span class="pull-right">
- <a href="#top">Back to top</a>
- </span>
-
- <span>Generated by <strong>DocFX</strong></span>
- </div>
- </div>
- </footer>
- </div>
- <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
- <script type="text/javascript" src="../../styles/docfx.js"></script>
- <script type="text/javascript" src="../../styles/main.js"></script>
- </body>
- </html>
|