mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 00:02:23 +00:00
style: cargo fmt
This commit is contained in:
@@ -114,7 +114,11 @@ fn complete_inner(
|
||||
match complete_signature(&chars, word_start, &word, cwd) {
|
||||
Some(sig) => (
|
||||
sig.cands,
|
||||
if this_machine { sig.pending } else { Vec::new() },
|
||||
if this_machine {
|
||||
sig.pending
|
||||
} else {
|
||||
Vec::new()
|
||||
},
|
||||
),
|
||||
None => match cwd {
|
||||
None => (Vec::new(), Vec::new()),
|
||||
|
||||
@@ -3543,7 +3543,11 @@ impl TerminalView {
|
||||
.paths_are_local()
|
||||
.then(|| self.local_cwd().or_else(|| std::env::current_dir().ok()))
|
||||
.flatten();
|
||||
let share_cwd = if cwd.is_none() { self.wsl_share_cwd() } else { None };
|
||||
let share_cwd = if cwd.is_none() {
|
||||
self.wsl_share_cwd()
|
||||
} else {
|
||||
None
|
||||
};
|
||||
let line = self.cmd.text();
|
||||
let cursor = self.cmd.cursor();
|
||||
let comp = match &share_cwd {
|
||||
|
||||
Reference in New Issue
Block a user