Merge pull request #69 from ful1e5/dev

fix: text cursor state in `xterm` & `vertical-text`
This commit is contained in:
Kaiz Khatri 2021-11-18 14:44:42 +05:30 committed by GitHub
commit 6e0115da40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 14 deletions

View file

@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Removed unnecessary badges from `README.md`
- Simplified README.md (removed emojis)
- sponsor with liberapay
- fixed text cursor state in `xterm` & `vertical-text` (increase border size) #67
## [v1.2.2] - 31 Oct 2021

View file

@ -1,19 +1,19 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d_40)">
<path d="M47.5743 74H40.0521C39.7553 78.9724 40.7296 83.9388 42.8853 88.4422C45.0409 92.9456 48.3089 96.8416 52.3885 99.7718C48.3089 102.702 45.0409 106.598 42.8853 111.101C40.7296 115.605 39.7553 120.571 40.0521 125.544H47.5743C46.2955 115.888 52.0876 106.53 61.4151 103.263H99.7783V110.69H107.3V103.263H138.593C147.92 106.605 153.637 115.888 152.434 125.544H159.956C160.227 120.582 159.249 115.632 157.109 111.135C154.97 106.637 151.735 102.734 147.695 99.7718C151.735 96.8101 154.97 92.9063 157.109 88.4091C159.249 83.9119 160.227 78.9614 159.956 74H152.434C152.92 78.6419 151.822 83.3112 149.315 87.267C146.808 91.2229 143.034 94.2385 138.593 95.8355H107.225V88.4085H99.7031V95.8355H61.4904C57.0276 94.2627 53.2295 91.255 50.7059 87.2951C48.1822 83.3353 47.0793 78.653 47.5743 74Z" fill="#0000FF"/>
<path d="M51.5519 74.4231L52.0224 70H47.5743H40.0521H36.2838L36.0592 73.7617C35.7219 79.4129 36.8294 85.0554 39.2773 90.1692C40.9958 93.7594 43.3355 97.0067 46.1766 99.7718C43.3355 102.537 40.9958 105.784 39.2773 109.374C36.8294 114.488 35.7219 120.131 36.0592 125.782L36.2838 129.544H40.0521H47.5743H52.139L51.5397 125.018C50.5412 117.48 54.9236 110.098 62.1324 107.263H95.7783V110.69V114.69H99.7783H107.3H111.3V110.69V107.263H137.861C145.078 110.159 149.407 117.488 148.464 125.049L147.904 129.544H152.434H159.956H163.743L163.95 125.762C164.257 120.131 163.147 114.515 160.721 109.416C159.009 105.818 156.68 102.557 153.851 99.7718C156.68 96.9866 159.009 93.726 160.721 90.1275C163.147 85.0283 164.257 79.4122 163.95 73.7818L163.743 70H159.956H152.434H147.992L148.455 74.4169C148.848 78.1594 147.964 81.9278 145.937 85.1255C144.026 88.1399 141.2 90.488 137.858 91.8355H111.225V88.4085V84.4085H107.225H99.7031H95.7031V88.4085V91.8355H62.2112C58.8497 90.507 56.003 88.1641 54.079 85.1453C52.0407 81.9469 51.1531 78.1713 51.5519 74.4231Z" stroke="#0000FF" stroke-width="8"/>
<g filter="url(#filter0_d_40_848)">
<path d="M42.3317 72H34.0573C33.7308 77.4024 34.8025 82.798 37.1738 87.6908C39.545 92.5836 43.1398 96.8165 47.6274 100C43.1398 103.184 39.545 107.416 37.1738 112.309C34.8025 117.202 33.7308 122.598 34.0573 128H42.3317C40.9251 117.51 47.2964 107.343 57.5566 103.793H99.7561V111.862H108.031V103.793H142.452C152.712 107.424 159.001 117.51 157.677 128H165.951C166.25 122.61 165.174 117.231 162.82 112.345C160.467 107.459 156.909 103.218 152.464 100C156.909 96.7822 160.467 92.5409 162.82 87.6549C165.174 82.7689 166.25 77.3904 165.951 72H157.677C158.212 77.0432 157.005 82.1163 154.247 86.4141C151.488 90.7119 147.337 93.9883 142.452 95.7233H107.948V87.6542H99.6734V95.7233H57.6394C52.7304 94.0146 48.5525 90.7468 45.7764 86.4446C43.0004 82.1424 41.7873 77.0553 42.3317 72Z" fill="#0000FF"/>
<path d="M47.8001 72.589L48.4559 66.5H42.3317H34.0573H28.8797L28.5674 71.6682C28.1837 78.0166 29.4438 84.3521 32.2244 90.0895C34.0003 93.7538 36.3583 97.0959 39.1941 100C36.3583 102.904 34.0003 106.246 32.2244 109.91C29.4438 115.648 28.1837 121.983 28.5674 128.332L28.8797 133.5H34.0573H42.3317H48.6185L47.783 127.269C46.7715 119.727 51.1649 112.251 58.5449 109.293H94.2561V111.862V117.362H99.7561H108.031H113.531V111.862V109.293H141.444C148.834 112.315 153.176 119.737 152.22 127.311L151.439 133.5H157.677H165.951H171.156L171.443 128.304C171.793 121.981 170.53 115.677 167.775 109.958C166.005 106.283 163.655 102.925 160.827 100C163.655 97.0752 166.005 93.7174 167.775 90.0417C170.53 84.3225 171.793 78.0188 171.443 71.6962L171.156 66.5H165.951H157.677H151.562L152.208 72.5803C152.61 76.3694 151.705 80.1912 149.618 83.4435C147.684 86.4563 144.831 88.8293 141.44 90.2233H113.448V87.6542V82.1542H107.948H99.6734H94.1734V87.6542V90.2233H58.6327C55.2198 88.8484 52.345 86.4802 50.3979 83.4626C48.2995 80.2105 47.3915 76.3825 47.8001 72.589Z" stroke="#0000FF" stroke-width="11"/>
</g>
<path d="M47.5743 74H40.0521C39.7553 78.9724 40.7296 83.9388 42.8853 88.4422C45.0409 92.9456 48.3089 96.8416 52.3885 99.7718C48.3089 102.702 45.0409 106.598 42.8853 111.101C40.7296 115.605 39.7553 120.571 40.0521 125.544H47.5743C46.2955 115.888 52.0876 106.53 61.4151 103.263H99.7783V110.69H107.3V103.263H138.593C147.92 106.605 153.637 115.888 152.434 125.544H159.956C160.227 120.582 159.249 115.632 157.109 111.135C154.97 106.637 151.735 102.734 147.695 99.7718C151.735 96.8101 154.97 92.9063 157.109 88.4091C159.249 83.9119 160.227 78.9614 159.956 74H152.434C152.92 78.6419 151.822 83.3112 149.315 87.267C146.808 91.2229 143.034 94.2385 138.593 95.8355H107.225V88.4085H99.7031V95.8355H61.4904C57.0276 94.2627 53.2295 91.255 50.7059 87.2951C48.1822 83.3353 47.0793 78.653 47.5743 74Z" fill="#00FF00" stroke="#00FF00" stroke-width="2"/>
<path d="M42.3317 72H34.0573C33.7308 77.4024 34.8025 82.798 37.1738 87.6908C39.545 92.5836 43.1398 96.8165 47.6274 100C43.1398 103.184 39.545 107.416 37.1738 112.309C34.8025 117.202 33.7308 122.598 34.0573 128H42.3317C40.9251 117.51 47.2964 107.343 57.5566 103.793H99.7561V111.862H108.031V103.793H142.452C152.712 107.424 159.001 117.51 157.677 128H165.951C166.25 122.61 165.174 117.231 162.82 112.345C160.467 107.459 156.909 103.218 152.464 100C156.909 96.7822 160.467 92.5409 162.82 87.6549C165.174 82.7689 166.25 77.3904 165.951 72H157.677C158.212 77.0432 157.005 82.1163 154.247 86.4141C151.488 90.7119 147.337 93.9883 142.452 95.7233H107.948V87.6542H99.6734V95.7233H57.6394C52.7304 94.0146 48.5525 90.7468 45.7764 86.4446C43.0004 82.1424 41.7873 77.0553 42.3317 72Z" fill="#00FF00" stroke="#00FF00" stroke-width="2"/>
<defs>
<filter id="filter0_d_40" x="14" y="58" width="166" height="97.5436" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<filter id="filter0_d_40_848" x="5" y="53" width="184" height="108" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dx="-3" dy="7"/>
<feGaussianBlur stdDeviation="7.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_40"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_40" result="shape"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_40_848"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_40_848" result="shape"/>
</filter>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -1,19 +1,19 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d_495)">
<path d="M125.544 47.5743V40.0521C120.571 39.7553 115.605 40.7296 111.101 42.8853C106.598 45.0409 102.702 48.3089 99.7718 52.3885C96.8416 48.3089 92.9456 45.0409 88.4422 42.8853C83.9388 40.7296 78.9724 39.7553 74 40.0521V47.5743C83.6551 46.2955 93.0132 52.0876 96.2811 61.4151V99.7783H88.8541V107.3H96.2811V138.593C92.9389 147.92 83.6551 153.637 74 152.434V159.956C78.9614 160.227 83.9119 159.249 88.4091 157.109C92.9063 154.97 96.8101 151.735 99.7718 147.695C102.734 151.735 106.637 154.97 111.135 157.109C115.632 159.249 120.582 160.227 125.544 159.956V152.434C120.902 152.92 116.232 151.822 112.277 149.315C108.321 146.808 105.305 143.034 103.708 138.593V107.225H111.135V99.7031H103.708V61.4904C105.281 57.0276 108.289 53.2295 112.249 50.7059C116.208 48.1822 120.891 47.0793 125.544 47.5743Z" fill="#0000FF"/>
<path d="M125.12 51.5519L129.544 52.0224V47.5743V40.0521V36.2838L125.782 36.0592C120.131 35.7219 114.488 36.8294 109.374 39.2773C105.784 40.9958 102.537 43.3355 99.7718 46.1766C97.0067 43.3355 93.7594 40.9958 90.1692 39.2773C85.0554 36.8294 79.4129 35.7219 73.7617 36.0592L70 36.2838V40.0521V47.5743V52.139L74.5252 51.5397C82.0638 50.5412 89.4461 54.9236 92.2811 62.1323V95.7783H88.8541H84.8541V99.7783V107.3V111.3H88.8541H92.2811V137.861C89.3842 145.078 82.0557 149.407 74.4948 148.464L70 147.904V152.434V159.956V163.743L73.7818 163.95C79.4122 164.257 85.0283 163.147 90.1275 160.721C93.726 159.009 96.9866 156.68 99.7718 153.851C102.557 156.68 105.818 159.009 109.416 160.721C114.515 163.147 120.131 164.257 125.762 163.95L129.544 163.743V159.956V152.434V147.992L125.127 148.455C121.384 148.848 117.616 147.964 114.418 145.937C111.404 144.026 109.056 141.2 107.708 137.858V111.225H111.135H115.135V107.225V99.7031V95.7031H111.135H107.708V62.2112C109.037 58.8497 111.379 56.003 114.398 54.079C117.597 52.0407 121.372 51.1531 125.12 51.5519Z" stroke="#0000FF" stroke-width="8"/>
<g filter="url(#filter0_d_495_34)">
<path d="M128 42.3317V34.0573C122.598 33.7308 117.202 34.8025 112.309 37.1738C107.416 39.545 103.184 43.1398 100 47.6274C96.8165 43.1398 92.5836 39.545 87.6908 37.1738C82.7981 34.8025 77.4024 33.7308 72 34.0573V42.3317C82.4899 40.9251 92.6571 47.2964 96.2075 57.5566V99.7561H88.1383V108.031H96.2075V142.452C92.5764 152.712 82.4899 159.001 72 157.677V165.951C77.3904 166.25 82.7689 165.174 87.6549 162.82C92.5409 160.467 96.7822 156.909 100 152.464C103.218 156.909 107.459 160.467 112.345 162.82C117.231 165.174 122.61 166.25 128 165.951V157.677C122.957 158.212 117.884 157.005 113.586 154.247C109.288 151.488 106.012 147.337 104.277 142.452V107.948H112.346V99.6734H104.277V57.6394C105.985 52.7304 109.253 48.5525 113.555 45.7764C117.858 43.0004 122.945 41.7873 128 42.3317Z" fill="#0000FF"/>
<path d="M127.411 47.8001L133.5 48.4559V42.3317V34.0573V28.8797L128.332 28.5674C121.983 28.1837 115.648 29.4438 109.91 32.2244C106.246 34.0003 102.904 36.3583 100 39.1941C97.0959 36.3583 93.7538 34.0003 90.0895 32.2244C84.3521 29.4438 78.0166 28.1837 71.6682 28.5674L66.5 28.8797V34.0573V42.3317V48.6185L72.731 47.783C80.2735 46.7715 87.7486 51.1649 90.7075 58.5449V94.2561H88.1383H82.6383V99.7561V108.031V113.531H88.1383H90.7075V141.444C87.6848 148.834 80.2627 153.176 72.6887 152.22L66.5 151.439V157.677V165.951V171.156L71.6962 171.443C78.0188 171.793 84.3225 170.53 90.0417 167.775C93.7174 166.005 97.0752 163.655 100 160.827C102.925 163.655 106.283 166.005 109.958 167.775C115.677 170.53 121.981 171.793 128.304 171.443L133.5 171.156V165.951V157.677V151.562L127.42 152.208C123.631 152.61 119.809 151.705 116.557 149.618C113.544 147.684 111.171 144.831 109.777 141.44V113.448H112.346H117.846V107.948V99.6734V94.1734H112.346H109.777V58.6327C111.152 55.2198 113.52 52.345 116.537 50.3979C119.789 48.2995 123.617 47.3915 127.411 47.8001Z" stroke="#0000FF" stroke-width="11"/>
</g>
<path d="M125.544 47.5743V40.0521C120.571 39.7553 115.605 40.7296 111.101 42.8853C106.598 45.0409 102.702 48.3089 99.7718 52.3885C96.8416 48.3089 92.9456 45.0409 88.4422 42.8853C83.9388 40.7296 78.9724 39.7553 74 40.0521V47.5743C83.6551 46.2955 93.0132 52.0876 96.2811 61.4151V99.7783H88.8541V107.3H96.2811V138.593C92.9389 147.92 83.6551 153.637 74 152.434V159.956C78.9614 160.227 83.9119 159.249 88.4091 157.109C92.9063 154.97 96.8101 151.735 99.7718 147.695C102.734 151.735 106.637 154.97 111.135 157.109C115.632 159.249 120.582 160.227 125.544 159.956V152.434C120.902 152.92 116.232 151.822 112.277 149.315C108.321 146.808 105.305 143.034 103.708 138.593V107.225H111.135V99.7031H103.708V61.4904C105.281 57.0276 108.289 53.2295 112.249 50.7059C116.208 48.1822 120.891 47.0793 125.544 47.5743Z" fill="#00FF00" stroke="#00FF00" stroke-width="2"/>
<path d="M128 42.3317V34.0573C122.598 33.7308 117.202 34.8025 112.309 37.1738C107.416 39.545 103.184 43.1398 100 47.6274C96.8165 43.1398 92.5836 39.545 87.6908 37.1738C82.7981 34.8025 77.4024 33.7308 72 34.0573V42.3317C82.4899 40.9251 92.6571 47.2964 96.2075 57.5566V99.7561H88.1383V108.031H96.2075V142.452C92.5764 152.712 82.4899 159.001 72 157.677V165.951C77.3904 166.25 82.7689 165.174 87.6549 162.82C92.5409 160.467 96.7822 156.909 100 152.464C103.218 156.909 107.459 160.467 112.345 162.82C117.231 165.174 122.61 166.25 128 165.951V157.677C122.957 158.212 117.884 157.005 113.586 154.247C109.288 151.488 106.012 147.337 104.277 142.452V107.948H112.346V99.6734H104.277V57.6394C105.985 52.7304 109.253 48.5525 113.555 45.7764C117.858 43.0004 122.945 41.7873 128 42.3317Z" fill="#00FF00" stroke="#00FF00" stroke-width="2"/>
<defs>
<filter id="filter0_d_495" x="48" y="24" width="97.5435" height="166" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<filter id="filter0_d_495_34" x="43" y="15" width="108" height="184" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dx="-3" dy="7"/>
<feGaussianBlur stdDeviation="7.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_495"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_495" result="shape"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_495_34"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_495_34" result="shape"/>
</filter>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB