From 90078dc703e8f19d8609e51bc29ff98c3bbc1164 Mon Sep 17 00:00:00 2001 From: treeform Date: Fri, 3 Apr 2026 11:35:29 -0700 Subject: [PATCH 1/2] Fix sp and gr --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cc74cfb..656d4be 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,18 @@ # Windy -**This library is still in development and is not ready to be used.** +**This library is still in development and is not ready to use.** -Windy is a windowing library for Nim that uses OS native APIs to manage windows, set up OpenGL and receive mouse and keyboard input. +Windy is a windowing library for Nim that uses native OS APIs to +manage windows, set up OpenGL, and receive mouse and keyboard input. `nimble install windy` -![Github Actions](https://github.com/treeform/windy/workflows/Github%20Actions/badge.svg) +![GitHub Actions](https://github.com/treeform/windy/workflows/Github%20Actions/badge.svg) [API reference](https://treeform.github.io/windy) -Windy will work great for 2D and 3D OpenGL games as well as GUI apps using OpenGL. Using this library should feel similar to GLFW or SDL. +Windy will work great for 2D and 3D OpenGL games, as well as GUI apps +using OpenGL. Using this library should feel similar to GLFW or SDL. Features: * Multi-platform (Windows, macOS, Linux) @@ -22,7 +24,7 @@ Features: * Double-click, triple-click and quadruple-click events * Keyboard input (key events + unicode) * Easy polling of keyboard state via `buttonDown[Button]` and more -* IME support (for Chinese, Japanese etc text input) +* IME support (for Chinese, Japanese, etc. text input) * System clipboard (copy and paste) support * Show a system tray icon and menu (Windows only) * Non-blocking HTTP requests and WebSockets @@ -54,7 +56,11 @@ while not window.closeRequested: Here are a few reasons that may be worth considering: -* Windy is written in Nim so it will be more natural to use than bindings to other libraries. For example, making a window fullscreen is as easy as `window.fullscreen = true`. Consider browsing some of the examples and consider if you would find this Nim-first API more pleasant to work with. +* Windy is written in Nim, so it will be more natural to use than + bindings to other libraries. For example, making a window fullscreen + is as easy as `window.fullscreen = true`. Consider browsing some of + the examples and whether you would find this Nim-first API more + pleasant to work with. * Windy includes events for double, triple and quadruple clicks. Furthermore, Windy maintains the keyboard and mouse state in a way that makes reacting to input state easier each frame. See `buttonPressed[]`, `buttonDown[]`, `buttonReleased[]` and `buttonToggle[]` on `Window`. From 0e183e688fcbdd0e903d382cb2ac558a6eef3bc3 Mon Sep 17 00:00:00 2001 From: treeform Date: Fri, 3 Apr 2026 11:38:11 -0700 Subject: [PATCH 2/2] No -g? --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ad60e5..07f1dce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,8 +15,8 @@ jobs: - uses: actions/checkout@v5 - uses: treeform/setup-nim-action@v6 - - run: nimby sync -g nimby.lock - - run: nimby install -g boxy + - run: nimby sync nimby.lock + - run: nimby install boxy # Run tests. - run: nim c tests/test.nim