]> git.proxmox.com Git - pve-installer.git/blame - proxmox-tui-installer/README.md
bump version to 8.2.6
[pve-installer.git] / proxmox-tui-installer / README.md
CommitLineData
75c7c303
CH
1# proxmox-tui-installer
2
3## Testing/debugging
4
5### stderr redirection
6
7If something needs to be printed for debugging (e.g. using `eprintln!()` or
8`dbg!()`), output redirection can be used. Open a second terminal and get the
9file name of the terminal using the `tty` command:
10```sh
11$ tty
12/dev/pts/6
13```
14
15Now, simply run the installer using:
16```sh
17$ cargo run 2>/dev/pts/6
18```
19
20All stderr output will then show up in the other terminal.
21
22### Specific terminal size
23
24To test the installer with a specific output size, the `stty` command can be
25used. For example, to set it to a standard 80x25 terminal:
26```sh
27$ stty columns 80 rows 25
28```