We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teletypewriter should be able to retrieve current path on windows as well
#[cfg(not(target_os = "windows"))] { if let Ok(path) = teletypewriter::foreground_process_path( *current_context.main_fd, current_context.shell_pid, ) { working_dir = Some(path.to_string_lossy().to_string()); } } #[cfg(target_os = "windows")] { // if let Ok(path) = teletypewriter::foreground_process_path() { // working_dir = // Some(path.to_string_lossy().to_string()); // } working_dir = None; } }
rio/frontends/rioterm/src/context.rs
Lines 630 to 648 in 4ad69ff
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Teletypewriter should be able to retrieve current path on windows as well
rio/frontends/rioterm/src/context.rs
Lines 630 to 648 in 4ad69ff
The text was updated successfully, but these errors were encountered: