summaryrefslogtreecommitdiff
path: root/shell.c
AgeCommit message (Collapse)Author
2018-01-04Move sources to new src/ directoryRichard Braun
2018-01-04error: remove and use errno.h directlyRichard Braun
2018-01-04Make the copyright notice fit on 80 columnsRichard Braun
2018-01-04shell: new SHELL_REGISTER_CMDS macroRichard Braun
2017-12-18shell: fix header inclusionsRichard Braun
2017-10-07Change the license to MITRichard Braun
Not a real change, it's just that MIT license seems to be the most popular permissive license.
2017-07-25error: fix namespaceRichard Braun
2017-06-02shell: add comments about auto-completionRichard Braun
2017-06-01shell: add comment about line editingRichard Braun
2017-05-28shell: fix completionRichard Braun
More precisely, fix completion when all commands share the same first characters.
2017-05-28shell: fix behaviour of del keyRichard Braun
2017-05-28shell: minor changeRichard Braun
Use macro instead of raw value for escape sequence start.
2017-05-27shell: process carriage returns as new linesRichard Braun
2017-04-29Revert "Remove unneeded quotes when using #error"Richard Braun
This reverts commit 9740d571ddd138f8344ba0975b11bc29621bc618. New occurrences of #error are also affected by this commit.
2016-12-24shell: fix completion regressionRichard Braun
Commit 5b0ec6b075662d24fb72acf394335731fd9db5ba introduced a regression where arguments already input by the user would be erased instead of preserved. This change fixes this.
2016-12-09shell: handle multiple backspace control charactersRichard Braun
2016-12-09shell: fix completion on corner caseRichard Braun
The problem arises when a line doesn't immediately start with a command. This change makes the completion code look for the first word (the first character which isn't the separator) and complete from there.
2016-12-09Force brackets around one-line conditional statementsRichard Braun
2016-10-25Fix uninitialized variable warningsRichard Braun
Instead of using the GCC-specific var = var notation, which Clang seems to dislike, drop the idea of silencing the warning, and instead force the variables to a null initialization value (0, NULL, {}, whatever works).
2015-03-12shell: new moduleRichard Braun