Add tab completion for files and directories#120
Closed
HeathenUK wants to merge 4 commits intobreakintoprogram:mainfrom
Closed
Add tab completion for files and directories#120HeathenUK wants to merge 4 commits intobreakintoprogram:mainfrom
HeathenUK wants to merge 4 commits intobreakintoprogram:mainfrom
Conversation
…e advantage of this to return the matched command. Allows auto-completion of internal commands while only needing to maintain mosCommands[] in mos.c centrally.
Contributor
Author
|
Closing in favour of the PR that combines this with /bin and local .bin execution. |
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
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.
As for wildcard support in DIR etc., this requires FF_USE_FIND to be enabled (and as mentioned in the other PR, this has no measurable impact on performance or memory usage). As this hooks into the mos_EDITLINE scheme it also works in BASIC and this is taken advantage of in allowing double quotes to be taken as the start of the section to be tab completed as well as whitespace (i.e. you can tab complete a file in a
LOAD ""call in BASIC).