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

fix to repl prompt issues and history. #95

Merged
merged 6 commits into from
Aug 21, 2024
Merged

Conversation

royward
Copy link
Collaborator

@royward royward commented Aug 21, 2024

Changes:

  • was experimenting with 'get-type-space' (commented out to come back to later).
  • commented out the the set_prolog_flag's for history (don't know if I need to)
  • stripped out all the GNU readline stuff
  • added code in to create whatever directories are needed to save the history file
  • wrote an el_wrap_metta (to use instead of the default el_wrap), do el_unwrap to remove the default before installing my one.
  • Changed history to completely use the editline stuff
  • Fixed prompt issue (I think it was some extra prints, and maybe interference from the GNU readline).
  • Add an newline on Ctrl-D

Copy link
Collaborator

@TeamSPoon TeamSPoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! ... I guess mostly the setting up of history had to be done right!

This fixes #90

@TeamSPoon TeamSPoon merged commit 32ae1be into trueagi-io:main Aug 21, 2024
2 checks passed
TeamSPoon added a commit that referenced this pull request Dec 4, 2024
fix to repl prompt issues and history.
TeamSPoon added a commit that referenced this pull request Dec 4, 2024
fix to repl prompt issues and history.
TeamSPoon added a commit that referenced this pull request Dec 4, 2024
fix to repl prompt issues and history.
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.

2 participants