1. Only showing results from lib.rs

    Clear filter to show all search results

  2. May 31, 2024Mouse Position. A simple crate to get the mouse position in a cross platform way. It uses winapi crate to get the mouse position on windows, x11-dl for linux, and core-graphics for macos. Example Usage: use mouse_position::mouse_position::{Mouse}; fn main() {let position = Mouse::get_mouse_position(); match position {Mouse::Position {x, y ...
  3. term_cursor. A pure-rust crate for manipulating the position of the terminal cursor! Also allows for clearing the screen! Usage extern crate term_cursor as cursor; fn main() {// Clear the screen. Does not reset the cursor position! print!("{}", cursor::Clear); // Position the cursor at column 5 and row 10 and print "Hello world!". print!
  4. Aug 1, 2024Cursor Move the cursor N times (up, down, left, right) Move to previous / next line; Move to column; Set/get the cursor position; Store the cursor position and restore to it later; Hide/show the cursor; Enable/disable cursor blinking (not all terminals do support this feature) Styled output Foreground color (16 base colors) Background color (16 ...
  5. Jan 5, 2025Instead of setting the cursor position during rendering somehow, the rendering process stores the cursor position in the state struct, where it can be retrieved later on. The trait returns a screen-position, but only if it actually needs the cursor to be displayed: The cursor is not scrolled off-screen. The widget has some kind of input-focus.
  6. Sep 3, 2024detect cursor position; Note: this library does not use OpenCV template matching, like python version does. OpenCV has fully optimised template matching, while here multithreading is used but no GPU acceleration yet. For that reason, finding image on screen may be slower than the python counterpart using OpenCV, but the speed is still satisfying.
  7. v 5.0.0 704K no-std # nom # parser # input # token # locate # spans # position. cargo_toml. Cargo.toml struct definitions for parsing with Serde ... v 0.3.0 75K no-std # ansi # escaping # ansi-codes # ansi-term # escape-sequence # cursor-position # terminal. markdown-it. Rust port of popular markdown-it.js library. v 0.6.1 1.7K bin+lib ...
  8. Cursor Move the cursor N times (up, down, left, right) Set/get the cursor position; Store the cursor position and restore to it later; Hide/show the cursor; Enable/disable cursor blinking (not all terminals do support this feature) Getting Started Click to show Cargo.toml. [dependencies] # All crossterm features are enabled by default ...
  9. Dec 16, 2024Move the cursor one character to the left: →: Move the cursor one character to the right: Ctrl + A: Move the cursor to the start of the filter: Ctrl + E: Move the cursor to the end of the filter: Backspace: Delete a character of filter at the cursor position: Ctrl + U: Delete all characters of filter: ↑, Ctrl + K: Move the cursor one entry ...
  10. Feb 6, 2025Cursor movement and edits render under 10ms. Everything else happens asynchronously (syntax parsing and highlighting, IO to/from disk, file pickers). ... C-SPC enter selection mode at the current cursor position; C-w cut selection; A-w copy selection; C-x h select the entire buffer and move the cursor to the beginning; C-y paste selection (yank ...

    Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

Custom date rangeX