From c9eaae6bd5bc57e5da4a8e6f4f249cd2cea043fc Mon Sep 17 00:00:00 2001 From: Paris Kasidiaris Date: Tue, 6 Dec 2016 10:55:40 +0200 Subject: [PATCH] Update path to addons in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f7e96c2a..3fd3d884 100644 --- a/README.md +++ b/README.md @@ -54,13 +54,13 @@ Then open http://0.0.0.0:3000 in a web browser (use http://127.0.0.1:3000 if run ## Addons -Addons are JavaScript modules that attach functions to the `Terminal` prototype to extend its functionality. There are a handful available in the main repository in the `addons` directory, you can even write your own (though they may break when the internals of xterm.js change across versions). +Addons are JavaScript modules that attach functions to the `Terminal` prototype to extend its functionality. There are a handful available in the main repository in the `dist/addons` directory, you can even write your own (though they may break when the internals of xterm.js change across versions). To use an addon, just include the JavaScript file after xterm.js and before the `Terminal` object has been instantiated. The function should then be exposed on the `Terminal` object: ```html - + ``` ```js