dthree / dthree/vorpal

Add `vorpal.ui.clear` command to API

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

Description

hi,
I implemented a `clear` command in one of my vorpal application following your answers in this post http://stackoverflow.com/questions/8813142/clear-terminal-window-in-node-js-readline-shell/32871585#32871585?newreg=0fd7e6b366544c72b82496cd4c077973

The problem is that the cursor lost in the console after executing the `clear` command, as the screenshots below:

Before `clear`,

![image](https://cloud.githubusercontent.com/assets/85879/13728349/77d0136a-e950-11e5-8921-28eba335c2da.png)

After `clear`,

![image](https://cloud.githubusercontent.com/assets/85879/13728350/8da61acc-e950-11e5-9ba4-94ba92d9766b.png)

Notice that the grey cursor had gone.

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.