Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat web terminal #18

Merged
merged 23 commits into from
Oct 22, 2021
Merged

Feat web terminal #18

merged 23 commits into from
Oct 22, 2021

Conversation

kongshan-zhuyu
Copy link
Contributor

1、初步搭建webTerminal
2、主机管理增加webTerminal弹窗
#9

render: (value: any, row: any) => {
return <span>
<a onClick={handleOpenTerminal.bind(this, row)}>webTerminal</a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这改个名叫 终端 吧

const printAble = !(altKey || altGraphKey || ctrlKey || metaKey) // 禁止相关按键
const totalOffsetLength = inputText.length + prefix.length // 总偏移量
let currentOffsetLength = terminal._core.buffer.x // 当前x偏移量
console.log('currentOffsetLength ========= ', currentOffsetLength)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

console 测完之后最好不要留

@@ -46,5 +46,12 @@ module.exports = () => {

exports.security = { domainWhiteList };

// exports.ssh = {
// host: '172.16.100.225',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些信息不要暴露

@nankaNULL nankaNULL merged commit e35744a into release_1.x Oct 22, 2021
@liuxy0551 liuxy0551 deleted the feat_webTerminal branch May 17, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants