37 Commits

Author SHA1 Message Date
Chase Colman
46d95613ed v1.0.1
Some checks failed
Build and release for macOS / check_version (push) Has been cancelled
Build and release for macOS / Build Mac arm64 (push) Has been cancelled
Build and release for macOS / Build Mac x86_64 (push) Has been cancelled
2025-01-29 17:09:32 +07:00
Chase Colman
afd36f01ef output: explicitly disable mouse and enable cursor on exit (#50)
SAVE_PRIVATE_MODE_VALUES and RESTORE_PRIVATE_MODE_VALUES when passed
with no modes are a Kitty extension to XTSAVE and XTRESTORE which
saves/restores *all* private modes. To my knowledge, Kitty is the only
terminal which implements this extension.CLEAR_SCREEN

As a result, when exiting awrit in a terminal which *does not* use this
extensions, the cursor is left hidden and mouse mode is left enabled.
Explicitly disable requested mouse reporting modes and show the cursor.

Reference: https://github.com/ghostty-org/ghostty/discussions/2732
Fixes: #20
2025-01-29 17:07:03 +07:00
Tim Culverhouse
3141dc6027 output: explicitly disable mouse and enable cursor on exit
SAVE_PRIVATE_MODE_VALUES and RESTORE_PRIVATE_MODE_VALUES when passed
with no modes are a Kitty extension to XTSAVE and XTRESTORE which
saves/restores *all* private modes. To my knowledge, Kitty is the only
terminal which implements this extension.CLEAR_SCREEN

As a result, when exiting awrit in a terminal which *does not* use this
extensions, the cursor is left hidden and mouse mode is left enabled.
Explicitly disable requested mouse reporting modes and show the cursor.

Reference: https://github.com/ghostty-org/ghostty/discussions/2732
2024-12-19 12:59:23 -06:00
Chase Colman
5467728974 Add installation instructions for dependencies in ArchLinux (#40) 2024-04-05 17:24:33 +08:00
GustavoJCL
0ab43b3398 Add installation instructions for dependencies in ArchLinux 2024-04-03 19:29:40 -05:00
Chase Colman
bc8b244e97 Add Brew instructions to README 2024-02-11 15:45:55 +07:00
Chase Colman
06c3801951 Fix write permissions for CI, use install build for release v1.0.0 2024-02-11 13:22:51 +07:00
Chase Colman
a96907d4e0 Apparently CMake builds misbehave if you have a VERSION file at root 2024-02-11 11:50:29 +07:00
Chase Colman
1da94213a5 Fix x64 macOS build 2024-02-11 11:24:00 +07:00
Chase Colman
43e9aafc87 Build/release CI for macOS 2024-02-11 11:21:14 +07:00
Chase Colman
dd19fe7587 More responsive scroll wheel 2024-01-25 20:54:39 +08:00
Chase Colman
ae3163b70f Strict version for Xcode build instructions 2024-01-18 01:35:15 +08:00
Chase Colman
6b372ef61a Merge pull request #28 from CLRN/main
Fetch sha1 dynamically, support macosx64
2024-01-01 08:36:25 +08:00
skarnaukhov
ca0689231a use cmake JSON to filter versions and files 2023-12-31 10:34:46 +00:00
skarnaukhov
b1a3fc694f fix debug build 2023-12-30 14:12:15 +00:00
skarnaukhov
33a66eb902 Fetch sha1 dynamically, support macosx64 2023-12-29 21:07:50 +00:00
Chase Colman
e7ad5be6d2 Fix missing key mappings, closes #24 2023-08-17 13:24:57 +08:00
Chase Colman
18d4da1edd Update README.md 2023-08-10 00:53:00 +08:00
Chase Colman
030f65189a Fix uninstalled shim on macOS 2023-05-20 19:15:21 +08:00
Chase Colman
300fd8f50d Fix hover/drag mouse events
Closes #7
2023-05-20 19:10:20 +08:00
Chase Colman
469fa5cc7a Add installation, clarify documentation 2023-05-20 16:23:37 +08:00
Chase Colman
45bd066da3 Actually use C++20 in awrit, since CEF overrides and fix macOS linking 2023-05-16 23:46:42 +08:00
Chase Colman
52b3a3e745 README: macOS build needs Xcode 14 2023-05-16 11:31:32 +08:00
Chase Colman
25d6578d6e Add cookie/local storage/user prefs persistence
Closes #10
2023-05-16 00:30:23 +08:00
Chase Colman
b07c00ee76 Simplify usage, update README to document usage 2023-05-15 23:30:14 +08:00
Chase Colman
b25589fe52 Add demo to README 2023-05-13 19:58:59 +08:00
Chase Colman
64cf2b2bf4 Touchups, bump CEF version, add debug build support 2023-05-13 19:53:53 +08:00
Chase Colman
37cb141d48 Fix some crashes caused by race conditions in the client 2023-05-13 19:52:35 +08:00
Chase Colman
f5ffe2c234 macOS support
Closes #2
2023-05-13 16:20:36 +08:00
Chase Colman
e0925b2f72 Mostly functioning key/mouse input in browser on Linux 2023-05-13 02:18:01 +08:00
Chase Colman
b70f45d345 Add mouse input to input_event_test 2023-05-12 01:07:31 +08:00
Chase Colman
454c901f5f Add input_event_test and enhanced key support 2023-05-11 19:40:31 +08:00
Chase Colman
0154b4a61c Organize things into independent libraries, add unit tests 2023-05-10 17:04:15 +08:00
Chase Colman
7a2abfc3ef Start of TTY input handling
TODO:
- Hook up input listener to a thread and make sure stdin works across
  thread boundary
- Add mouse and key event parsing
- Transform events to CEF events
- Send CEF events to browser
2023-05-07 22:42:36 +08:00
Chase Colman
6021931a14 Copy compile_commands.json to top-level 2023-05-07 22:42:36 +08:00
Chase Colman
018251d8ae Cleanup README.md 2023-05-06 23:56:24 +08:00
Chase Colman
38e510a6ee Initial commit, proof-of-concept rendering on Linux 2023-05-06 23:49:07 +08:00