Compare commits

..

1 commit
main ... state

Author SHA1 Message Date
0311f85f58 fixed errors printing to stdout instead of stderr 2024-07-12 10:48:50 -04:00
3 changed files with 8 additions and 9 deletions

View file

@ -46,13 +46,6 @@ using an AUR package manager such as <a href="https://github.com/Morganamilo/par
Install the package using Cargo with the command <code>cargo install pride-term</code>. Install the package using Cargo with the command <code>cargo install pride-term</code>.
</details> </details>
### Man Page
<details>
<summary>Section 6</summary>
Copy <code>man/pride.6</code> into <code>/usr/share/man/man6/</code>.
</details>
## Libraries ## Libraries
- [pico-args](https://crates.io/crates/pico-args) — argument parsing - [pico-args](https://crates.io/crates/pico-args) — argument parsing

View file

@ -1,6 +1,10 @@
//! flags that require more complex rendering than just scaling colored stripes //! flags that require more complex rendering than just scaling colored stripes
use termion::color::{ Bg, Rgb }; use termion::{
terminal_size,
color::{ Bg, Rgb }
};
use crate::{ use crate::{
color::*, color::*,

View file

@ -6,11 +6,13 @@ use std::io::{
}; };
use termion::{ use termion::{
terminal_size,
clear, clear,
color::{ Bg, Fg, Rgb }, color::{ Bg, Fg, Rgb },
cursor, cursor,
input::TermRead, input::TermRead,
raw::IntoRawMode raw::{ RawTerminal, IntoRawMode }
}; };
use crate::{ use crate::{