-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
659b538
commit 2b4358f
Showing
10 changed files
with
98 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,111 @@ | ||
--- | ||
layout: post | ||
title: "Rio 0.0.7" | ||
date: 2023-07-07 12:34:14 +0200 | ||
categories: release macos linux windows | ||
draft: true | ||
date: 2023-06-20 12:34:14 +0200d | ||
description: "Configuration reload, x11 and wayland stabilization, sugarloaf ported to WebAssembly, addition to NIX OS packages and other updates." | ||
categories: release macos linux webassembly | ||
--- | ||
|
||
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> | ||
|
||
# v0.0.7: Highlights | ||
|
||
- Support to custom fonts | ||
- Configuration reload | ||
- x11 and wayland stabilization | ||
- Sugarloaf ported to WebAssembly | ||
- Addition to NIX OS packages | ||
- Addition to NIX OS packages (kudos to [@otavio](https://github.com/otavio), PR: [NixOS/nixpkgs/pull/237664](https://github.com/NixOS/nixpkgs/pull/237664)) | ||
- Styles properties have been moved to root level | ||
|
||
<br/> | ||
|
||
# Overview | ||
|
||
Rio release 0.0.7 is finally here, there's a lot of updates to cover so let's get started. I also would like to remind you that Rio is still unstable. This release adds a lot of bug fixes and feature additions in order to make Rio terminal stable. | ||
|
||
## Breaking change: Styles properties have been moved to root level | ||
|
||
The only breaking change of v0.0.7 is that styles properties such as "font", "theme" and "font-size" moved to the root level. | ||
|
||
Before: | ||
|
||
{% highlight toml %} | ||
cursor = '|' | ||
[style] | ||
font-size = 18 | ||
theme = "lucario" | ||
{% endhighlight %} | ||
|
||
After: | ||
|
||
{% highlight toml %} | ||
cursor = '|' | ||
theme = "lucario" | ||
font-size = 18 | ||
{% endhighlight %} | ||
|
||
|
||
## Reload automatically when the configuration file has changed. | ||
|
||
Any file update in the configuration file will trigger a render operation in Rio terminal with the new configuration. | ||
|
||
If you have any suggestion of configuration ideas to Rio, please feel free to [open an issue](https://github.com/raphamorim/rio/issues/new). | ||
|
||
![Demo reload config](https://raphamorim.io/rio/assets/posts/0.0.7/config-reload.gif) | ||
![Demo reload config](/rio/assets/posts/0.0.7/config-reload.gif) | ||
|
||
## width and height is not longer available in the configuration file. | ||
|
||
The property witdh and height doesn't work anymore after the 0.0.7 release. | ||
|
||
## a | ||
Before you could set the initial width and height of the screen, this configuration is not longer possible. It was removed due to compatibility with different targets. | ||
|
||
<blockquote class="twitter-tweet" data-lang="en" data-dnt="true"><p lang="en" dir="ltr">stabilization of custom font rendering for upcoming version of Rio terminal<a href="https://t.co/5EuJJzPsB2">https://t.co/5EuJJzPsB2</a> <a href="https://twitter.com/hashtag/rust?src=hash&ref_src=twsrc%5Etfw">#rust</a> <a href="https://t.co/HLTLG8Yovz">pic.twitter.com/HLTLG8Yovz</a></p>— Raphael Amorim 🦀 (@raphamorims) <a href="https://twitter.com/raphamorims/status/1670808836213547009?ref_src=twsrc%5Etfw">June 19, 2023</a></blockquote> | ||
## Stabilization of Linux x11 and Wayland | ||
|
||
In older versions of Rio terminal it was possible to actually use Rio but it was slow and buggy for many users. Many fixes has been done in the v0.0.7 to bring the experience of Linux users close to what MacOS have right now. | ||
|
||
## a | ||
The tweet below have a video demo that shows Rio running with X11: | ||
|
||
<blockquote class="twitter-tweet" data-lang="en" data-dnt="true" data-theme="light"><p lang="en" dir="ltr">sneak peek at Rio terminal for Linux X11 builds in the next version (0.0.7) <a href="https://t.co/5EuJJzPsB2">https://t.co/5EuJJzPsB2</a> <a href="https://twitter.com/hashtag/rustlang?src=hash&ref_src=twsrc%5Etfw">#rustlang</a> <a href="https://t.co/JeWmPju9FT">pic.twitter.com/JeWmPju9FT</a></p>— Raphael Amorim 🦀 (@raphamorims) <a href="https://twitter.com/raphamorims/status/1670404595246419968?ref_src=twsrc%5Etfw">June 18, 2023</a></blockquote> | ||
|
||
## Sugarloaf ported to WebAssembly | ||
|
||
![Demo wasm sugarloaf](../assets/posts/0.0.7/wasm-sugarloaf.gif) | ||
## Custom font rendering | ||
|
||
Now you can actually use different installed fonts by changing the property "font". | ||
|
||
The example below considers that you have "Fira code" font installed in your machine. | ||
|
||
{% highlight toml %} | ||
font = "Fira code" | ||
{% endhighlight %} | ||
|
||
A quick look of how font updates looks like in v0.0.7: | ||
|
||
<blockquote class="twitter-tweet" data-lang="en" data-dnt="true"><p lang="en" dir="ltr">stabilization of custom font rendering for upcoming version of Rio terminal<a href="https://t.co/5EuJJzPsB2">https://t.co/5EuJJzPsB2</a> <a href="https://twitter.com/hashtag/rust?src=hash&ref_src=twsrc%5Etfw">#rust</a> <a href="https://t.co/HLTLG8Yovz">pic.twitter.com/HLTLG8Yovz</a></p>— Raphael Amorim 🦀 (@raphamorims) <a href="https://twitter.com/raphamorims/status/1670808836213547009?ref_src=twsrc%5Etfw">June 19, 2023</a></blockquote> | ||
|
||
## Sugarloaf ported to WebAssembly | ||
|
||
## Changelog | ||
The Rio support to WASM has moved one step ahead by introduction of Sugarloaf (Rio renderer) to WebAssembly. | ||
|
||
In the image below you can see it in action: | ||
|
||
![Demo wasm sugarloaf](/rio/assets/posts/0.0.7/wasm-sugarloaf.gif) | ||
|
||
## Changelog of v0.0.7 | ||
|
||
- Breaking changes for configuration file regarding "Style" property. | ||
- Fix Background color not entirely set on vim [#88](https://github.com/raphamorim/rio/issues/88) | ||
- Scroll now works for x11 and wayland. | ||
- No longer renders to macos and x11 windows that are fully occluded / not directly visible. | ||
- Introduced "window-opacity" config property for WebAssembly and Wayland builds. | ||
- Add permissions instructions to Rio macos builds (Fix [#99](https://github.com/raphamorim/rio/issues/99)). | ||
- Fixes for x11 and wayland rendering (Related: [#98](https://github.com/raphamorim/rio/issues/98) and [#100](https://github.com/raphamorim/rio/issues/100)). | ||
- Perfomance fixes (Related: [#101](https://github.com/raphamorim/rio/issues/101)). | ||
- Sugarloaf WebAssembly support. | ||
- Fixed resize for all contexts: removed the glitch when resizing and switching between tabs. | ||
- Fixed cursor incosistencies [#95](https://github.com/raphamorim/rio/issues/95). | ||
- Added command line interface support ("--help", "--version", "-e" and "--command"). | ||
- Added a fallback for WPGU request device operation: downlevel limits, which will allow the code to run on all possible hardware. | ||
- Added "padding-x" to configuration. | ||
- Reload automatically when the configuration file is changed ([#69](https://github.com/raphamorim/rio/issues/69)). | ||
- Fix "Ctrl+D" and "exit" command not closing the app ([#87](https://github.com/raphamorim/rio/issues/87)). | ||
- Changed default "light-black" color. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters