Releases: ErrorPower2001/WindowsTerminalLauncher
Releases · ErrorPower2001/WindowsTerminalLauncher
Release list
1.4.1
Feature / 特性
- Retry on Invalid Input: The launcher no longer terminates upon an incorrect key press. Instead, it provides an error prompt and waits for a valid profile selection or an explicit quit command.
- 输入容错重试: 启动器不再因误触按键而直接退出。现在,在按下错误按键后会显示提示,并等待用户重新选择有效配置或输入退出指令。
1.4.0
Feature / 特性
- Customizable Delay Flag: Added support for the -t command-line argument to adjust the IPC handover wait time. You can now use wtlauncher -t 500 to increase stability on slower systems
- 参数化延迟: 新增 -t 命令行参数支持,允许自定义 IPC 移交等待时间。例如可通过
wtlauncher -t 500在慢速系统上提高稳定性 - Optimized Default Timing: Set the default wait duration to 200ms, striking a balance between responsiveness and command registration reliability
- 优化默认耗时: 将默认等待时长设为 200 毫秒,在操作响应速度与指令注册可靠性之间取得平衡
Full Changelog: 1.3.1...1.4.0
1.3.1
Fetures / 特性
- Print invalid info when input a wrong number
- 当输入错误的数字时打印说明为无效的信息
- Format comment style
- 修改一些注释的风格
- Format and split the ctlseq print func style
- 将使用了ctlseq的print方法进行了分割,代码更干净
- Set sleep time to 200 millisecond
- 设置等待的时间为200毫秒
Fix / 修复
- Return(exit) when profile is null
- 在读取到空配置文件时退出
Full Changelog: 1.3.0...1.3.1
1.3.0
Feature / 特性
- One-shot Logic: Transitioned from a persistent loop to a "select-and-exit" flow for a more streamlined experience.
- 单次执行逻辑: 从持久循环模式转变为“选择即退出”流程,操作体验更加精简。
Fix / 修复
- IPC Handover Delay: Implemented a critical 50ms buffer to ensure commands are successfully passed to Windows Terminal before the launcher exits.
- IPC 移交延迟: 增加了关键的 50 毫秒缓冲时间,确保启动器在退出前指令已成功移交给 Windows Terminal。
1.2.1
Feature / 特性
- Colors: Add colors controlled by terminal control sequences
- 颜色: 添加由 control sequences 控制的颜色
Fix / 修复
- Change correct line breaks
- 修改了不正确的空行
v1.2.0 - Path-Aware Persistent Launcher
🚀 Features / 特性
- Dynamic Directory Context / 工作目录感知
- New tabs now automatically open in your current working directory using the
--startingDirectoryflag. No more manualcdcommands after opening a new terminal! - 通过引入
--startingDirectory参数,新标签页现在会自动在当前目录下打开,免去了手动切换路径的烦恼。
- New tabs now automatically open in your current working directory using the
v1.1.0 - Persistent Interactive UI & Async Launching
🚀 What's New / 新特性
- Persistent Menu Loop: The launcher no longer exits after starting a profile. It now returns to the menu, allowing you to open multiple tabs in one go.
- 持续交互循环:程序启动配置项后不再自动退出,而是返回主菜单,支持单次运行开启多个标签页。
- Asynchronous Execution: Switched to cmd.Start() for profile launching. This prevents the UI from freezing while waiting for Windows Terminal to respond.
- 异步执行优化:改用异步启动逻辑,在打开新标签时主界面依然保持响应,操作更加丝滑。
- Auto Screen Refresh: Integrated a clearScreen function to keep the terminal interface clean and professional after each action.
- 界面自动刷新:引入清屏机制,确保每次操作后的菜单显示整洁美观。
🛠️ Improvements / 改进
- Bilingual Documentation: Added comprehensive English and Chinese comments to the source code for better maintainability.
- 双语注释:代码中添加了详尽的中英文对照注释,方便维护。
- Vim Integration: Optimized code structure with Vim fold markers ({{{...}}}) for easier navigation in CLI editors.
- Vim 折叠支持:优化了代码结构并添加了折叠标记,在 Vim 等编辑器中查看更高效。
- Graceful Exit: Added support for q and Ctrl+C to exit the loop cleanly.
- 优雅退出:支持通过 q 键或 Ctrl+C 随时安全退出程序。
Release 1.0.1
Bug Fix
- Fixed an issue where the launcher window would close immediately after selection without successfully starting the chosen profile
Release 1.0.0
fix: Add wtlauncher.exe sha265 hash.