Mitchell Hashimoto
6b450f7c7d
macos: track surface focus state
2023-02-19 10:44:57 -08:00
Mitchell Hashimoto
7af516e7e6
embedded wakeup calls callback
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
7a368da099
macos: hook up text input
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
4b44b2bc95
c: fix enums for input
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
7fc9d1bf52
termio: remove xcode-injected env vars
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
573b163636
start input, its broken but we're getting there
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
074664398a
macos: correct scale factor propagated
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
57551e3990
macos: disable sandbox
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
20f76a71ef
update size
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
cd77408efc
it draws!
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
ff9af8a07b
lots of progress running a surface but still crashes
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
55b05b22bb
c: create/destroy surface API
2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
c68f8082df
apprt: can pass options through to Windows
2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
085d462a68
lots of stubbing so window will kind of compile for embedded
2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
eed6979868
apprt: start embedded implement, make App API available to C
2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
ba8f142770
app: only create first window in exe mode
2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
26182611c6
move allocator to global state
2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
8673b90299
build: use caching for Libtool and Lipo steps
2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
f30d80cabe
build: must set run condition to always now
2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
1f9d4eb9f4
update to latest build API, rebase
2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
9bd527fe00
macos: config API
2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
6fc4b144a2
build: update libtool step docs
2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
d2dd3df86a
libtoolstep
2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
8b80e65928
lots of broken stuff
2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
1abaf87de9
build: LipoStep
2023-02-19 10:44:53 -08:00
Mitchell Hashimoto
55aff76922
build: remove SwiftBuildStep
2023-02-19 10:44:53 -08:00
Mitchell Hashimoto
8035865596
build: ghostty lib, framework, build into app
2023-02-19 10:44:53 -08:00
Mitchell Hashimoto
4d09f8dba6
build: add SwiftBuildStep to run "swift build"
2023-02-19 10:44:52 -08:00
Mitchell Hashimoto
be75109a1d
new build system
2023-02-14 20:58:33 -08:00
Mitchell Hashimoto
695a9f3cb9
termio: fix pty close error so close doesn't hang on macOS
2023-02-06 16:05:41 -08:00
Mitchell Hashimoto
469d395997
termio: fix TODO around cursor reset
2023-02-06 15:51:55 -08:00
Mitchell Hashimoto
7c360eb29a
termio: better commenting on what is going on
2023-02-06 15:45:32 -08:00
Mitchell Hashimoto
91ace8af64
termio: IO reader thread cleanup works
2023-02-06 15:41:28 -08:00
Mitchell Hashimoto
11d6e91228
termio: reader thread is thread-safe for writing to writer
2023-02-06 14:52:24 -08:00
Mitchell Hashimoto
a5d03d1318
termio: use a dedicated io reader thread?
2023-02-05 21:33:15 -08:00
Mitchell Hashimoto
f07e21c22e
remove libuv from build
2023-02-04 17:37:51 -08:00
Mitchell Hashimoto
7e6a86f065
termio: use libxev (with TODOs)
2023-02-04 11:47:51 -08:00
Mitchell Hashimoto
1273527048
renderer uses libxev
...
Still some bugs and TODOs, but it is workable.
2023-02-01 15:52:22 -08:00
Mitchell Hashimoto
e438539a14
Fix new log function options for zig
2023-01-26 09:10:09 -08:00
Mitchell Hashimoto
f2b59353ab
window (mac): recalculate sizes on new tab
...
When a new tab is added, the tab bar may appear which causes our size
grid size calculation to become invalidated. We weren't updating this
previously, which had the effect of mouse selection being in the wrong
place. There were likely other effects...
Fixes https://github.com/mitchellh/ghostty/issues/69
2023-01-26 08:54:09 -08:00
Mitchell Hashimoto
df52fae76a
terminal: check OSC parser for tmux 112 sequences from HN
...
Saw this on HN:
https://github.com/darrenstarr/VtNetCore/pull/14
I wanted to see if ghostty was vulnerable to it (it is not). But, its a
good example of a weird edge case in the wild and I wanted to make sure
it was redundantly tested. It looks like we read the "spec" (blog posts,
man pages, source of other terminal using tools, etc.) right.
2023-01-17 21:47:38 -08:00
Mitchell Hashimoto
230157d60b
remove unused import
2022-12-31 09:07:14 -08:00
Mitchell Hashimoto
e8a1fe4d87
move wasm target struct around to avoid analyzing wasm file on non-wasm
2022-12-31 09:04:11 -08:00
Mitchell Hashimoto
8b6128ddfc
start making the src more wasm target aware
2022-12-31 08:57:12 -08:00
Mitchell Hashimoto
ce490e21ea
can specify a wasm target in build
2022-12-31 08:53:11 -08:00
Mitchell Hashimoto
1093cf5254
config: enable passwd isn't compiled for wasm
2022-12-30 16:32:49 -08:00
Mitchell Hashimoto
7c291a2c4c
config: API for wasm
2022-12-30 16:19:54 -08:00
Mitchell Hashimoto
58218af2b5
app: make apprt agnostic
2022-12-30 15:56:42 -08:00
Mitchell Hashimoto
83f5d29ae2
initialize glfw in app
2022-12-30 15:48:45 -08:00
Mitchell Hashimoto
b502d5aa7d
apprt: window size limits
2022-12-30 15:36:25 -08:00