snapshot update

This commit is contained in:
Will McGugan
2024-08-16 15:49:40 +01:00
parent 39ed9a7b01
commit d2ccc36d89
6 changed files with 251 additions and 278 deletions

View File

@@ -247,9 +247,7 @@ class LinuxDriver(Driver):
self.write("\x1b[?1004h") # Enable FocusIn/FocusOut.
self.write("\x1b[>1u") # https://sw.kovidgoyal.net/kitty/keyboard-protocol/
# Disambiguate escape codes https://sw.kovidgoyal.net/kitty/keyboard-protocol/#progressive-enhancement
# self.write(
# "\x1b[1;u"
# ) # Causes https://github.com/Textualize/textual/issues/4870 on iTerm
self.write("\x1b[=1;u")
self.flush()
self._key_thread = Thread(target=self._run_input_thread)
send_size_event()

View File

@@ -23,28 +23,3 @@ async def test_escape_closes_when_no_list_visible() -> None:
assert CommandPalette.is_open(pilot.app)
await pilot.press("escape")
assert not CommandPalette.is_open(pilot.app)
async def test_escape_does_not_close_when_list_visible() -> None:
"""Pressing escape when a hit list is visible should not close the command palette."""
async with CommandPaletteApp().run_test() as pilot:
assert CommandPalette.is_open(pilot.app)
await pilot.press("a")
await pilot.press("escape")
assert CommandPalette.is_open(pilot.app)
await pilot.press("escape")
assert not CommandPalette.is_open(pilot.app)
async def test_down_arrow_should_undo_closing_of_list_via_escape() -> None:
"""Down arrow should reopen the hit list if escape closed it before."""
async with CommandPaletteApp().run_test() as pilot:
assert CommandPalette.is_open(pilot.app)
await pilot.press("a")
await pilot.press("escape")
assert CommandPalette.is_open(pilot.app)
await pilot.press("down")
await pilot.press("escape")
assert CommandPalette.is_open(pilot.app)
await pilot.press("escape")
assert not CommandPalette.is_open(pilot.app)

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -19,135 +19,135 @@
font-weight: 700;
}
.terminal-881099794-matrix {
.terminal-407601934-matrix {
font-family: Fira Code, monospace;
font-size: 20px;
line-height: 24.4px;
font-variant-east-asian: full-width;
}
.terminal-881099794-title {
.terminal-407601934-title {
font-size: 18px;
font-weight: bold;
font-family: arial;
}
.terminal-881099794-r1 { fill: #e1e1e1 }
.terminal-881099794-r2 { fill: #c5c8c6 }
.terminal-881099794-r3 { fill: #dde8f3;font-weight: bold }
.terminal-881099794-r4 { fill: #ddedf9 }
.terminal-881099794-r5 { fill: #308fd9 }
.terminal-407601934-r1 { fill: #e1e1e1 }
.terminal-407601934-r2 { fill: #c5c8c6 }
.terminal-407601934-r3 { fill: #dde8f3;font-weight: bold }
.terminal-407601934-r4 { fill: #ddedf9 }
.terminal-407601934-r5 { fill: #308fd9 }
</style>
<defs>
<clipPath id="terminal-881099794-clip-terminal">
<clipPath id="terminal-407601934-clip-terminal">
<rect x="0" y="0" width="975.0" height="584.5999999999999" />
</clipPath>
<clipPath id="terminal-881099794-line-0">
<clipPath id="terminal-407601934-line-0">
<rect x="0" y="1.5" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-1">
<clipPath id="terminal-407601934-line-1">
<rect x="0" y="25.9" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-2">
<clipPath id="terminal-407601934-line-2">
<rect x="0" y="50.3" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-3">
<clipPath id="terminal-407601934-line-3">
<rect x="0" y="74.7" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-4">
<clipPath id="terminal-407601934-line-4">
<rect x="0" y="99.1" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-5">
<clipPath id="terminal-407601934-line-5">
<rect x="0" y="123.5" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-6">
<clipPath id="terminal-407601934-line-6">
<rect x="0" y="147.9" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-7">
<clipPath id="terminal-407601934-line-7">
<rect x="0" y="172.3" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-8">
<clipPath id="terminal-407601934-line-8">
<rect x="0" y="196.7" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-9">
<clipPath id="terminal-407601934-line-9">
<rect x="0" y="221.1" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-10">
<clipPath id="terminal-407601934-line-10">
<rect x="0" y="245.5" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-11">
<clipPath id="terminal-407601934-line-11">
<rect x="0" y="269.9" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-12">
<clipPath id="terminal-407601934-line-12">
<rect x="0" y="294.3" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-13">
<clipPath id="terminal-407601934-line-13">
<rect x="0" y="318.7" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-14">
<clipPath id="terminal-407601934-line-14">
<rect x="0" y="343.1" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-15">
<clipPath id="terminal-407601934-line-15">
<rect x="0" y="367.5" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-16">
<clipPath id="terminal-407601934-line-16">
<rect x="0" y="391.9" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-17">
<clipPath id="terminal-407601934-line-17">
<rect x="0" y="416.3" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-18">
<clipPath id="terminal-407601934-line-18">
<rect x="0" y="440.7" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-19">
<clipPath id="terminal-407601934-line-19">
<rect x="0" y="465.1" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-20">
<clipPath id="terminal-407601934-line-20">
<rect x="0" y="489.5" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-21">
<clipPath id="terminal-407601934-line-21">
<rect x="0" y="513.9" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-881099794-line-22">
<clipPath id="terminal-407601934-line-22">
<rect x="0" y="538.3" width="976" height="24.65"/>
</clipPath>
</defs>
<rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="992" height="633.6" rx="8"/><text class="terminal-881099794-title" fill="#c5c8c6" text-anchor="middle" x="496" y="27">ClassicFooterStylingApp</text>
<rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="992" height="633.6" rx="8"/><text class="terminal-407601934-title" fill="#c5c8c6" text-anchor="middle" x="496" y="27">ClassicFooterStylingApp</text>
<g transform="translate(26,22)">
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
<circle cx="44" cy="0" r="7" fill="#28c840"/>
</g>
<g transform="translate(9, 41)" clip-path="url(#terminal-881099794-clip-terminal)">
<rect fill="#1e1e1e" x="0" y="1.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="25.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="50.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="74.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="99.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="123.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="147.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="172.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="196.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="221.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="245.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="269.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="294.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="318.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="343.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="367.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="391.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="416.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="440.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="465.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="489.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="513.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="538.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#0053aa" x="0" y="562.7" width="97.6" height="24.65" shape-rendering="crispEdges"/><rect fill="#0178d4" x="97.6" y="562.7" width="219.6" height="24.65" shape-rendering="crispEdges"/><rect fill="#0053aa" x="317.2" y="562.7" width="97.6" height="24.65" shape-rendering="crispEdges"/><rect fill="#0178d4" x="414.8" y="562.7" width="402.6" height="24.65" shape-rendering="crispEdges"/><rect fill="#0178d4" x="817.4" y="562.7" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#0053aa" x="829.6" y="562.7" width="24.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#0178d4" x="854" y="562.7" width="109.8" height="24.65" shape-rendering="crispEdges"/><rect fill="#0178d4" x="963.8" y="562.7" width="12.2" height="24.65" shape-rendering="crispEdges"/>
<g class="terminal-881099794-matrix">
<text class="terminal-881099794-r2" x="976" y="20" textLength="12.2" clip-path="url(#terminal-881099794-line-0)">
</text><text class="terminal-881099794-r2" x="976" y="44.4" textLength="12.2" clip-path="url(#terminal-881099794-line-1)">
</text><text class="terminal-881099794-r2" x="976" y="68.8" textLength="12.2" clip-path="url(#terminal-881099794-line-2)">
</text><text class="terminal-881099794-r2" x="976" y="93.2" textLength="12.2" clip-path="url(#terminal-881099794-line-3)">
</text><text class="terminal-881099794-r2" x="976" y="117.6" textLength="12.2" clip-path="url(#terminal-881099794-line-4)">
</text><text class="terminal-881099794-r2" x="976" y="142" textLength="12.2" clip-path="url(#terminal-881099794-line-5)">
</text><text class="terminal-881099794-r2" x="976" y="166.4" textLength="12.2" clip-path="url(#terminal-881099794-line-6)">
</text><text class="terminal-881099794-r2" x="976" y="190.8" textLength="12.2" clip-path="url(#terminal-881099794-line-7)">
</text><text class="terminal-881099794-r2" x="976" y="215.2" textLength="12.2" clip-path="url(#terminal-881099794-line-8)">
</text><text class="terminal-881099794-r2" x="976" y="239.6" textLength="12.2" clip-path="url(#terminal-881099794-line-9)">
</text><text class="terminal-881099794-r2" x="976" y="264" textLength="12.2" clip-path="url(#terminal-881099794-line-10)">
</text><text class="terminal-881099794-r2" x="976" y="288.4" textLength="12.2" clip-path="url(#terminal-881099794-line-11)">
</text><text class="terminal-881099794-r2" x="976" y="312.8" textLength="12.2" clip-path="url(#terminal-881099794-line-12)">
</text><text class="terminal-881099794-r2" x="976" y="337.2" textLength="12.2" clip-path="url(#terminal-881099794-line-13)">
</text><text class="terminal-881099794-r2" x="976" y="361.6" textLength="12.2" clip-path="url(#terminal-881099794-line-14)">
</text><text class="terminal-881099794-r2" x="976" y="386" textLength="12.2" clip-path="url(#terminal-881099794-line-15)">
</text><text class="terminal-881099794-r2" x="976" y="410.4" textLength="12.2" clip-path="url(#terminal-881099794-line-16)">
</text><text class="terminal-881099794-r2" x="976" y="434.8" textLength="12.2" clip-path="url(#terminal-881099794-line-17)">
</text><text class="terminal-881099794-r2" x="976" y="459.2" textLength="12.2" clip-path="url(#terminal-881099794-line-18)">
</text><text class="terminal-881099794-r2" x="976" y="483.6" textLength="12.2" clip-path="url(#terminal-881099794-line-19)">
</text><text class="terminal-881099794-r2" x="976" y="508" textLength="12.2" clip-path="url(#terminal-881099794-line-20)">
</text><text class="terminal-881099794-r2" x="976" y="532.4" textLength="12.2" clip-path="url(#terminal-881099794-line-21)">
</text><text class="terminal-881099794-r2" x="976" y="556.8" textLength="12.2" clip-path="url(#terminal-881099794-line-22)">
</text><text class="terminal-881099794-r3" x="0" y="581.2" textLength="97.6" clip-path="url(#terminal-881099794-line-23)">&#160;CTRL+T&#160;</text><text class="terminal-881099794-r4" x="97.6" y="581.2" textLength="219.6" clip-path="url(#terminal-881099794-line-23)">&#160;Toggle&#160;Dark&#160;mode&#160;</text><text class="terminal-881099794-r3" x="317.2" y="581.2" textLength="97.6" clip-path="url(#terminal-881099794-line-23)">&#160;CTRL+Q&#160;</text><text class="terminal-881099794-r4" x="414.8" y="581.2" textLength="402.6" clip-path="url(#terminal-881099794-line-23)">&#160;Quit&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-881099794-r5" x="817.4" y="581.2" textLength="12.2" clip-path="url(#terminal-881099794-line-23)"></text><text class="terminal-881099794-r3" x="829.6" y="581.2" textLength="24.4" clip-path="url(#terminal-881099794-line-23)">^p</text><text class="terminal-881099794-r4" x="854" y="581.2" textLength="109.8" clip-path="url(#terminal-881099794-line-23)">&#160;palette&#160;</text>
<g transform="translate(9, 41)" clip-path="url(#terminal-407601934-clip-terminal)">
<rect fill="#1e1e1e" x="0" y="1.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="25.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="50.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="74.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="99.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="123.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="147.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="172.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="196.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="221.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="245.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="269.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="294.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="318.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="343.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="367.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="391.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="416.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="440.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="465.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="489.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="513.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="538.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#0053aa" x="0" y="562.7" width="48.8" height="24.65" shape-rendering="crispEdges"/><rect fill="#0178d4" x="48.8" y="562.7" width="219.6" height="24.65" shape-rendering="crispEdges"/><rect fill="#0053aa" x="268.4" y="562.7" width="48.8" height="24.65" shape-rendering="crispEdges"/><rect fill="#0178d4" x="317.2" y="562.7" width="500.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#0178d4" x="817.4" y="562.7" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#0053aa" x="829.6" y="562.7" width="24.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#0178d4" x="854" y="562.7" width="109.8" height="24.65" shape-rendering="crispEdges"/><rect fill="#0178d4" x="963.8" y="562.7" width="12.2" height="24.65" shape-rendering="crispEdges"/>
<g class="terminal-407601934-matrix">
<text class="terminal-407601934-r2" x="976" y="20" textLength="12.2" clip-path="url(#terminal-407601934-line-0)">
</text><text class="terminal-407601934-r2" x="976" y="44.4" textLength="12.2" clip-path="url(#terminal-407601934-line-1)">
</text><text class="terminal-407601934-r2" x="976" y="68.8" textLength="12.2" clip-path="url(#terminal-407601934-line-2)">
</text><text class="terminal-407601934-r2" x="976" y="93.2" textLength="12.2" clip-path="url(#terminal-407601934-line-3)">
</text><text class="terminal-407601934-r2" x="976" y="117.6" textLength="12.2" clip-path="url(#terminal-407601934-line-4)">
</text><text class="terminal-407601934-r2" x="976" y="142" textLength="12.2" clip-path="url(#terminal-407601934-line-5)">
</text><text class="terminal-407601934-r2" x="976" y="166.4" textLength="12.2" clip-path="url(#terminal-407601934-line-6)">
</text><text class="terminal-407601934-r2" x="976" y="190.8" textLength="12.2" clip-path="url(#terminal-407601934-line-7)">
</text><text class="terminal-407601934-r2" x="976" y="215.2" textLength="12.2" clip-path="url(#terminal-407601934-line-8)">
</text><text class="terminal-407601934-r2" x="976" y="239.6" textLength="12.2" clip-path="url(#terminal-407601934-line-9)">
</text><text class="terminal-407601934-r2" x="976" y="264" textLength="12.2" clip-path="url(#terminal-407601934-line-10)">
</text><text class="terminal-407601934-r2" x="976" y="288.4" textLength="12.2" clip-path="url(#terminal-407601934-line-11)">
</text><text class="terminal-407601934-r2" x="976" y="312.8" textLength="12.2" clip-path="url(#terminal-407601934-line-12)">
</text><text class="terminal-407601934-r2" x="976" y="337.2" textLength="12.2" clip-path="url(#terminal-407601934-line-13)">
</text><text class="terminal-407601934-r2" x="976" y="361.6" textLength="12.2" clip-path="url(#terminal-407601934-line-14)">
</text><text class="terminal-407601934-r2" x="976" y="386" textLength="12.2" clip-path="url(#terminal-407601934-line-15)">
</text><text class="terminal-407601934-r2" x="976" y="410.4" textLength="12.2" clip-path="url(#terminal-407601934-line-16)">
</text><text class="terminal-407601934-r2" x="976" y="434.8" textLength="12.2" clip-path="url(#terminal-407601934-line-17)">
</text><text class="terminal-407601934-r2" x="976" y="459.2" textLength="12.2" clip-path="url(#terminal-407601934-line-18)">
</text><text class="terminal-407601934-r2" x="976" y="483.6" textLength="12.2" clip-path="url(#terminal-407601934-line-19)">
</text><text class="terminal-407601934-r2" x="976" y="508" textLength="12.2" clip-path="url(#terminal-407601934-line-20)">
</text><text class="terminal-407601934-r2" x="976" y="532.4" textLength="12.2" clip-path="url(#terminal-407601934-line-21)">
</text><text class="terminal-407601934-r2" x="976" y="556.8" textLength="12.2" clip-path="url(#terminal-407601934-line-22)">
</text><text class="terminal-407601934-r3" x="0" y="581.2" textLength="48.8" clip-path="url(#terminal-407601934-line-23)">&#160;^T&#160;</text><text class="terminal-407601934-r4" x="48.8" y="581.2" textLength="219.6" clip-path="url(#terminal-407601934-line-23)">&#160;Toggle&#160;Dark&#160;mode&#160;</text><text class="terminal-407601934-r3" x="268.4" y="581.2" textLength="48.8" clip-path="url(#terminal-407601934-line-23)">&#160;^Q&#160;</text><text class="terminal-407601934-r4" x="317.2" y="581.2" textLength="500.2" clip-path="url(#terminal-407601934-line-23)">&#160;Quit&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-407601934-r5" x="817.4" y="581.2" textLength="12.2" clip-path="url(#terminal-407601934-line-23)"></text><text class="terminal-407601934-r3" x="829.6" y="581.2" textLength="24.4" clip-path="url(#terminal-407601934-line-23)">^p</text><text class="terminal-407601934-r4" x="854" y="581.2" textLength="109.8" clip-path="url(#terminal-407601934-line-23)">&#160;palette&#160;</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -19,139 +19,139 @@
font-weight: 700;
}
.terminal-400643882-matrix {
.terminal-3006158794-matrix {
font-family: Fira Code, monospace;
font-size: 20px;
line-height: 24.4px;
font-variant-east-asian: full-width;
}
.terminal-400643882-title {
.terminal-3006158794-title {
font-size: 18px;
font-weight: bold;
font-family: arial;
}
.terminal-400643882-r1 { fill: #e1e1e1 }
.terminal-400643882-r2 { fill: #c5c8c6 }
.terminal-400643882-r3 { fill: #303336 }
.terminal-400643882-r4 { fill: #a7a7a7;font-weight: bold }
.terminal-400643882-r5 { fill: #0f0f0f }
.terminal-400643882-r6 { fill: #fea62b;font-weight: bold }
.terminal-400643882-r7 { fill: #a7a9ab }
.terminal-400643882-r8 { fill: #e2e3e3 }
.terminal-400643882-r9 { fill: #4c5055 }
.terminal-3006158794-r1 { fill: #e1e1e1 }
.terminal-3006158794-r2 { fill: #c5c8c6 }
.terminal-3006158794-r3 { fill: #303336 }
.terminal-3006158794-r4 { fill: #a7a7a7;font-weight: bold }
.terminal-3006158794-r5 { fill: #0f0f0f }
.terminal-3006158794-r6 { fill: #fea62b;font-weight: bold }
.terminal-3006158794-r7 { fill: #a7a9ab }
.terminal-3006158794-r8 { fill: #e2e3e3 }
.terminal-3006158794-r9 { fill: #4c5055 }
</style>
<defs>
<clipPath id="terminal-400643882-clip-terminal">
<clipPath id="terminal-3006158794-clip-terminal">
<rect x="0" y="0" width="975.0" height="584.5999999999999" />
</clipPath>
<clipPath id="terminal-400643882-line-0">
<clipPath id="terminal-3006158794-line-0">
<rect x="0" y="1.5" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-1">
<clipPath id="terminal-3006158794-line-1">
<rect x="0" y="25.9" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-2">
<clipPath id="terminal-3006158794-line-2">
<rect x="0" y="50.3" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-3">
<clipPath id="terminal-3006158794-line-3">
<rect x="0" y="74.7" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-4">
<clipPath id="terminal-3006158794-line-4">
<rect x="0" y="99.1" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-5">
<clipPath id="terminal-3006158794-line-5">
<rect x="0" y="123.5" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-6">
<clipPath id="terminal-3006158794-line-6">
<rect x="0" y="147.9" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-7">
<clipPath id="terminal-3006158794-line-7">
<rect x="0" y="172.3" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-8">
<clipPath id="terminal-3006158794-line-8">
<rect x="0" y="196.7" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-9">
<clipPath id="terminal-3006158794-line-9">
<rect x="0" y="221.1" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-10">
<clipPath id="terminal-3006158794-line-10">
<rect x="0" y="245.5" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-11">
<clipPath id="terminal-3006158794-line-11">
<rect x="0" y="269.9" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-12">
<clipPath id="terminal-3006158794-line-12">
<rect x="0" y="294.3" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-13">
<clipPath id="terminal-3006158794-line-13">
<rect x="0" y="318.7" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-14">
<clipPath id="terminal-3006158794-line-14">
<rect x="0" y="343.1" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-15">
<clipPath id="terminal-3006158794-line-15">
<rect x="0" y="367.5" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-16">
<clipPath id="terminal-3006158794-line-16">
<rect x="0" y="391.9" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-17">
<clipPath id="terminal-3006158794-line-17">
<rect x="0" y="416.3" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-18">
<clipPath id="terminal-3006158794-line-18">
<rect x="0" y="440.7" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-19">
<clipPath id="terminal-3006158794-line-19">
<rect x="0" y="465.1" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-20">
<clipPath id="terminal-3006158794-line-20">
<rect x="0" y="489.5" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-21">
<clipPath id="terminal-3006158794-line-21">
<rect x="0" y="513.9" width="976" height="24.65"/>
</clipPath>
<clipPath id="terminal-400643882-line-22">
<clipPath id="terminal-3006158794-line-22">
<rect x="0" y="538.3" width="976" height="24.65"/>
</clipPath>
</defs>
<rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="992" height="633.6" rx="8"/><text class="terminal-400643882-title" fill="#c5c8c6" text-anchor="middle" x="496" y="27">ExampleApp</text>
<rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="992" height="633.6" rx="8"/><text class="terminal-3006158794-title" fill="#c5c8c6" text-anchor="middle" x="496" y="27">ExampleApp</text>
<g transform="translate(26,22)">
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
<circle cx="44" cy="0" r="7" fill="#28c840"/>
</g>
<g transform="translate(9, 41)" clip-path="url(#terminal-400643882-clip-terminal)">
<g transform="translate(9, 41)" clip-path="url(#terminal-3006158794-clip-terminal)">
<rect fill="#1e1e1e" x="0" y="1.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="25.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="50.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="74.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="99.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="123.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="147.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="172.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="196.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="221.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="245.5" width="390.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#202225" x="390.4" y="245.5" width="195.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="585.6" y="245.5" width="390.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="269.9" width="390.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#202225" x="390.4" y="269.9" width="36.6" height="24.65" shape-rendering="crispEdges"/><rect fill="#202225" x="427" y="269.9" width="122" height="24.65" shape-rendering="crispEdges"/><rect fill="#202225" x="549" y="269.9" width="36.6" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="585.6" y="269.9" width="390.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="294.3" width="390.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#202225" x="390.4" y="294.3" width="195.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="585.6" y="294.3" width="390.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="318.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="343.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="367.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="391.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="416.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="440.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="465.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="489.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="513.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="538.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#24292f" x="0" y="562.7" width="85.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#24292f" x="85.4" y="562.7" width="170.8" height="24.65" shape-rendering="crispEdges"/><rect fill="#24292f" x="256.2" y="562.7" width="573.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#24292f" x="829.6" y="562.7" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#24292f" x="841.8" y="562.7" width="24.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#24292f" x="866.2" y="562.7" width="97.6" height="24.65" shape-rendering="crispEdges"/><rect fill="#24292f" x="963.8" y="562.7" width="12.2" height="24.65" shape-rendering="crispEdges"/>
<g class="terminal-400643882-matrix">
<text class="terminal-400643882-r2" x="976" y="20" textLength="12.2" clip-path="url(#terminal-400643882-line-0)">
</text><text class="terminal-400643882-r2" x="976" y="44.4" textLength="12.2" clip-path="url(#terminal-400643882-line-1)">
</text><text class="terminal-400643882-r2" x="976" y="68.8" textLength="12.2" clip-path="url(#terminal-400643882-line-2)">
</text><text class="terminal-400643882-r2" x="976" y="93.2" textLength="12.2" clip-path="url(#terminal-400643882-line-3)">
</text><text class="terminal-400643882-r2" x="976" y="117.6" textLength="12.2" clip-path="url(#terminal-400643882-line-4)">
</text><text class="terminal-400643882-r2" x="976" y="142" textLength="12.2" clip-path="url(#terminal-400643882-line-5)">
</text><text class="terminal-400643882-r2" x="976" y="166.4" textLength="12.2" clip-path="url(#terminal-400643882-line-6)">
</text><text class="terminal-400643882-r2" x="976" y="190.8" textLength="12.2" clip-path="url(#terminal-400643882-line-7)">
</text><text class="terminal-400643882-r2" x="976" y="215.2" textLength="12.2" clip-path="url(#terminal-400643882-line-8)">
</text><text class="terminal-400643882-r1" x="0" y="239.6" textLength="976" clip-path="url(#terminal-400643882-line-9)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Hover&#160;the&#160;button&#160;then&#160;hit&#160;space&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-400643882-r2" x="976" y="239.6" textLength="12.2" clip-path="url(#terminal-400643882-line-9)">
</text><text class="terminal-400643882-r3" x="390.4" y="264" textLength="195.2" clip-path="url(#terminal-400643882-line-10)">▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔</text><text class="terminal-400643882-r2" x="976" y="264" textLength="12.2" clip-path="url(#terminal-400643882-line-10)">
</text><text class="terminal-400643882-r4" x="427" y="288.4" textLength="122" clip-path="url(#terminal-400643882-line-11)">&#160;Disabled&#160;</text><text class="terminal-400643882-r2" x="976" y="288.4" textLength="12.2" clip-path="url(#terminal-400643882-line-11)">
</text><text class="terminal-400643882-r5" x="390.4" y="312.8" textLength="195.2" clip-path="url(#terminal-400643882-line-12)">▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁</text><text class="terminal-400643882-r2" x="976" y="312.8" textLength="12.2" clip-path="url(#terminal-400643882-line-12)">
</text><text class="terminal-400643882-r2" x="976" y="337.2" textLength="12.2" clip-path="url(#terminal-400643882-line-13)">
</text><text class="terminal-400643882-r2" x="976" y="361.6" textLength="12.2" clip-path="url(#terminal-400643882-line-14)">
</text><text class="terminal-400643882-r2" x="976" y="386" textLength="12.2" clip-path="url(#terminal-400643882-line-15)">
</text><text class="terminal-400643882-r2" x="976" y="410.4" textLength="12.2" clip-path="url(#terminal-400643882-line-16)">
</text><text class="terminal-400643882-r2" x="976" y="434.8" textLength="12.2" clip-path="url(#terminal-400643882-line-17)">
</text><text class="terminal-400643882-r2" x="976" y="459.2" textLength="12.2" clip-path="url(#terminal-400643882-line-18)">
</text><text class="terminal-400643882-r2" x="976" y="483.6" textLength="12.2" clip-path="url(#terminal-400643882-line-19)">
</text><text class="terminal-400643882-r2" x="976" y="508" textLength="12.2" clip-path="url(#terminal-400643882-line-20)">
</text><text class="terminal-400643882-r2" x="976" y="532.4" textLength="12.2" clip-path="url(#terminal-400643882-line-21)">
</text><text class="terminal-400643882-r2" x="976" y="556.8" textLength="12.2" clip-path="url(#terminal-400643882-line-22)">
</text><text class="terminal-400643882-r6" x="0" y="581.2" textLength="85.4" clip-path="url(#terminal-400643882-line-23)">&#160;SPACE&#160;</text><text class="terminal-400643882-r7" x="85.4" y="581.2" textLength="170.8" clip-path="url(#terminal-400643882-line-23)">Toggle&#160;Button&#160;</text><text class="terminal-400643882-r9" x="829.6" y="581.2" textLength="12.2" clip-path="url(#terminal-400643882-line-23)"></text><text class="terminal-400643882-r6" x="841.8" y="581.2" textLength="24.4" clip-path="url(#terminal-400643882-line-23)">^p</text><text class="terminal-400643882-r7" x="866.2" y="581.2" textLength="97.6" clip-path="url(#terminal-400643882-line-23)">&#160;palette</text>
<g class="terminal-3006158794-matrix">
<text class="terminal-3006158794-r2" x="976" y="20" textLength="12.2" clip-path="url(#terminal-3006158794-line-0)">
</text><text class="terminal-3006158794-r2" x="976" y="44.4" textLength="12.2" clip-path="url(#terminal-3006158794-line-1)">
</text><text class="terminal-3006158794-r2" x="976" y="68.8" textLength="12.2" clip-path="url(#terminal-3006158794-line-2)">
</text><text class="terminal-3006158794-r2" x="976" y="93.2" textLength="12.2" clip-path="url(#terminal-3006158794-line-3)">
</text><text class="terminal-3006158794-r2" x="976" y="117.6" textLength="12.2" clip-path="url(#terminal-3006158794-line-4)">
</text><text class="terminal-3006158794-r2" x="976" y="142" textLength="12.2" clip-path="url(#terminal-3006158794-line-5)">
</text><text class="terminal-3006158794-r2" x="976" y="166.4" textLength="12.2" clip-path="url(#terminal-3006158794-line-6)">
</text><text class="terminal-3006158794-r2" x="976" y="190.8" textLength="12.2" clip-path="url(#terminal-3006158794-line-7)">
</text><text class="terminal-3006158794-r2" x="976" y="215.2" textLength="12.2" clip-path="url(#terminal-3006158794-line-8)">
</text><text class="terminal-3006158794-r1" x="0" y="239.6" textLength="976" clip-path="url(#terminal-3006158794-line-9)">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Hover&#160;the&#160;button&#160;then&#160;hit&#160;space&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-3006158794-r2" x="976" y="239.6" textLength="12.2" clip-path="url(#terminal-3006158794-line-9)">
</text><text class="terminal-3006158794-r3" x="390.4" y="264" textLength="195.2" clip-path="url(#terminal-3006158794-line-10)">▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔</text><text class="terminal-3006158794-r2" x="976" y="264" textLength="12.2" clip-path="url(#terminal-3006158794-line-10)">
</text><text class="terminal-3006158794-r4" x="427" y="288.4" textLength="122" clip-path="url(#terminal-3006158794-line-11)">&#160;Disabled&#160;</text><text class="terminal-3006158794-r2" x="976" y="288.4" textLength="12.2" clip-path="url(#terminal-3006158794-line-11)">
</text><text class="terminal-3006158794-r5" x="390.4" y="312.8" textLength="195.2" clip-path="url(#terminal-3006158794-line-12)">▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁</text><text class="terminal-3006158794-r2" x="976" y="312.8" textLength="12.2" clip-path="url(#terminal-3006158794-line-12)">
</text><text class="terminal-3006158794-r2" x="976" y="337.2" textLength="12.2" clip-path="url(#terminal-3006158794-line-13)">
</text><text class="terminal-3006158794-r2" x="976" y="361.6" textLength="12.2" clip-path="url(#terminal-3006158794-line-14)">
</text><text class="terminal-3006158794-r2" x="976" y="386" textLength="12.2" clip-path="url(#terminal-3006158794-line-15)">
</text><text class="terminal-3006158794-r2" x="976" y="410.4" textLength="12.2" clip-path="url(#terminal-3006158794-line-16)">
</text><text class="terminal-3006158794-r2" x="976" y="434.8" textLength="12.2" clip-path="url(#terminal-3006158794-line-17)">
</text><text class="terminal-3006158794-r2" x="976" y="459.2" textLength="12.2" clip-path="url(#terminal-3006158794-line-18)">
</text><text class="terminal-3006158794-r2" x="976" y="483.6" textLength="12.2" clip-path="url(#terminal-3006158794-line-19)">
</text><text class="terminal-3006158794-r2" x="976" y="508" textLength="12.2" clip-path="url(#terminal-3006158794-line-20)">
</text><text class="terminal-3006158794-r2" x="976" y="532.4" textLength="12.2" clip-path="url(#terminal-3006158794-line-21)">
</text><text class="terminal-3006158794-r2" x="976" y="556.8" textLength="12.2" clip-path="url(#terminal-3006158794-line-22)">
</text><text class="terminal-3006158794-r6" x="0" y="581.2" textLength="85.4" clip-path="url(#terminal-3006158794-line-23)">&#160;space&#160;</text><text class="terminal-3006158794-r7" x="85.4" y="581.2" textLength="170.8" clip-path="url(#terminal-3006158794-line-23)">Toggle&#160;Button&#160;</text><text class="terminal-3006158794-r9" x="829.6" y="581.2" textLength="12.2" clip-path="url(#terminal-3006158794-line-23)"></text><text class="terminal-3006158794-r6" x="841.8" y="581.2" textLength="24.4" clip-path="url(#terminal-3006158794-line-23)">^p</text><text class="terminal-3006158794-r7" x="866.2" y="581.2" textLength="97.6" clip-path="url(#terminal-3006158794-line-23)">&#160;palette</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB