Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
ff850ed0
Commit
ff850ed0
authored
Jul 05, 2021
by
tizah
Committed by
davidzagi93@gmail.com
Sep 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing unused code in terminal.js and adding props to remix-ui-terminal.ts
parent
487fc592
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
terminal.js
apps/remix-ide/src/app/panels/terminal.js
+0
-0
remix-ui-terminal.tsx
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
+15
-0
No files found.
apps/remix-ide/src/app/panels/terminal.js
View file @
ff850ed0
This diff is collapsed.
Click to expand it.
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
View file @
ff850ed0
...
...
@@ -215,6 +215,20 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
}
}
// events
useEffect
(()
=>
{
// window.addEventListener('resize', function () {
// props.event.trigger('resize', [])
// props.event.trigger('resize', [])
// })
// return () => {
// window.removeEventListener('resize', function () {
// props.event.trigger('resize', [])
// props.event.trigger('resize', [])
// })
// }
},
[])
const
handleMinimizeTerminal
=
(
event
)
=>
{
event
.
preventDefault
()
event
.
stopPropagation
()
...
...
@@ -227,6 +241,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
props
.
event
.
trigger
(
'resize'
,
[
terminalTopOffset
])
setToggleDownUp
(
'fa-angle-double-down'
)
}
console
.
log
(
props
.
event
,
'event.trigger'
)
}
const
focusinput
=
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment