Commit Graph

  • 3857e7f519 don't crash on htab, but its not implemented yet Mitchell Hashimoto 2022-04-27 09:30:39 -07:00
  • 2767f19ced bell doesn't crash Mitchell Hashimoto 2022-04-27 09:12:23 -07:00
  • 7d10c8f0a4 catch errors in ttyRead Mitchell Hashimoto 2022-04-26 19:52:51 -07:00
  • 9e6d38425a update TODO Mitchell Hashimoto 2022-04-26 19:47:39 -07:00
  • 7025b53544 add some TODOs Mitchell Hashimoto 2022-04-26 19:45:12 -07:00
  • 17c6d24bc2 handle backspace Mitchell Hashimoto 2022-04-26 19:39:37 -07:00
  • 515fbc02fd enter sends '\n' to child process Mitchell Hashimoto 2022-04-26 17:26:55 -07:00
  • e462f35727 don't ignore fcntl return for macos Mitchell Hashimoto 2022-04-26 17:14:26 -07:00
  • 3b2d93373e hook up the real subprocess reader/writer to the UI! Mitchell Hashimoto 2022-04-26 17:13:37 -07:00
  • a2a22791ee SegmentedPool Mitchell Hashimoto 2022-04-26 16:18:34 -07:00
  • 3881f9053e libuv: expose WriteReq Mitchell Hashimoto 2022-04-26 16:18:21 -07:00
  • b74b6103ea update command comments Mitchell Hashimoto 2022-04-26 14:51:26 -07:00
  • 22c34512cb Command: setup fd properly on mac Mitchell Hashimoto 2022-04-26 14:42:42 -07:00
  • c565a889f9 pty: use libc ioctl for compat Mitchell Hashimoto 2022-04-26 14:20:17 -07:00
  • cf40a33fdd hook up pty master to libuv Mitchell Hashimoto 2022-04-25 19:32:39 -07:00
  • 4bb2808d73 libuv: Errno, build up errors at comptime Mitchell Hashimoto 2022-04-25 19:20:54 -07:00
  • 0258b24d1f libuv: stream try_write Mitchell Hashimoto 2022-04-25 19:02:31 -07:00
  • a0424d3a86 libuv: pipe reading Mitchell Hashimoto 2022-04-25 18:58:32 -07:00
  • 2f457bbd97 libuv: stream writes Mitchell Hashimoto 2022-04-25 17:23:29 -07:00
  • ce3a3159dd libuv: beginning Pipes so we can more easily test streaming Mitchell Hashimoto 2022-04-24 22:17:53 -07:00
  • 02eeece569 libuv: start shared stream functions Mitchell Hashimoto 2022-04-24 22:03:14 -07:00
  • 6613ae0f8f libuv: starting Tty impl Mitchell Hashimoto 2022-04-24 21:57:52 -07:00
  • 9cc19b0553 execute the child command Mitchell Hashimoto 2022-04-24 14:33:25 -07:00
  • c4600d584f redraw window during resize Mitchell Hashimoto 2022-04-24 10:50:35 -07:00
  • e63f69572f disable retina framebuffer on mac, see comment Mitchell Hashimoto 2022-04-24 10:48:24 -07:00
  • 9d77e9e335 kevent properly blocks Mitchell Hashimoto 2022-04-24 10:21:29 -07:00
  • 724b2aedfa various fixes for macos Mitchell Hashimoto 2022-04-24 10:14:25 -07:00
  • 747ebfb628 fix pty resizing on darwin Mitchell Hashimoto 2022-04-24 09:32:03 -07:00
  • 70693872f7 use OpenGL on Mac Mitchell Hashimoto 2022-04-23 14:28:01 -07:00
  • d510d3c9a2 define gl_FragColor for macos Mitchell Hashimoto 2022-04-23 14:20:25 -07:00
  • c023fed8f0 compilation for macos works? Mitchell Hashimoto 2022-04-23 14:15:54 -07:00
  • 8b0d914ddc improve building on darwin Mitchell Hashimoto 2022-04-23 14:00:21 -07:00
  • 2bb2897d63 Command: set custom env vars Mitchell Hashimoto 2022-04-23 13:44:57 -07:00
  • 38685d965e expandPath for looking in PATH Mitchell Hashimoto 2022-04-23 13:00:37 -07:00
  • cf0198e6b2 update zig Mitchell Hashimoto 2022-04-23 11:52:45 -07:00
  • 63cc2ba4fa libuv: implement kqueue Mitchell Hashimoto 2022-04-23 10:31:02 -07:00
  • 825a90e7cc don't blink the cursor while typing Mitchell Hashimoto 2022-04-23 10:22:27 -07:00
  • bbaa28fce1 style Mitchell Hashimoto 2022-04-22 22:01:57 -07:00
  • bd7855da46 when losing focus, show hollow box Mitchell Hashimoto 2022-04-22 21:58:15 -07:00
  • 7169679654 update cells to hide cursor on non-focus Mitchell Hashimoto 2022-04-22 20:11:42 -07:00
  • 87899421bd don't blink cursor when losing focus Mitchell Hashimoto 2022-04-22 17:40:37 -07:00
  • 0b689723f7 use async handles to more immediately exit the event loop Mitchell Hashimoto 2022-04-22 15:42:08 -07:00
  • cd602b660c blinking cursor Mitchell Hashimoto 2022-04-22 15:33:50 -07:00
  • f8b305df62 pass around the event loop, setup a timer to prove it works Mitchell Hashimoto 2022-04-22 13:56:39 -07:00
  • 7d48135e58 libuv: fix self-dependent zig error Mitchell Hashimoto 2022-04-22 13:28:59 -07:00
  • 947596ea5e clean up some of the libuv interations Mitchell Hashimoto 2022-04-22 12:15:15 -07:00
  • a57f4e76f1 fully integrate libuv, no crash on close Mitchell Hashimoto 2022-04-22 12:11:53 -07:00
  • ccf95d823e libuv: Async Mitchell Hashimoto 2022-04-22 11:57:11 -07:00
  • cca32c4d1c embedded libuv loop. still some issues: Mitchell Hashimoto 2022-04-22 10:01:52 -07:00
  • 001aac26e0 libuv: backend fd/timeout Mitchell Hashimoto 2022-04-21 19:47:19 -07:00
  • 2496ffafec libuv: timer start Mitchell Hashimoto 2022-04-21 19:43:20 -07:00
  • 10440d6783 libuv: Timers Mitchell Hashimoto 2022-04-21 19:32:48 -07:00
  • 4b0cddc948 libuv: thread self, no deinit Mitchell Hashimoto 2022-04-21 16:28:06 -07:00
  • a5b3b52b1b libuv: Threads Mitchell Hashimoto 2022-04-21 16:24:37 -07:00
  • b1f9f68e87 libuv: Sem Mitchell Hashimoto 2022-04-21 15:57:45 -07:00
  • 21ee510471 starting libuv bindings Mitchell Hashimoto 2022-04-21 09:33:32 -07:00
  • 55351487a9 accept enter to make a newline Mitchell Hashimoto 2022-04-19 20:26:06 -07:00
  • df9fcf636f calculate the cell width/height using the font size scale factor Mitchell Hashimoto 2022-04-19 20:05:24 -07:00
  • d250bcda65 fix the baseline for font rendering Mitchell Hashimoto 2022-04-19 19:30:30 -07:00
  • e2ed1ed745 shader modes, draw a jank cursor Mitchell Hashimoto 2022-04-19 13:54:50 -07:00
  • c265983cfa remove old shaders Mitchell Hashimoto 2022-04-19 13:24:06 -07:00
  • 19692f297e set character callback and update the terminal Mitchell Hashimoto 2022-04-19 13:10:50 -07:00
  • 4da0c789de update mach Mitchell Hashimoto 2022-04-19 12:59:35 -07:00
  • 6110086c43 update zig Mitchell Hashimoto 2022-04-19 12:57:37 -07:00
  • 7a00c54f25 cell: convert atlas x/y to NDC in shader Mitchell Hashimoto 2022-04-19 09:20:55 -07:00
  • ac8120f073 update some comments Mitchell Hashimoto 2022-04-19 09:02:50 -07:00
  • c43c1d38f1 add background pass Mitchell Hashimoto 2022-04-19 08:54:39 -07:00
  • e9661fa55e render multiple lines Mitchell Hashimoto 2022-04-19 08:42:37 -07:00
  • 81d8ca5b9c render text from our terminal! Mitchell Hashimoto 2022-04-18 17:53:19 -07:00
  • 34cb9b2c27 setup our GPU cells based on terminal state Mitchell Hashimoto 2022-04-18 16:21:22 -07:00
  • 2e46612bc7 attach a terminal to the window, start hinting at renderer hookup Mitchell Hashimoto 2022-04-18 14:12:35 -07:00
  • 753a946fd5 terminal: C0.BS Mitchell Hashimoto 2022-04-18 12:35:15 -07:00
  • fc8bd859db terminal: writing strings and multiline strings starting to work Mitchell Hashimoto 2022-04-18 12:21:50 -07:00
  • 20f9ad3f55 implement basic VT parser -- only print/execute handled Mitchell Hashimoto 2022-04-18 11:01:47 -07:00
  • 94f3c5e490 comment Mitchell Hashimoto 2022-04-18 09:41:04 -07:00
  • 8d389b4ea9 initial VT emulation table Mitchell Hashimoto 2022-04-18 09:38:52 -07:00
  • dc788ce5b2 terminal stuff Mitchell Hashimoto 2022-04-17 09:40:09 -07:00
  • d1173626ad remove freetype-gl Mitchell Hashimoto 2022-04-16 21:18:47 -07:00
  • 74e04355a0 improve commnts Mitchell Hashimoto 2022-04-16 11:12:38 -07:00
  • 82a4aef1fa TempDir implementation Mitchell Hashimoto 2022-04-16 11:07:27 -07:00
  • 992d52fe81 working on subprocessing Mitchell Hashimoto 2022-04-16 10:22:18 -07:00
  • 2cd51f0cc4 basic pty opening Mitchell Hashimoto 2022-04-15 13:09:35 -07:00
  • 38428f94c1 make colors more distinct for demo cells Mitchell Hashimoto 2022-04-15 09:27:53 -07:00
  • 8ea0299375 grid keeps track of cells Mitchell Hashimoto 2022-04-15 09:18:57 -07:00
  • 4d9b67fa65 model direct gpu cell Mitchell Hashimoto 2022-04-15 09:10:32 -07:00
  • 128d28a7bd setup a single vao, ebo, vbo for grid rendering Mitchell Hashimoto 2022-04-15 08:35:49 -07:00
  • e672c9d7d5 calculate grid size in dedicated struct, tests Mitchell Hashimoto 2022-04-15 08:16:22 -07:00
  • d5ab024521 fix memory leaks Mitchell Hashimoto 2022-04-15 07:52:08 -07:00
  • bb902cf4e3 new Window abstraction Mitchell Hashimoto 2022-04-14 21:07:16 -07:00
  • ce70efd771 render a rainbow grid Mitchell Hashimoto 2022-04-14 17:44:40 -07:00
  • 544286509f grid render a few cells Mitchell Hashimoto 2022-04-14 17:14:49 -07:00
  • 936b987871 calculate cell widt/height, cross verified with kitty Mitchell Hashimoto 2022-04-06 13:05:53 -07:00
  • 811b5f37f2 addGlyph returns glyph Mitchell Hashimoto 2022-04-06 09:47:57 -07:00
  • 263c9e4aac opengl: unbind programs Mitchell Hashimoto 2022-04-06 08:42:39 -07:00
  • a9e887315a note perf todo Mitchell Hashimoto 2022-04-05 20:17:08 -07:00
  • 5e919cee2d remove freetype-gl Mitchell Hashimoto 2022-04-05 19:55:30 -07:00
  • 80490cb80d remove ftgl build Mitchell Hashimoto 2022-04-05 19:54:48 -07:00
  • 388c0056c9 switch to pure Zig font atlas Mitchell Hashimoto 2022-04-05 19:54:13 -07:00
  • d51ed2536c font atlas creates glyph records Mitchell Hashimoto 2022-04-05 19:21:49 -07:00
  • 876d316cda atlas: use saturating arithmetic Mitchell Hashimoto 2022-04-05 17:58:48 -07:00