What SetCursorMode Does In Grida Source Code
setCursorMode in Grida source code sets cursor mode by dispatching an object with type "surface/cursor-mode" and cursor_mode to the _useInternal hook.
I study large open-source projects and create content about their codebase architecture and best practices, sharing it through articles, videos.
setCursorMode in Grida source code sets cursor mode by dispatching an object with type "surface/cursor-mode" and cursor_mode to the _useInternal hook.
To set up Grida's dev env, use `git clone --recurse-submodules https://github.com/gridaco/grida`. This clones submodules & allows pnpm install. Run `pnpm run dev` to start dev environment.
Discover pretty-bytes, a package that converts bytes to human-readable strings! Used in unbuild OSS project, it's a game-changer for reporting file sizes. npm install pretty-bytes and learn more about its usage!
Discover Hookable, a package by Unjs for Awaitable Hooks. Learn how to use it in unbuild source code: create hooks, register them & call them to trigger callbacks.