Skip to content

Commit 5aff545

Browse files
committed
feat: implement terminal session management with ring buffer and search functionality
- Add SessionManager for managing terminal sessions and their states. - Introduce RingBuffer for handling terminal output with trimming by bytes and lines. - Implement search functionality within the terminal output. - Create tests for SessionManager and RingBuffer to ensure functionality. - Develop WoxTerminalPreviewView for displaying terminal output in the UI with search capabilities.
1 parent 3c2bfd2 commit 5aff545

25 files changed

+2566
-446
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
![](https://raw.githubusercontent.com/Wox-launcher/Wox/refs/heads/master/screenshots/tray_query.png)
88
- Add "App font family" setting to choose system font for Wox interface
99

10+
- Improve
11+
- [`Shell`] Enhance Shell plugin to support search/full-screen/scroll-to-load functions
12+
1013
- Fix
1114
- [`File Explorer Search`] Fix an issue that file explorer search plugin cannot navigate on open/save dialog
1215
- Fix an issue that Wox setting can't be saved sometimes

wox.core/plugin/preview.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const (
1414
WoxPreviewTypeUrl = "url"
1515
WoxPreviewTypeFile = "file" // when type is file(can be *.md, *.jpg, *.pdf and so on), data should be url/filepath
1616
WoxPreviewTypeRemote = "remote" // when type is remote, data should be url to load WoxPreview
17+
WoxPreviewTypeTerminal = "terminal"
1718

1819
// internal use
1920
WoxPreviewTypePluginDetail = "plugin_detail" // when type is plugin_detail, data should be JSON string of plugin metadata

0 commit comments

Comments
 (0)