Releases · tzfun/vue-web-terminal
3.4.1Terminal for vue3.
更新内容getOutputs
API #135usage
提示Terminal for vue3.
更新内容.d.ts
,对Vue3版本的TS开发更友好 #72main
中引入方法改为
import { createTerminal } from 'vue-web-terminal' const app = createApp(App) app.use(createTerminal()) app.mount('#app')
createTerminal
方法返回一个 VueWebTerminal
对象,全局配置均通过此对象进行设置,自定义主题配置也相应调整。
// Export css file content import customTheme from '/your-style-dir/terminal-custom-theme1.css?inline'; import { createTerminal } from 'vue-web-terminal' import type { VueWebTerminal } from 'vue-web-terminal' const terminal: VueWebTerminal = createTerminal() // default is 'terminal' terminal.configStoreName('my-terminal-storage') // default is 100 terminal.configMaxStoredCommandCountPerInstance(200) // configure custom theme terminal.configTheme('my-custom-theme', customTheme) app.use(terminal)3.3.3
Terminal for vue3.
更新内容on-dragging
事件 #114jumpToBottom
#124cmdLine
#123folder
#125Terminal for vue2.
更新内容on-dragging
事件 #114jumpToBottom
#124cmdLine
#123folder
#125从此版本开始Vue2版本进入归档,后续不再提供新功能更新,仅针对较为严重的Bug进行修复。
3.3.2Terminal for vue3.
更新内容ansi
类型中解析blink后没有闪烁效果的问题,css keyframes兼容性修复pushMessage
接口传入数组时无法解析ansi格式的问题 #112Terminal for vue2.
更新内容ansi
类型中解析blink后没有闪烁效果的问题,css keyframes兼容性修复pushMessage
接口传入数组时无法解析ansi格式的问题 #112Terminal for vue3.
🎉更新内容ctrl + enter
输入换行符 #110DragConf
的属性定义与读取,width
和height
支持百分比和px为单位的数字格式 #100不再支持通过 import 'vue-web-terminal/lib/theme/dark.css'
的方式引入主题,改为通过属性控制:
<script setup> import Terminal from 'vue-web-terminal'; const theme = ref('dark') // 修改当前窗口主题 const changeTheme = () => { if (theme.value == 'dark') { theme.value = 'light' } else { theme.value = 'dark' } } </script> <template> <terminal name='my-terminal' :theme='theme'></terminal> </template>2.3.1
Terminal for vue2.
🎉更新内容ctrl + enter
输入换行符 #110DragConf
的属性定义与读取,width
和height
支持百分比和px为单位的数字格式 #100不再支持通过 import 'vue-web-terminal/lib/theme/dark.css'
的方式引入主题,改为通过属性控制:
<template> <terminal name='my-terminal' :theme='theme'></terminal> </template> <script> import Terminal from 'vue-web-terminal'; export default { data() { theme: 'dark' }, methods: { // 修改当前窗口主题 changeTheme() { if (this.theme == 'dark') { this.theme = 'light' } else { this.theme = 'dark' } } } } </script>3.3.0
Terminal for vue3.
🎉 更新内容switchAllFoldState
#92on-resize
事件 #98log-size-limit
不生效的问题 #87本次版本与之前版本有部分功能不兼容!变更配置项如下:
tab-key-handler
auto-help
helpCmd
--t-cmd-help-msg-color
cursor-blink
属性名变更为enable-cursor-blink
command-store-sort
属性名变更为command-sort-handler
enable-example-hint
属性名变更为enable-help-box
search-handler
属性名变更为input-tips-search-handler
,并修改其参数init-log
属性默认值变更为 nullTerminal for vue2.
🎉 更新内容switchAllFoldState
#92on-resize
事件 #98log-size-limit
不生效的问题 #87本次版本与之前版本有部分功能不兼容!变更配置项如下:
tab-key-handler
auto-help
helpCmd
--t-cmd-help-msg-color
cursor-blink
属性名变更为enable-cursor-blink
command-store-sort
属性名变更为command-sort-handler
enable-example-hint
属性名变更为enable-help-box
search-handler
属性名变更为input-tips-search-handler
,并修改其参数init-log
属性默认值变更为 nullYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4