1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 21:32:13 +03:00

cargo fmt

This commit is contained in:
Wez Furlong 2021-11-25 12:14:57 -07:00
parent d69df605cd
commit e35f567a2e

View File

@ -6,11 +6,11 @@ use log::{debug, error};
use num_traits::FromPrimitive;
use std::fmt::Write;
use std::ops::{Deref, DerefMut};
use termwiz::cell::{grapheme_column_width, Cell, CellAttributes, SemanticType,UnicodeVersion};
use termwiz::cell::{grapheme_column_width, Cell, CellAttributes, SemanticType, UnicodeVersion};
use termwiz::escape::csi::EraseInDisplay;
use termwiz::escape::osc::{
ChangeColorPair, ColorOrQuery, FinalTermSemanticPrompt, ITermProprietary, Selection,
ITermUnicodeVersionOp,
ChangeColorPair, ColorOrQuery, FinalTermSemanticPrompt, ITermProprietary,
ITermUnicodeVersionOp, Selection,
};
use termwiz::escape::{
Action, ControlCode, DeviceControlMode, Esc, EscCode, OperatingSystemCommand, CSI,
@ -581,10 +581,8 @@ impl<'a> Performer<'a> {
}
ITermProprietary::UnicodeVersion(ITermUnicodeVersionOp::Push(label)) => {
let vers = self.unicode_version;
self.unicode_version_stack.push(UnicodeVersionStackEntry {
vers,
label
});
self.unicode_version_stack
.push(UnicodeVersionStackEntry { vers, label });
}
ITermProprietary::UnicodeVersion(ITermUnicodeVersionOp::Pop(None)) => {
if let Some(entry) = self.unicode_version_stack.pop() {