mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
better commenting
This commit is contained in:
@ -25,6 +25,8 @@ pub fn ensureLocale() void {
|
|||||||
} else log.warn("setlocale failed, locale may be incorrect", .{});
|
} else log.warn("setlocale failed, locale may be incorrect", .{});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// This sets the LANG environment variable based on the macOS system
|
||||||
|
/// preferences selected locale settings.
|
||||||
fn setLangFromCocoa() void {
|
fn setLangFromCocoa() void {
|
||||||
const pool = objc.AutoreleasePool.init();
|
const pool = objc.AutoreleasePool.init();
|
||||||
defer pool.deinit();
|
defer pool.deinit();
|
||||||
|
Reference in New Issue
Block a user