Commit Graph

  • feccd550c3 implement many more reset sgr attributes Mitchell Hashimoto 2022-11-13 21:54:26 -08:00
  • 23e7b8d63e The cursor should be reset on entering the alt screen Mitchell Hashimoto 2022-11-13 21:43:59 -08:00
  • 019f1e34bb metal: copy screen data (see opengl commit for why) Mitchell Hashimoto 2022-11-13 17:29:23 -08:00
  • 3fcdd9a196 fix outdated test Mitchell Hashimoto 2022-11-13 16:25:50 -08:00
  • 333ff1e634 opengl: handle screen resize outside of critical area Mitchell Hashimoto 2022-11-13 16:19:38 -08:00
  • f1c69343d3 opengl: copy screen data instead of sharing state Mitchell Hashimoto 2022-11-13 16:16:08 -08:00
  • 81fbc94b3c Add a benchmark exe for testing parser throughput Mitchell Hashimoto 2022-11-13 11:23:23 -08:00
  • 445ca8998f cli args without arena Mitchell Hashimoto 2022-11-13 11:21:12 -08:00
  • 3e92ec5ccd update zig Mitchell Hashimoto 2022-11-09 17:42:33 -08:00
  • ce85d9a2cd add more tracing, unroll a loop Mitchell Hashimoto 2022-11-08 19:15:14 -08:00
  • d1718e6cbf use libc memcpy/memmove instead of std.mem if available Mitchell Hashimoto 2022-11-08 19:01:45 -08:00
  • a471eaf980 drop a couple function calls and optimize scrolling a bit Mitchell Hashimoto 2022-11-08 18:35:19 -08:00
  • 306ab947e7 implement region scrolling directly in screen to use memcpy Mitchell Hashimoto 2022-11-08 16:54:39 -08:00
  • 4b2f2a81db update TODO Mitchell Hashimoto 2022-11-08 14:01:47 -08:00
  • 8a871e1294 missing trace Mitchell Hashimoto 2022-11-08 13:57:12 -08:00
  • c1a9184ebd sgr: parse italic (render not implemented) Mitchell Hashimoto 2022-11-07 14:04:40 -08:00
  • 73c4395fc2 add more traces Mitchell Hashimoto 2022-11-07 07:59:47 -08:00
  • 5b52333e51 name threads and add more tracing Mitchell Hashimoto 2022-11-07 07:45:46 -08:00
  • 46a9998762 tracy: support naming threads Mitchell Hashimoto 2022-11-07 07:33:36 -08:00
  • 7b94153458 libuv: Prepare handles Mitchell Hashimoto 2022-11-07 07:33:29 -08:00
  • 9ee5a5c715 implement ESC c -- full reset Mitchell Hashimoto 2022-11-06 18:59:17 -08:00
  • e7c5cbf758 throttle cursor reset, under heavy IO this would slow things down Mitchell Hashimoto 2022-11-06 18:44:35 -08:00
  • f6a3840c5b update zig Mitchell Hashimoto 2022-11-06 17:44:21 -08:00
  • 25f2c27e4b update TODO Mitchell Hashimoto 2022-11-06 17:41:27 -08:00
  • 62a3419e81 Multi-Window Mitchell Hashimoto 2022-11-06 17:31:19 -08:00
  • c602820dc9 Set proper keybinds Mitchell Hashimoto 2022-11-06 17:27:17 -08:00
  • fd304c9338 Deinit devmode more cleanly Mitchell Hashimoto 2022-11-06 17:26:01 -08:00
  • 135b859b8f raise max file descriptors on launch Mitchell Hashimoto 2022-11-06 16:38:33 -08:00
  • e0db46ac97 clean up some resources better on error Mitchell Hashimoto 2022-11-06 16:23:36 -08:00
  • 05cd77e7cf DevMode only renders on first window Mitchell Hashimoto 2022-11-06 16:06:34 -08:00
  • afd4800da4 pkg/imgui: support context current Mitchell Hashimoto 2022-11-06 16:03:03 -08:00
  • 705772ed28 termio: clean up error handling for kill Mitchell Hashimoto 2022-11-06 15:26:18 -08:00
  • c9b01fdc6c support app quitting to close all windows Mitchell Hashimoto 2022-11-06 14:10:28 -08:00
  • ac6f960b92 termio: on deinit, send SIGHUP to child process to exit it Mitchell Hashimoto 2022-11-06 14:08:42 -08:00
  • be76bc6c1a close window action Mitchell Hashimoto 2022-11-06 10:44:23 -08:00
  • 410b2b4486 Do not block on app mailbox Mitchell Hashimoto 2022-11-06 10:41:57 -08:00
  • ecbd119654 Hook up new window, modify renderers Mitchell Hashimoto 2022-11-06 10:34:43 -08:00
  • a2edbb4698 App prepare for multi-window Mitchell Hashimoto 2022-11-06 10:05:08 -08:00
  • 91d165f4f9 delete unused comment Mitchell Hashimoto 2022-11-06 09:41:59 -08:00
  • 0104032679 Move pty IO to dedicated thread Mitchell Hashimoto 2022-11-05 19:44:13 -07:00
  • 8f1fcc64e8 rename termio thread message struct Mitchell Hashimoto 2022-11-05 19:34:41 -07:00
  • cd705359e8 Window thread is now single event loop! Mitchell Hashimoto 2022-11-05 19:30:15 -07:00
  • 746858cea6 implement cursor reset when data comes in pty Mitchell Hashimoto 2022-11-05 19:26:42 -07:00
  • aa98e3ca3a Move cursor timer to renderer Mitchell Hashimoto 2022-11-05 19:18:22 -07:00
  • e2d8ffc3c1 renderer mailbox, focus message Mitchell Hashimoto 2022-11-05 18:51:39 -07:00
  • 9a44e45785 bug: assume focused on launch Mitchell Hashimoto 2022-11-05 17:45:21 -07:00
  • 95d054b185 allocate data for paste data if its too large Mitchell Hashimoto 2022-11-05 17:37:21 -07:00
  • 8652b2170e fix deadlock with mouse reports Mitchell Hashimoto 2022-11-05 17:12:37 -07:00
  • 90061016df field rename Mitchell Hashimoto 2022-11-05 17:05:24 -07:00
  • a05b08fdc7 move bracketed paste to terminal state Mitchell Hashimoto 2022-11-05 17:04:24 -07:00
  • 57b4c73bb2 remove unused fields on Window Mitchell Hashimoto 2022-11-05 17:00:45 -07:00
  • f2d9475d5d Switch over to the IO thread. A messy commit! Mitchell Hashimoto 2022-11-05 09:39:56 -07:00
  • 5cb6ebe34d Actually, we'll manage selection and viewports on the windowing thread Mitchell Hashimoto 2022-11-04 22:32:06 -07:00
  • 989046a06c More IO events Mitchell Hashimoto 2022-11-04 22:13:37 -07:00
  • 1a7b9f7465 termio: clear selection Mitchell Hashimoto 2022-11-04 20:47:01 -07:00
  • f1d2df1a54 fully hook up resize Mitchell Hashimoto 2022-11-04 20:33:44 -07:00
  • b100406a6e termio: start the thread mailbox, hook up resize Mitchell Hashimoto 2022-11-04 20:27:48 -07:00
  • a8e7c52041 IO thread can trigger render and write data Mitchell Hashimoto 2022-11-03 15:49:04 -07:00
  • d916d56bff IO thread stream handler is in, lots of commented TODOs Mitchell Hashimoto 2022-11-03 15:32:29 -07:00
  • 9b3d22e55e IO thread has more state setup Mitchell Hashimoto 2022-11-03 15:07:51 -07:00
  • 35c1decd58 Start pulling out IO thread and IO implementation Mitchell Hashimoto 2022-11-03 13:30:30 -07:00
  • 8dd67662b3 Blocking queue implementation for thread message passing Mitchell Hashimoto 2022-11-03 10:51:55 -07:00
  • 72ac3b4685 re-enable hot path optimization Mitchell Hashimoto 2022-11-03 15:37:24 -07:00
  • d75e869b4e Load $XDG_CONFIG_HOME/ghostty/config if it exists (#25) Mitchell Hashimoto 2022-11-02 16:12:50 -07:00
  • 116a157e17 change defaults to be more aesthetically pleasing Mitchell Hashimoto 2022-11-01 18:25:36 -07:00
  • b528d435fb properly handle "inherit" working directory value Mitchell Hashimoto 2022-11-01 18:22:33 -07:00
  • df50aacff1 macos: Default working directory to home dir if launched from app Mitchell Hashimoto 2022-11-01 18:10:30 -07:00
  • 63fab367fe Command supports setting cwd Mitchell Hashimoto 2022-11-01 17:51:50 -07:00
  • be1fa78511 extract passwd to its own file so its easier to test Mitchell Hashimoto 2022-11-01 17:47:34 -07:00
  • c7db5b96d6 get rid of stage1 compat Mitchell Hashimoto 2022-11-01 14:10:35 -07:00
  • 74d8d6cd6c source default shell from SHELL if set Mitchell Hashimoto 2022-11-01 14:09:40 -07:00
  • 7da18d8063 look up default shell in user passwd entry Mitchell Hashimoto 2022-11-01 14:02:10 -07:00
  • 4d13f2648a update zig Mitchell Hashimoto 2022-11-01 13:26:46 -07:00
  • f09ba38c6f remove stage1 hack Mitchell Hashimoto 2022-11-01 13:25:20 -07:00
  • 3d5ea05565 update zig Mitchell Hashimoto 2022-10-31 21:34:36 -07:00
  • 9e3bbc1598 macos: send logs to unified logging Mitchell Hashimoto 2022-10-31 15:15:32 -07:00
  • 7608d7921f pkg/macos: OS Log support Mitchell Hashimoto 2022-10-31 14:47:10 -07:00
  • e0933ed62e Update README.md Mitchell Hashimoto 2022-10-31 14:05:53 -07:00
  • 9d736985b3 Mac bundle, icons Mitchell Hashimoto 2022-10-31 14:04:41 -07:00
  • a9df393580 fix mouse scroll direction Mitchell Hashimoto 2022-10-31 12:09:34 -07:00
  • a14871e38a Metal Renderer Mitchell Hashimoto 2022-10-31 10:48:53 -07:00
  • 8dd68ea5fe metal: reallocate textures if they grow Mitchell Hashimoto 2022-10-31 10:42:27 -07:00
  • 9e628635c2 metal: hollow rect cursor works Mitchell Hashimoto 2022-10-31 10:33:31 -07:00
  • 20adaa7b66 metal: disable v-sync Mitchell Hashimoto 2022-10-31 10:25:49 -07:00
  • 1d1f161b03 metal: fix double wide cell width Mitchell Hashimoto 2022-10-31 08:54:23 -07:00
  • 901ff199c8 log the renderer on startup Mitchell Hashimoto 2022-10-30 22:20:17 -07:00
  • ddc0d60ea2 metal: set contentsScale and handle screen scale factor for retina Mitchell Hashimoto 2022-10-30 22:04:37 -07:00
  • c1b70cb788 metal: devmode Mitchell Hashimoto 2022-10-30 20:24:11 -07:00
  • 666833f12f metal: color textures Mitchell Hashimoto 2022-10-30 19:55:47 -07:00
  • ee45d363a9 metal: cursor and underline Mitchell Hashimoto 2022-10-30 19:47:15 -07:00
  • 4b5174d2c6 metal: blending Mitchell Hashimoto 2022-10-30 19:09:03 -07:00
  • 178418834c metal: glyphs show up (poorly) Mitchell Hashimoto 2022-10-30 12:34:00 -07:00
  • 0058906035 metal: handle HiDPI scaling Mitchell Hashimoto 2022-10-30 11:04:15 -07:00
  • fb49595904 metal: pass colors in Mitchell Hashimoto 2022-10-30 10:47:04 -07:00
  • a7c1f63ad8 metal: populate the greyscale texture, prep ubershader Mitchell Hashimoto 2022-10-30 10:32:13 -07:00
  • 89610f9b8d metal: setup vertex data Mitchell Hashimoto 2022-10-29 20:10:16 -07:00
  • 6b7ed3fefb metal: use content scale when resizing Mitchell Hashimoto 2022-10-29 19:16:41 -07:00
  • ea0265f021 projection matrix, render cell Mitchell Hashimoto 2022-10-29 14:49:01 -07:00
  • a17a7426a3 draw a square, handle resize Mitchell Hashimoto 2022-10-29 13:55:52 -07:00
  • 4d4c1790cb draw a triangle Mitchell Hashimoto 2022-10-29 13:21:04 -07:00