Commit Graph

13515 Commits (main)

Author SHA1 Message Date
Mitchell Hashimoto 4b0cddc948
libuv: thread self, no deinit 2022-04-21 16:28:06 -07:00
Mitchell Hashimoto a5b3b52b1b
libuv: Threads 2022-04-21 16:26:26 -07:00
Mitchell Hashimoto b1f9f68e87
libuv: Sem 2022-04-21 15:57:45 -07:00
Mitchell Hashimoto 21ee510471
starting libuv bindings 2022-04-21 09:33:32 -07:00
Mitchell Hashimoto 55351487a9
accept enter to make a newline 2022-04-19 20:26:06 -07:00
Mitchell Hashimoto df9fcf636f
calculate the cell width/height using the font size scale factor 2022-04-19 20:05:24 -07:00
Mitchell Hashimoto d250bcda65
fix the baseline for font rendering 2022-04-19 19:30:30 -07:00
Mitchell Hashimoto e2ed1ed745
shader modes, draw a jank cursor 2022-04-19 13:54:50 -07:00
Mitchell Hashimoto c265983cfa
remove old shaders 2022-04-19 13:24:06 -07:00
Mitchell Hashimoto 19692f297e
set character callback and update the terminal 2022-04-19 13:10:50 -07:00
Mitchell Hashimoto 4da0c789de
update mach 2022-04-19 12:59:35 -07:00
Mitchell Hashimoto 6110086c43
update zig 2022-04-19 12:57:37 -07:00
Mitchell Hashimoto 7a00c54f25
cell: convert atlas x/y to NDC in shader 2022-04-19 09:20:55 -07:00
Mitchell Hashimoto ac8120f073
update some comments 2022-04-19 09:02:50 -07:00
Mitchell Hashimoto c43c1d38f1
add background pass 2022-04-19 08:54:39 -07:00
Mitchell Hashimoto e9661fa55e
render multiple lines 2022-04-19 08:42:37 -07:00
Mitchell Hashimoto 81d8ca5b9c
render text from our terminal! 2022-04-18 17:57:08 -07:00
Mitchell Hashimoto 34cb9b2c27
setup our GPU cells based on terminal state 2022-04-18 16:21:22 -07:00
Mitchell Hashimoto 2e46612bc7
attach a terminal to the window, start hinting at renderer hookup 2022-04-18 14:12:35 -07:00
Mitchell Hashimoto 753a946fd5
terminal: C0.BS 2022-04-18 12:35:15 -07:00
Mitchell Hashimoto fc8bd859db
terminal: writing strings and multiline strings starting to work 2022-04-18 12:21:50 -07:00
Mitchell Hashimoto 20f9ad3f55
implement basic VT parser -- only print/execute handled 2022-04-18 11:01:47 -07:00
Mitchell Hashimoto 94f3c5e490
comment 2022-04-18 09:41:04 -07:00
Mitchell Hashimoto 8d389b4ea9
initial VT emulation table 2022-04-18 09:38:52 -07:00
Mitchell Hashimoto dc788ce5b2
terminal stuff 2022-04-17 09:40:09 -07:00
Mitchell Hashimoto d1173626ad
remove freetype-gl 2022-04-16 21:18:47 -07:00
Mitchell Hashimoto 74e04355a0
improve commnts 2022-04-16 11:12:38 -07:00
Mitchell Hashimoto 82a4aef1fa
TempDir implementation 2022-04-16 11:07:27 -07:00
Mitchell Hashimoto 992d52fe81
working on subprocessing 2022-04-16 10:22:18 -07:00
Mitchell Hashimoto 2cd51f0cc4
basic pty opening 2022-04-15 13:09:35 -07:00
Mitchell Hashimoto 38428f94c1
make colors more distinct for demo cells 2022-04-15 09:27:53 -07:00
Mitchell Hashimoto 8ea0299375
grid keeps track of cells 2022-04-15 09:18:57 -07:00
Mitchell Hashimoto 4d9b67fa65
model direct gpu cell 2022-04-15 09:10:32 -07:00
Mitchell Hashimoto 128d28a7bd
setup a single vao, ebo, vbo for grid rendering 2022-04-15 08:35:49 -07:00
Mitchell Hashimoto e672c9d7d5
calculate grid size in dedicated struct, tests 2022-04-15 08:16:22 -07:00
Mitchell Hashimoto d5ab024521
fix memory leaks 2022-04-15 07:52:08 -07:00
Mitchell Hashimoto bb902cf4e3
new Window abstraction 2022-04-14 21:07:16 -07:00
Mitchell Hashimoto ce70efd771
render a rainbow grid 2022-04-14 17:44:40 -07:00
Mitchell Hashimoto 544286509f
grid render a few cells 2022-04-14 17:14:49 -07:00
Mitchell Hashimoto 936b987871
calculate cell widt/height, cross verified with kitty 2022-04-06 13:05:53 -07:00
Mitchell Hashimoto 811b5f37f2
addGlyph returns glyph 2022-04-06 09:47:57 -07:00
Mitchell Hashimoto 263c9e4aac
opengl: unbind programs 2022-04-06 08:42:39 -07:00
Mitchell Hashimoto a9e887315a
note perf todo 2022-04-05 20:17:08 -07:00
Mitchell Hashimoto 5e919cee2d
remove freetype-gl 2022-04-05 19:55:30 -07:00
Mitchell Hashimoto 80490cb80d
remove ftgl build 2022-04-05 19:54:48 -07:00
Mitchell Hashimoto 388c0056c9
switch to pure Zig font atlas 2022-04-05 19:54:13 -07:00
Mitchell Hashimoto d51ed2536c
font atlas creates glyph records 2022-04-05 19:21:49 -07:00
Mitchell Hashimoto 876d316cda
atlas: use saturating arithmetic 2022-04-05 17:58:48 -07:00
Mitchell Hashimoto e33aeea723
starting FontAtlas 2022-04-05 17:57:09 -07:00
Mitchell Hashimoto c4fb335a6b
zig native atlas implementation 2022-04-05 12:04:10 -07:00