Mitchell Hashimoto
43083f3af5
Add linux kernel information to +version (#7790)
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
2025-07-06 07:01:26 -07:00
..
2025-07-06 01:05:17 -05:00
2025-05-21 10:20:09 -07:00
2025-07-05 21:31:23 -07:00
2025-07-04 01:40:15 +02:00
2025-07-06 06:42:14 -07:00
2025-06-20 15:18:41 -06:00
2025-06-23 20:47:19 -06:00
2025-07-05 23:04:09 -06:00
2025-07-06 06:42:14 -07:00
2025-05-26 21:50:14 -06:00
2025-07-06 07:01:26 -07:00
2025-07-05 22:10:39 -06:00
2025-07-04 20:06:06 -04:00
2025-03-12 11:03:54 -07:00
2025-01-18 22:47:18 +09:00
2025-05-21 10:20:09 -07:00
2025-06-30 09:17:20 -07:00
2025-05-27 21:55:28 -06:00
2025-07-04 14:12:18 -07:00
2025-05-26 21:50:14 -06:00
2025-06-27 09:12:20 -07:00
2025-07-04 14:12:18 -07:00
2025-03-11 14:39:04 -07:00
2025-06-28 13:06:43 -07:00
2025-07-03 21:31:03 -07:00
2025-06-30 08:06:00 -07:00
2024-06-10 13:58:35 -04:00
2025-06-25 16:27:23 -04:00
2025-06-24 07:36:09 -04:00
2025-03-11 14:53:30 -07:00
2025-04-21 08:32:05 -07:00
2025-07-05 21:31:23 -07:00
2025-07-04 14:12:18 -07:00
2024-08-16 14:35:10 -07:00
2025-01-23 15:58:33 -08:00
2022-08-18 11:42:32 -07:00
2025-06-21 14:11:50 -07:00
2024-08-11 15:26:36 -07:00
2025-06-20 15:18:41 -06:00
2025-05-09 10:01:05 -07:00
2025-07-06 06:42:14 -07:00
2024-08-16 10:36:10 -07:00