Mitchell Hashimoto
bd528f5c11
macos: set the proper env var
2023-09-20 12:43:35 -07:00
Mitchell Hashimoto
cdbf16e13b
macos: set env var for app bundle to detect app launch vs CLI
2023-09-20 11:10:46 -07:00
Mitchell Hashimoto
423e55ce0f
macos: change executale name to "ghostty" (lowercase)
...
This way we can also put this on the PATH and use it as a CLI...
2023-09-20 10:13:12 -07:00
Thorsten Ball
39055ebf40
macOS: explicitly name the NSMainNibFile in plist
...
According to [this answer][0] here and [this blogpost][1], if the
`NSMainNibFile` is not specified in the `*.plist` file, then
`NSApplicationMain` will look through the bundle to get the first nib
file it finds.
I like the explicitness of naming it and it probably also saves a
miniscule amount of CPU/IO when we can skip finding the file.
[0]: https://stackoverflow.com/questions/42886400/how-does-nsapplicationmain-find-the-main-nib-file
[1]: https://jameshfisher.com/2017/03/20/how-is-mainmenu-xib-loaded/
2023-08-07 19:48:04 +02:00
Mitchell Hashimoto
1d14b121c0
renderer: do not draw cursor cell inversion if we don't draw the cursor
...
We previously used the "screen.viewportIsBottom" check but this is
always true since awhile back since we copy only the viewport now. A
cleaner check really is that we only track the cursor cell if we're even
drawing the cursor.
2023-05-25 21:41:43 -07:00