Require search addon
See original GitHub issueI use npm to install my deps also for frontend and requirejs to include them.
When I include addons like fit or attach the following works, but when I try to require the search addon, it seems to work but the findNext
and findPrevious
aren’t available.
I tryed to use Terminal.loadAddon
but it doesn’t work with any addon.
define(function (require, exports, module) {
var Terminal = require("node_modules/xterm/dist/xterm"),
require([
"node_modules/xterm/dist/addons/fit/fit",
"node_modules/xterm/dist/addons/search/search"
]);
var term = new Terminal({});
});
Details
- Browser and browser version: I’m using it in a Brackets (a code editor) extension
- OS version: Windows
- xterm.js version: 2.9.2
Steps to reproduce
- Use npm
- Use requirejs
- Include search addon
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Add custom search engine – Get this Extension for Firefox (en ...
Add a custom search engine to the list of available search engines in the search bar and URL bar. You'll need Firefox to...
Read more >Selection Search
With this extension you can easily search for text you have selected. When some text is selected you can left click the selected...
Read more >9 Browser Extensions to Help You Search the Web Better
The Simple Search extension offers a reminder of what web searches used to look like: If you run a search using Bing or...
Read more >Install and manage extensions - Chrome Web Store Help
Find and select the extension you want. Click Add to Chrome. Some extensions will let you know if they need certain permissions or...
Read more >Managing Extensions in Visual Studio Code
You can learn more about extension search filters below. ... VS Code extensions may have very different configurations and requirements.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, I am. I can take a look next week though.
I’m consolidating all bundling/loadAddon related issues into https://github.com/sourcelair/xterm.js/issues/1018, please comment on that issue if you have thoughts 😃