aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/inspector/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libghostty-vt/src/inspector/AGENTS.md')
-rw-r--r--vendor/libghostty-vt/src/inspector/AGENTS.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/src/inspector/AGENTS.md b/vendor/libghostty-vt/src/inspector/AGENTS.md
new file mode 100644
index 00000000..dafc81e0
--- /dev/null
+++ b/vendor/libghostty-vt/src/inspector/AGENTS.md
@@ -0,0 +1,12 @@
+# Inspector Subsystem
+
+The inspector is a feature of Ghostty that works similar to a
+browser's developer tools. It allows the user to inspect and modify the
+terminal state.
+
+- See the full C API by finding `dcimgui.h` in the `.zig-cache` folder
+ in the root: `find . -type f -name dcimgui.h`. Use the newest version.
+- See full examples of how to use every widget by loading this file:
+ <https://raw.githubusercontent.com/ocornut/imgui/refs/heads/master/imgui_demo.cpp>
+- On macOS, run builds with `-Demit-macos-app=false` to verify API usage.
+- There are no unit tests in this package.