Repository navigation
Description
Problem
Why
The README documents a native graphics pipeline as OpenGL on Linux and Metal on macOS. Ebiten already speaks Direct3D 11 on Windows. Rune is missing the platform glue: per-monitor DPI v2, a dark title bar, DWM backdrop (Mica on Windows 11 / Acrylic on Windows 10) so ScreenTransparent and blur match the other OSes, and Windows emoji font search paths.
Goal is to land this upstream under GPLv3-or-later so everyone can run Rune as a native Windows app. Not a proprietary fork.
Approach
Keep the existing Ebiten Game loop and character grid. No second renderer.
internal/term/gui/wingfxbehind build tags (windows/!windows)- Per-monitor DPI v2 before the first HWND
- DWM attributes once the HWND exists (dark mode, rounded corners, Mica / Acrylic when transparency + blur are on)
internal/term/gui/font/emoji_windows.gonext to the existingfonts_windows.go- Two calls from the GUI loop:
prepareNativeWindow(title)inRun,applyNativeWindowEffects(...)at the start ofUpdate(no-ops off Windows) - Document Direct3D 11 next to OpenGL / Metal
Draft lives on the fork:
- Branch: https://github.com/Bell8571/rune/tree/windows-graphics
- Draft PR on the fork: Windows graphics: Direct3D + DWM compositor Bell8571/rune#1
Known blockers outside this repo
A green GOOS=windows build also needs small fixes in the forks Rune already uses:
unstablebuild/ebiten—glfw.InitHintis Unix-only but called unconditionallyunstablebuild/tcell—console_win.gois behind the fork's API
Happy to split those into separate PRs on those repos.
License
GPLv3-or-later, same file headers as the rest of the tree. Contributors keep copyright.
Proposed behavior
Windows adoption
Area
Install, upgrade, or licensing
Alternatives considered
No response
Additional context
No response
Checks
- I searched existing issues and this is not a duplicate.
- I would be willing to work on this.
Activity
glfw: add InitHint stub on Windows so ui_glfw.go builds (#1)
ejb711 commentedon Sep 18, 2026
We're building a Windows binary from
main+ #82 + the tcell PR 6 and ebitenInitHintfixes, cross-compiled from WSL and tested natively on Windows 11. WithSIGUSR1stubbed, the in-repo tree already compiles forGOOS=windows; the two forks are the only blockers.We'd like to take the non-graphics slices as separate PRs, starting with ConPTY-backed terminals and path handling, and leave graphics to #82. Happy to sync here or in
#windows.ernestrc commentedon Sep 19, 2026
merged: unstablebuild/tcell#6. Taking the TUI mode on a separate effort, makes perfect sense.
Refactor the LSP socketpair into build-tagged files (#107)
Update firstmover to create the extension socket directory before lis…
Fix data directory and extensions command directory paths on Windows (#…
Refactor unix-only signal and dup2 handling into build-tagged files (#…
Fix firstmover lock takeover on Windows (#112)
Add procattr to start and stop process trees on each platform (#108)
Fix building Rune on platforms other than Linux and macOS