-
Notifications
You must be signed in to change notification settings - Fork 0
Fix cat command to read actual files from VirtualFileSystem #1
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
Draft
Copilot
wants to merge
37
commits into
main
Choose a base branch
from
copilot/transform-terminal-to-linux-style
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Transform terminal implementation into Linux-style terminal in Minecraft
Implement modular command system, theme engine, and history navigation for terminal
Feb 6, 2026
… persistence, advanced editing, tab completion, Minecraft commands Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
…tion Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Copilot
AI
changed the title
Implement modular command system, theme engine, and history navigation for terminal
Implement Hyprland-style tiling, state persistence, and comprehensive terminal features
Feb 6, 2026
…, and background-opacity Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Copilot
AI
changed the title
Implement Hyprland-style tiling, state persistence, and comprehensive terminal features
Implement inventory management, terminal UX improvements, and text editors (mcvim/nano)
Feb 6, 2026
…reens Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Copilot
AI
changed the title
Implement inventory management, terminal UX improvements, and text editors (mcvim/nano)
Document and properly thread scanCode parameter in editor screens
Feb 6, 2026
…and mouse-based focus Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Copilot
AI
changed the title
Transform terminal into fully-functional Linux-style system with virtual filesystem
Implement production-ready Linux-style terminal with virtual filesystem and Hyprland-style tiling
Feb 6, 2026
…g layout Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Copilot
AI
changed the title
Implement production-ready Linux-style terminal with virtual filesystem and Hyprland-style tiling
Replace master-stack tiling with mouse-position-based layout and fix editor screen navigation
Feb 6, 2026
…rtup config option Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Copilot
AI
changed the title
Replace master-stack tiling with mouse-position-based layout and fix editor screen navigation
Transform terminal into Linux-style implementation with VFS, tiling, and text editors
Feb 6, 2026
…se current directory Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
…n fixes Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Copilot
AI
changed the title
Transform terminal into Linux-style implementation with VFS, tiling, and text editors
Transform terminal into fully-functional Linux-style terminal with VFS, editors, and dynamic tiling
Feb 6, 2026
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
…t directory by default Co-authored-by: Loqor <65447472+Loqor@users.noreply.github.com>
Copilot
AI
changed the title
Transform terminal into fully-functional Linux-style terminal with VFS, editors, and dynamic tiling
Fix cat command to read actual files from VirtualFileSystem
Feb 6, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
catcommand had a placeholder implementation that only returned hardcoded content for "config.yml" and "No such file" for everything else. It never read actual files from the filesystem.Changes
Replaced placeholder with VFS integration
VirtualFileSystem.resolvePath()with current directory contextFiles.readAllLines()/), and home paths (~)Before:
After:
Verification
All file commands (cat, touch, mkdir, editors) now consistently use
vfs.resolvePath(filename, context.getCurrentPath()), ensuring relative paths resolve from the current directory as expected.Original prompt
Overview
Transform the existing terminal implementation into a fully functional Linux-style terminal within Minecraft, with proper command systems, theming, and advanced window management.
Features to Implement
1. Core Linux Terminal Commands (Minecraft-adapted)
Implement these standard Linux commands adapted for Minecraft context:
File/Navigation Commands:
ls- List current "directory" contents (inventory slots, world files, etc.)cd- Change directory (navigate between inventory, hotbar, armor, etc.)pwd- Print working directorycat- Display item details/NBT datacp- Copy items between slotsmv- Move items between slotsrm- Delete/drop items (with confirmation for valuable items)mkdir- Create chest/container at locationtouch- Create empty slot markerfind- Search for items in inventory/nearby chestsgrep- Search item names/loreSystem Commands:
echo- Print textclear- Clear terminalhistory- Show command historyalias- Create command aliasesexport- Set environment variablesenv- Show environment variableswhoami- Show player namehostname- Show server/world nameuname- System infoneofetch/fastfetch- Styled system info displayman- Manual pages for commandshelp- Help systemProcess/Entity Commands:
ps- List nearby entitiestop- Real-time entity/performance monitorkill- Target entity (requires appropriate tools/permissions)htop- Interactive process viewer2. Minecraft-Specific Command Protocols
Client Settings (
/clientorsetcommand):Inventory Management (
/invnamespace):World Interaction (
/worldnamespace):Player Stats (
/statsnamespace):3. Theme System (
limcs-themescommand)Catppuccin Themes:
Custom Themes:
Theme command usage:
Theme structure should include:
4. Hyprland-Style Window Management
Dynamic Tiling:
Mouse Resizing:
Window Transparency:
set terminal.opacity 0.85Background Blur:
set terminal.blur 8Additional Window Features:
5. Command History with Up Arrow
History Features:
...
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.