Skip to content

Commit f7de2fe

Browse files
SimonsMine0xPoe
authored andcommitted
moved section, fixed typo
1 parent db0af69 commit f7de2fe

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tokio-console/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,25 @@ tokio-console http://my.instrumented.application.local:6669
9797

9898
See [here][cli-ref] for a complete list of all command-line arguments.
9999

100-
Tokio Console has a numnber of different views:
100+
Tokio Console has a number of different views:
101101
* [Tasks List](#tasks-list)
102102
* [Task Details](#task-details)
103103
* [Resources List](#resources-list)
104104
* [Resource Details](#resource-details)
105105

106+
#### running the console on windows
107+
108+
The console uses the UTF-8 character set to display graphs and other visual
109+
features in the terminal. In order to display this rich terminal UI on Windows,
110+
it's necessary to use a UTF-8-enabled terminal emulator, such as the new
111+
[Windows Terminal](https://learn.microsoft.com/en-us/windows/terminal/install).
112+
113+
If you're using a terminal that supports UTF-8, make sure to explicitly call
114+
tokio-console with the UTF-8 language flag set:
115+
```
116+
tokio-console --lang en_US.UTF-8
117+
```
118+
106119
### Tasks List
107120

108121
When the console CLI is launched, it displays a list of all [asynchronous tasks]
@@ -214,19 +227,6 @@ behavior. See [the documentation][cfg-ref] for details.
214227
[cli-ref]: https://docs.rs/tokio-console/latest/tokio_console/config_reference/index.html#command-line-arguments
215228
[cfg-ref]: https://docs.rs/tokio-console/latest/tokio_console/config_reference/index.html#configuration-file
216229

217-
#### running the console on windows
218-
219-
The console uses the UTF-8 character set to display graphs and other visual
220-
features in the terminal. In order to display this rich terminal UI on Windows,
221-
it's necessary to use a UTF-8-enabled terminal emulator, such as the new
222-
[Windows Terminal](https://learn.microsoft.com/en-us/windows/terminal/install).
223-
224-
If you're using a terminal that supports UTF-8, make sure to explicitly call
225-
tokio-console with the UTF-8 language flag set:
226-
```
227-
tokio-console --lang en_US.UTF-8
228-
```
229-
230230
## Getting Help
231231

232232
First, see if the answer to your question can be found in the

0 commit comments

Comments
 (0)