mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-04-08 17:05:59 +02:00
Merge execute macro calls.
This commit is contained in:
parent
428e68c112
commit
f4b7df139a
@ -747,9 +747,9 @@ fn panic_hook(panic_info: &PanicInfo<'_>) {
|
||||
let stacktrace: String = format!("{:?}", backtrace::Backtrace::new());
|
||||
|
||||
disable_raw_mode().unwrap();
|
||||
execute!(stdout, LeaveAlternateScreen).unwrap();
|
||||
execute!(stdout, DisableMouseCapture).unwrap();
|
||||
execute!(stdout, LeaveAlternateScreen, DisableMouseCapture).unwrap();
|
||||
|
||||
// Print stack trace. Must be done after!
|
||||
execute!(
|
||||
stdout,
|
||||
Print(format!(
|
||||
|
Loading…
x
Reference in New Issue
Block a user