mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
cargo fmt
This commit is contained in:
parent
d69df605cd
commit
e35f567a2e
@ -6,11 +6,11 @@ use log::{debug, error};
|
|||||||
use num_traits::FromPrimitive;
|
use num_traits::FromPrimitive;
|
||||||
use std::fmt::Write;
|
use std::fmt::Write;
|
||||||
use std::ops::{Deref, DerefMut};
|
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::csi::EraseInDisplay;
|
||||||
use termwiz::escape::osc::{
|
use termwiz::escape::osc::{
|
||||||
ChangeColorPair, ColorOrQuery, FinalTermSemanticPrompt, ITermProprietary, Selection,
|
ChangeColorPair, ColorOrQuery, FinalTermSemanticPrompt, ITermProprietary,
|
||||||
ITermUnicodeVersionOp,
|
ITermUnicodeVersionOp, Selection,
|
||||||
};
|
};
|
||||||
use termwiz::escape::{
|
use termwiz::escape::{
|
||||||
Action, ControlCode, DeviceControlMode, Esc, EscCode, OperatingSystemCommand, CSI,
|
Action, ControlCode, DeviceControlMode, Esc, EscCode, OperatingSystemCommand, CSI,
|
||||||
@ -581,10 +581,8 @@ impl<'a> Performer<'a> {
|
|||||||
}
|
}
|
||||||
ITermProprietary::UnicodeVersion(ITermUnicodeVersionOp::Push(label)) => {
|
ITermProprietary::UnicodeVersion(ITermUnicodeVersionOp::Push(label)) => {
|
||||||
let vers = self.unicode_version;
|
let vers = self.unicode_version;
|
||||||
self.unicode_version_stack.push(UnicodeVersionStackEntry {
|
self.unicode_version_stack
|
||||||
vers,
|
.push(UnicodeVersionStackEntry { vers, label });
|
||||||
label
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
ITermProprietary::UnicodeVersion(ITermUnicodeVersionOp::Pop(None)) => {
|
ITermProprietary::UnicodeVersion(ITermUnicodeVersionOp::Pop(None)) => {
|
||||||
if let Some(entry) = self.unicode_version_stack.pop() {
|
if let Some(entry) = self.unicode_version_stack.pop() {
|
||||||
|
Loading…
Reference in New Issue
Block a user