mirror of
https://github.com/mrfluffy-dev/kami.git
synced 2026-01-17 04:50:32 +00:00
fixed tiling window managers braking in anime
This commit is contained in:
@@ -136,6 +136,7 @@ pub fn anime_ui(token: String) -> Result<(), Box<dyn Error>> {
|
|||||||
fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> io::Result<()> {
|
fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> io::Result<()> {
|
||||||
let mut ep_select = false;
|
let mut ep_select = false;
|
||||||
loop {
|
loop {
|
||||||
|
terminal.clear()?;
|
||||||
terminal.draw(|f| ui(f, &mut app))?;
|
terminal.draw(|f| ui(f, &mut app))?;
|
||||||
|
|
||||||
if let Event::Key(key) = event::read()? {
|
if let Event::Key(key) = event::read()? {
|
||||||
|
|||||||
Reference in New Issue
Block a user