JSFiddle - React, Tailwind, and code Playground

by renfley

HTML

<textarea rows="10" id="command-line">
NOTICE -> This is a custom Built terminal 
    

</textarea>

CSS

@import url(http://fonts.googleapis.com/css?family=VT323);

#command-line{
    width: 100%;
    height: 500px;
    resize: none;
    background: black;    
    color: lime;
    font-family: 'VT323';
    font-size: 15px;
    border: none;
}

JavaScript

$('#command-line').keydown(function(e){
    if(e.keyCode === 38){
        return false;
    }
});