mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
initialize logs after configurations
This commit is contained in:
parent
46516dab74
commit
5bcc0ea765
1 changed files with 1 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ use yazi_config::keymap::Key;
|
||||||
use yazi_core::input::InputMode;
|
use yazi_core::input::InputMode;
|
||||||
use yazi_shared::{emit, event::{Cmd, Event, NEED_RENDER}, term::Term, Layer};
|
use yazi_shared::{emit, event::{Cmd, Event, NEED_RENDER}, term::Term, Layer};
|
||||||
|
|
||||||
use crate::{lives::Lives, Ctx, Executor, Logs, Panic, Router, Signals};
|
use crate::{lives::Lives, Ctx, Executor, Panic, Router, Signals};
|
||||||
|
|
||||||
pub(crate) struct App {
|
pub(crate) struct App {
|
||||||
pub(crate) cx: Ctx,
|
pub(crate) cx: Ctx,
|
||||||
|
|
@ -17,7 +17,6 @@ pub(crate) struct App {
|
||||||
impl App {
|
impl App {
|
||||||
pub(crate) async fn run() -> Result<()> {
|
pub(crate) async fn run() -> Result<()> {
|
||||||
Panic::install();
|
Panic::install();
|
||||||
let _log = Logs::init()?;
|
|
||||||
let term = Term::start()?;
|
let term = Term::start()?;
|
||||||
let signals = Signals::start()?;
|
let signals = Signals::start()?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue