Add the last reviewed version to Cargo.toml / [dependencies]:

crossterm_cursor = "0.3.1"

Filter reviews clicking on the numbers in the summary.

Full column names in tooltip hints: rating Negative, rating Neutral, rating Positive, rating Strong, thoroughness, understanding, reviews count.

Neg
Neu
Pos
Str
tho
und
rev
2
2
2
2
crate version
rating
date
reviewer
thoroughness, understanding
crossterm_cursor 0.3.1
negative
2019-09-25
medium, medium
issues:
medium
Getting the cursor pos in ANSI mode can drop stdin data
issues:
high
Winapi save/restore cursor invokes undefined behavior: `static mut SAVED_CURSOR_POS` not guarded
issues:
high
Unsound access of possibly invalid `HANDLE`s

Pros:

  • Cross platform

Cons:

  • Soundness issues
  • Data races
FileRatingNotes
.github/CODEOWNERS+1
docs/CONTRIBUTING.md+1
src/cursor/ansi_cursor.rs+1
src/cursor/cursor.rs+1
src/cursor/winapi_cursor.rs+1
src/sys/unix.rs-1[#3] 45: Getting the cursor pos can drop stdin data
src/sys/winapi.rs-1[#4, #5] Multiple soundness issues
src/cursor.rs+1
src/lib.rs+1
src/sys.rs+1
.cargo_vcs_info.json+1
.cargo-ok+1
.gitignore+1
.travis.yml+1
Cargo.toml+1MIT, dep: winapi
Cargo.toml.orig+1MIT, dep: winapi
CHANGELOG.md+1
LICENSE+1MIT
README.md+1
OtherRatingNotes
unsafe-1Soundness issues
fs+1None
io0Drops stdin
docs+1
tests+1

src/sys/winapi.rs

LineWhatNotes
26unsafe mut SAVED_CURSOR_POS-1, [#4] Access to static mut is unguarded! Undefined behavior! Unsound!
68fn Cursor::goto0, [#5] unsafe { ... } - would be valid if screen buffer handle was guaranteed valid
86fn Cursor::set_visibility0, [#5] unsafe { ... } - would be valid if screen buffer handle was guaranteed valid
101fn Cursor::restore_cursor_pos-1, [#4] Access to static mut is unguarded! Undefined behavior! Unsound!
114fn Cursor::save_cursor_pos-1, [#4] Access to static mut is unguarded! Undefined behavior! Unsound!
121impl From for Cusror??, [#5] Not sure if Handle is guaranteed to be valid
129impl From for Cursor-1, [#5] no guarantee HANDLE is valid, unsound!
crossterm_cursor 0.3.1
negative
2019-09-26
medium, medium
issues:
medium
Getting the cursor pos in ANSI mode can drop stdin data
issues:
high
Winapi save/restore cursor invokes undefined behavior: `static mut SAVED_CURSOR_POS` not guarded
issues:
high
Unsound access of possibly invalid `HANDLE`s

Pros:

  • Cross platform

Cons:

  • Soundness issues
  • Data races
FileRatingNotes
.github/CODEOWNERS+1
docs/CONTRIBUTING.md+1
src/cursor/ansi_cursor.rs+1
src/cursor/cursor.rs+1
src/cursor/winapi_cursor.rs+1
src/sys/unix.rs-1[#199] 45: Getting the cursor pos can drop stdin data
src/sys/winapi.rs-1[#245, #252] Multiple soundness issues
src/cursor.rs+1
src/lib.rs+1
src/sys.rs+1
.cargo_vcs_info.json+1
.cargo-ok+1
.gitignore+1
.travis.yml+1
Cargo.toml+1MIT, dep: winapi
Cargo.toml.orig+1MIT, dep: winapi
CHANGELOG.md+1
LICENSE+1MIT
README.md+1
OtherRatingNotes
unsafe-1Soundness issues
fs+1None
io0Drops stdin
docs+1
tests+1

src/sys/winapi.rs

LineWhatNotes
26unsafe mut SAVED_CURSOR_POS-1, [#245] Access to static mut is unguarded! Undefined behavior! Unsound!
68fn Cursor::goto0, [#252] unsafe { ... } - would be valid if screen buffer handle was guaranteed valid
86fn Cursor::set_visibility0, [#252] unsafe { ... } - would be valid if screen buffer handle was guaranteed valid
101fn Cursor::restore_cursor_pos-1, [#245] Access to static mut is unguarded! Undefined behavior! Unsound!
114fn Cursor::save_cursor_pos-1, [#245] Access to static mut is unguarded! Undefined behavior! Unsound!
121impl From for Cusror??, [#252] Not sure if Handle is guaranteed to be valid
129impl From for Cursor-1, [#252] no guarantee HANDLE is valid, unsound!

© bestia.dev 2023, MIT License, Version: 2023.608.1636

Open source repository for this web app: https://github.com/bestia-dev/cargo_crev_web/