Skip to content
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

Refactor line editing #212

Merged
merged 12 commits into from Jul 24, 2021
Merged

Refactor line editing #212

merged 12 commits into from Jul 24, 2021

Conversation

vinc
Copy link
Owner

@vinc vinc commented Jul 23, 2021

Add Prompt to generalize line editing for the shell and the lisp interpreter. It will also be used in the login screen. Inspired by Linenoise, a bit like RustyLine but without std.

More code will also be moved from the Kernel to the API, and communication with the VGA driver through the console will now be done with ANSI Escape Sequence instead of calling functions of the VGA module. This will simplify switching to a real userspace.

  • Add Prompt
  • Add History to Prompt
  • Add Completion to Prompt
  • Use Prompt for the lisp command
  • Use Prompt for the shell command
  • Use Prompt for the login command

@vinc vinc marked this pull request as ready for review July 24, 2021 23:07
@vinc vinc merged commit f1084bf into master Jul 24, 2021
@vinc vinc deleted the feature/refactor-line-editing branch July 24, 2021 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant