mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00

Adds basic kernel information to `ghostty +version`. `ghostty +version` on my machine now prints: ``` Ghostty 1.1.4-kernel-version-info+cdbc78bce Version - version: 1.1.4-kernel-version-info+cdbc78bce - channel: tip Build Config - Zig version : 0.14.1 - build mode : builtin.OptimizeMode.Debug - app runtime : apprt.Runtime.gtk - font engine : font.main.Backend.fontconfig_freetype - renderer : renderer.generic.Renderer(renderer.OpenGL) - libxev : io_uring - kernel version: 6.15.4-200.fc42.x86_64 - desktop env : other - GTK version : build : 4.18.5 runtime : 4.18.5 - libadwaita : enabled build : 1.7.4 runtime : 1.7.4 - libX11 : enabled - libwayland : enabled ``` PS This is my first time writing prod code in Zig, so any suggestions and guidelines are welcome