Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
implement nt._supports_virtual_terminal
Signed-off-by: Ashwin Naren <[email protected]>
  • Loading branch information
arihant2math committed Feb 14, 2025
commit a5364973d9e2a1ab3f5bd1882b5f506a7c80c2e8
6 changes: 6 additions & 0 deletions vm/src/stdlib/nt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ pub(crate) mod module {
|| attr & FileSystem::FILE_ATTRIBUTE_DIRECTORY != 0))
}

#[pyfunction]
pub(super) fn _supports_virtual_terminal() -> PyResult<bool> {
// TODO: implement this
Ok(true)
}

#[derive(FromArgs)]
pub(super) struct SymlinkArgs {
src: OsPath,
Expand Down