Results 173 comments of Bedis Nbiba

I think accepting any writer is unneeded, is there any use case other then stdout and stderr? I probably should just unify the api to cursor::position_in_stderr()

According to this pr https://github.com/microsoft/terminal/pull/11152 requesting DECSCUSR via DECRQSS might land in a future pr. Personally I think xterm should be the reference to judge if a feature should be...

I have a guess that save restore cursor position requires raw mode to be enabled to work 100% of the time. Otherwise sometimes they fail.

It might also be due to scrolling effect, if the terminal size is small it can mess the math see https://unix.stackexchange.com/questions/278884/save-cursor-position-and-restore-it-in-terminal/278888#278888 for why scrolling breaks this.

Either way crossterm just wraps the ansi sequences https://github.com/crossterm-rs/crossterm/blob/9a50fd2ce2701bb15f58722495024937143ad34d/src/cursor.rs#L272 so this is can't be considered a crossterm bug.

AUR : [https://aur.archlinux.org/packages/lanshare/](https://aur.archlinux.org/packages/lanshare/)

@michaldybczak thanks for the feedback :)

I think this should be closed now, hopefully someone does a better implementation

I tried `import "https://esm.sh/[email protected]/components/prism-rust"` but it fails with ``` error: Uncaught ReferenceError: Prism is not defined at https://esm.sh/v99/[email protected]/deno/components/prism-rust.js:2:3014 at https://esm.sh/v99/[email protected]/deno/components/prism-rust.js:2:203 at https://esm.sh/v99/[email protected]/deno/components/prism-rust.js:2:3031```

It would be definitely great to have something like rust `#![warn(missing_docs)]` hopefully this gets picked up again, its really useful for library authors (and in my opinion it should be...