mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-03 01:50:12 +00:00
This commit is contained in:
parent
e2f52b835d
commit
dbff3a330b
@ -5,6 +5,7 @@ use std::process::exit;
|
||||
|
||||
use anyhow::Result;
|
||||
use clap::Parser;
|
||||
use crossterm::terminal::enable_raw_mode;
|
||||
use television::cable;
|
||||
use television::channels::cable::{
|
||||
preview::PreviewKind, prototypes::CableChannels,
|
||||
@ -54,6 +55,8 @@ async fn main() -> Result<()> {
|
||||
.as_ref()
|
||||
.map(|x| handle_subcommands(x, &config));
|
||||
|
||||
enable_raw_mode()?;
|
||||
|
||||
// optionally change the working directory
|
||||
args.working_directory.as_ref().map(set_current_dir);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user