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

Support multi-line prompts #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MaxGyver83
Copy link

How to test

You can test multi-line prompts in rc linked with bestline.

This branch alone isn't compatible with rc. But you can use my custom branch which contains some additional changes (like #33):

cd /tmp
git clone -b custom https://github.com/MaxGyver83/bestline
cd bestline
make libbestline.so
sudo cp libbestline.so /usr/local/lib/

cd ..
git clone https://github.com/rakitzis/rc
cd rc
make EDIT=bestline
./rc

fn prompt = { prompt = ($nl^`pwd^$nl^'% ' '  ') }

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.

1 participant