File tree Expand file tree Collapse file tree
tests/RoyalTerminal.IntegrationTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,6 +188,25 @@ public void OfficialTerminal_KittyGraphics_AreExposedThroughCurrentWrappers()
188188 Assert . False ( iterator . MoveNext ( ) ) ;
189189 }
190190
191+ [ GhosttyNativeFact ]
192+ public void OfficialTerminal_KittyTempFileMediumCanBeDisabled ( )
193+ {
194+ GhosttyVtHelpers . GhosttyBuildFeatures features = GhosttyVtHelpers . GetBuildFeatures ( ) ;
195+ if ( ! features . KittyGraphics )
196+ {
197+ return ;
198+ }
199+
200+ using GhosttyTerminal terminal = new ( 80 , 24 ) ;
201+ terminal . SetKittyImageMediumTempFileDirectory ( Path . GetTempPath ( ) ) ;
202+
203+ Assert . True ( terminal . TryGetKittyImageMediumTempFileDirectory ( out _ ) ) ;
204+
205+ terminal . DisableKittyImageMediumTempFile ( ) ;
206+
207+ Assert . False ( terminal . TryGetKittyImageMediumTempFileDirectory ( out _ ) ) ;
208+ }
209+
191210 [ GhosttyNativeFact ]
192211 public void OfficialTerminal_EffectCallbacks_FireForBellTitleAndWritePty ( )
193212 {
You can’t perform that action at this time.
0 commit comments