react-terminal-component
react-terminal-component copied to clipboard
Terminal emulator component for React. Emulate a terminal with autocomplete, commands, a file-system and themes.
It does not render new line with "\n" in text. let say text is "Hi this is a\n test text". Then this should be rendered like: $ Hi this is...
Two related problems: 1. **How to update prompt with `useState` hook?** I need to be able to run `setPromptText()` somewhere to update the prompt, but... I don't know how since...
Hello, I'm using ReactTerminal with ReactDOMServer, my main component looks like this: ```jsx import React, { Component } from "react" import ReactTerminal, { ReactThemes } from "react-terminal-component" export default class...
Hi, Using the `ReactTerminalStateless` stateless component, changing `prompt` property should change only the current input prompt, not the past ones. Thanks.
Bumps [acorn](https://github.com/acornjs/acorn) from 6.1.0 to 6.4.1. Commits 9a2e9b6 Mark version 6.4.1 90a9548 More rigorously check surrogate pairs in regexp validator df0cf1a Mark version 6.4.0 5303412 Also export Parser via Parser.acorn...
It seems that `inputAccept` doesn't not supported get command result in async way. For example: I send a request then wait for response and render result. This is a async...
The javascript-terminal has a `emulator.execute(state, command. args)` function to programmatically call a function on the terminal emulator. How can I achieve this on the react component?
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3. Changelog *Sourced from [handlebars's changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md).* > ## v4.5.3 - November 18th, 2019 > Bugfixes: > > - fix: add "no-prototype-builtins" eslint-rule and fix all...
Hi, I cannot find the documentation about how I can append custom text to the console. E.g let's say I want to append android debugging message to the ReactTerminal and...
Hey — first of all, this library is both _amazing_ and exactly what I needed for a fun project I started messing with yesterday. 🙌 Initially, I was using `styled-components`,...