Commit Graph

  • 6f66a0dbeb parse SGR really poorly Mitchell Hashimoto 2022-05-09 10:02:23 -07:00
  • 86ab28cf10 esc dispatch is handled in parser Mitchell Hashimoto 2022-05-08 20:52:15 -07:00
  • 54783e3624 cursor right Mitchell Hashimoto 2022-05-08 20:42:24 -07:00
  • 566872f407 DCH delete chars Mitchell Hashimoto 2022-05-08 20:39:21 -07:00
  • c4c131ebe1 rename some funcs Mitchell Hashimoto 2022-05-08 20:25:02 -07:00
  • fd0fa1d08b implement erase line (EL) CSI Mitchell Hashimoto 2022-05-08 20:20:21 -07:00
  • 4314ea86b3 code tweak to avoid crash Mitchell Hashimoto 2022-05-08 20:13:53 -07:00
  • 68aca98ba8 CUP full implementation with tests Mitchell Hashimoto 2022-05-08 20:08:44 -07:00
  • 7e77c6b369 terminal implement clear screen and set cursor, needs tests Mitchell Hashimoto 2022-05-08 16:08:07 -07:00
  • 8e907a3522 terminal: pass intermediates through to CSI, ignore NUL Mitchell Hashimoto 2022-05-08 15:02:24 -07:00
  • 468f6e2b51 implement basic CSI dispatch action Mitchell Hashimoto 2022-05-08 14:44:47 -07:00
  • e9cabefe20 envrc: use nix, nix flakes messes up env in a way that breaks shells Mitchell Hashimoto 2022-05-06 01:02:35 -07:00
  • aaf160f38b set refresh callback for redraw Mitchell Hashimoto 2022-05-04 11:16:30 -07:00
  • b6bf0a329c update zig Mitchell Hashimoto 2022-05-04 11:11:25 -07:00
  • 700124ea8e use nix-direnv Mitchell Hashimoto 2022-05-04 09:41:08 -07:00
  • 1063d8ba8b tracy: not enabled if root doesn't export tracy_enabled Mitchell Hashimoto 2022-05-03 22:03:10 -07:00
  • 31214d16ed Add task to initialize repo Mitchell Hashimoto 2022-05-03 22:01:19 -07:00
  • c0957dfc39 slow it down a bit more under load Mitchell Hashimoto 2022-05-01 16:02:33 -07:00
  • a95e72eced fix release mode builds by building parse table Mitchell Hashimoto 2022-04-29 20:02:22 -07:00
  • 308050dc7d only update cells in the render call Mitchell Hashimoto 2022-04-29 19:47:17 -07:00
  • e0a6836cbd Update comments Mitchell Hashimoto 2022-04-29 19:28:04 -07:00
  • dcf0194a2f max_timer: don't call callback in the same tick anymore Mitchell Hashimoto 2022-04-29 19:27:52 -07:00
  • 49f28b3bb7 have to use an async handle to wake up event loop for max timer Mitchell Hashimoto 2022-04-29 19:24:17 -07:00
  • bb01357c42 Move the render to a timer that slows down under load Mitchell Hashimoto 2022-04-29 19:21:06 -07:00
  • b0aa222e58 libuv: Embed now uses a mutex + cond var Mitchell Hashimoto 2022-04-29 19:20:47 -07:00
  • e1a58c5cbc libuv: add more APIs Mitchell Hashimoto 2022-04-29 19:19:51 -07:00
  • f11531bc3f libuv: add Cond, Mutex Mitchell Hashimoto 2022-04-29 18:49:36 -07:00
  • ebec508da5 libuv: Loop.now Mitchell Hashimoto 2022-04-29 17:07:48 -07:00
  • cfcc72e0e8 tracy: support allocation wrapping Mitchell Hashimoto 2022-04-29 14:37:16 -07:00
  • 330d2ea270 integrate tracy more deeply Mitchell Hashimoto 2022-04-29 13:39:56 -07:00
  • 10736e2eb4 initial tracy support Mitchell Hashimoto 2022-04-29 09:15:49 -07:00
  • aae3eb88de vendor: add tracy v0.7.8 Mitchell Hashimoto 2022-04-29 08:38:49 -07:00
  • fbe9c10944 add tracy and update Zig Mitchell Hashimoto 2022-04-29 08:33:10 -07:00
  • fdde63cd36 vendor: remove stb Mitchell Hashimoto 2022-04-29 08:28:58 -07:00
  • 8a42336741 remove vendor/cglm Mitchell Hashimoto 2022-04-29 08:28:25 -07:00
  • bb24513c1a remove old unused files Mitchell Hashimoto 2022-04-29 08:27:16 -07:00
  • c180f7d30e unused comment Mitchell Hashimoto 2022-04-29 08:11:00 -07:00
  • 0c417027ef jank wrap handling (by not wrapping at all) Mitchell Hashimoto 2022-04-28 21:40:10 -07:00
  • 19a0b874f2 send control characters Mitchell Hashimoto 2022-04-28 21:29:05 -07:00
  • cbd6505d25 terminal: scrolling Mitchell Hashimoto 2022-04-28 21:18:27 -07:00
  • 79d2474aae send tab to process Mitchell Hashimoto 2022-04-28 20:10:42 -07:00
  • f44649476d horizontal tab off by one, add unit tests Mitchell Hashimoto 2022-04-27 21:06:28 -07:00
  • 53702343c2 ctrl-l is form feed Mitchell Hashimoto 2022-04-27 20:57:43 -07:00
  • 516e500b76 fix some miscalculations with tabstops, add test Mitchell Hashimoto 2022-04-27 20:43:10 -07:00
  • 15a816f863 horizontal tab, implement tabstops using a default value Mitchell Hashimoto 2022-04-27 20:21:16 -07:00
  • 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