fix/style-guide-and-patches #10
No reviewers
vulpinelinux/Maintainers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vulpinelinux/cvsh!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "charlie/cvsh:fix/style-guide-and-patches"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Defined
MAX_PROMPT_LENGTHof 4096 for the prompt buffer and defined askip_whitespace()helper to detect both standard and unicode non-breaking spaces as\multi-line commands kept failing (reported bug on Discord). It now parses\\\nand\\\rand updatednotify_jobs()to callrl_on_new_line()(read line on new line) prior to printing background job status.I added a logic to cleanly strip trailing carriage returns (
\r) and newlines (\n) from inputs and command capture buffers and updated the fullcvsh.cto be inline with the full featured code for examplechar *varnotchar* varto match the internal style-guides in addition. Changing global variables and static tables to adopt theg_we discussed, etc.Lastly added
die()as a helper for fatal errors or followed byexitfor when something, well, dies... I did also add a.gitignore, as well.