olved conflicts on package.json dding method to the terminal.ts

pull/1342/head
tizah 3 years ago committed by davidzagi93@gmail.com
parent 7b0442135b
commit 486daf4ba8
  1. 14
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
  2. 2
      package.json

@ -18,7 +18,7 @@ export interface RemixUiTerminalProps {
export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
const [toggleDownUp, setToggleDownUp] = useState('fa-angle-double-down')
const [inserted, setInserted] = useState(false)
// events
useEffect(() => {
// window.addEventListener('resize', function () {
@ -46,6 +46,16 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
}
console.log(props.event, 'event.trigger')
}
const reattached = (event) => {
let el = event.currentTarget
var isBottomed = el.scrollHeight - el.scrollTop - el.clientHeight < 30
if (isBottomed) {
}
}
return (
<div>
<div className="bar">
@ -103,6 +113,8 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
zIndex: -1
}}></div>
<div className="terminal">
<div id="journal" className="journal" data-id="terminalJournal">
</div>
</div>
</div>
</div>

@ -89,7 +89,7 @@
"onchange": "onchange apps/remix-ide/build/app.js -- npm-run-all lint",
"remixd": "nx build remixd && nx serve remixd --folder=./apps/remix-ide/contracts --remixide=http://127.0.0.1:8080",
"selenium": "selenium-standalone start",
"selenium-install": "selenium-standalone install",
"selenium-install": "selenium-standalone install",
"sourcemap": "exorcist --root ../ apps/remix-ide/build/app.js.map > apps/remix-ide/build/app.js",
"test-browser": "npm-run-all -lpr selenium make-mock-compiler serve browsertest",
"watch": "watchify apps/remix-ide/src/index.js -dv -p browserify-reload -o apps/remix-ide/build/app.js --exclude solc",

Loading…
Cancel
Save