Remove todo!
comments (#8981)
Switching fully to normal `todo` style Release Notes: - N/A
This commit is contained in:
parent
8be4b4d75d
commit
8a92d28663
18 changed files with 86 additions and 86 deletions
|
@ -400,7 +400,7 @@ impl TerminalBuilder {
|
|||
#[cfg(unix)]
|
||||
let (fd, shell_pid) = (pty.file().as_raw_fd(), pty.child().id());
|
||||
|
||||
// todo("windows")
|
||||
// todo(windows)
|
||||
#[cfg(windows)]
|
||||
let (fd, shell_pid) = (-1, 0);
|
||||
|
||||
|
@ -668,7 +668,7 @@ impl Terminal {
|
|||
fn update_process_info(&mut self) -> bool {
|
||||
#[cfg(unix)]
|
||||
let mut pid = unsafe { libc::tcgetpgrp(self.shell_fd as i32) };
|
||||
// todo("windows")
|
||||
// todo(windows)
|
||||
#[cfg(windows)]
|
||||
let mut pid = unsafe { windows::Win32::System::Threading::GetCurrentProcessId() } as i32;
|
||||
if pid < 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue