mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +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", .{});
|
||||
}
|
||||
|
||||
/// This sets the LANG environment variable based on the macOS system
|
||||
/// preferences selected locale settings.
|
||||
fn setLangFromCocoa() void {
|
||||
const pool = objc.AutoreleasePool.init();
|
||||
defer pool.deinit();
|
||||
|
Reference in New Issue
Block a user