terminal-in-react icon indicating copy to clipboard operation
terminal-in-react copied to clipboard

Issues : Line BackgroundColor + HandleShortcut + ReadOnly Terminal

Open LaurelineP opened this issue 7 years ago • 0 comments

Hi, maybe I 'm a noob but have some trouble customising the backgroundColor.

I. Line Background Color ( terminal on the right ) In the gif examble all previous log of the terminal are green on a black blackbackground : me, on windows , there is a white background on the previous logs historic such as this following pic terminal issue 1 which is , on the navigator console easily targatable : corresponding to the class pre but I cannot override its behavior from my code, only on the navigator .

II. HandleShortcuts win linux darwin : Did I well understood ? adding these shortcuts option, If I do ctrl + a for instance the terminal should print : echo whoo ?

<Terminal
  shortcuts={{
    'darwin,win,linux': {
      'ctrl + a': 'echo whoo',
    },
  }}
/>

if that so I also need help in here :/ cause it doesn't work for me.

III. is it also possible to have access to an option readonly for the terminal ? render it not editable but just read what code will be given ( ex the editor on the left side ? )

Until now I couldn't find. :/ if I could have any hint , it could be so nice. Thank you very much

LaurelineP avatar Mar 05 '18 15:03 LaurelineP