dthree / dthree/vorpal

Importing Cash module causes issue with Vorpal / Command history not working

Open
#233 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.6k
Forks
278
PR merge metrics
No merged PRs in 30d

Description

Hi guys,very confusing- running the below seems to interfere with the main vorpal instance. I dont see how that's possible unless they use the same cache or other common files.

If you run the below and hit up and down you will see the history not working. Removing the cash import will fix the issue.

const Vorpal = require('vorpal');
const mainScreenVorpal = new Vorpal();
const cash = require('cash');
mainScreenVorpal
.delimiter('home-mode~>')
.history('mainScreenId')
.show();

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.