Monarchz3ro / Silver

A unix inspired terminal mockup that is definitely not an emulator.
GNU General Public License v3.0
2 stars 2 forks source link

FIXES: Fix `.gitignore`, Fix Issues #4, and #5 #7

Closed OcelotWalrus closed 5 months ago

OcelotWalrus commented 5 months ago

FIXES/FEATURES

This PR fix the .gitignore so that it's more optimized.

This PR also fixes both issue #4 and #5:

Issue 4

When running the cat command with a > or >> following, it will create a loop to get multi-line input from the user, which will stop with Ctrl+D command. It will after print the user input the to entered file.

Issue 5

Simply add a boolean variable that tells the script if the selected 'item' is a directory or not. Will output an error if it isn't a directory.

Tests

Everything that's been changed is tested.