abiosoft / abiosoft/ishell

Do not clear screen for question/list prompts

Open
#42 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.8k
Forks
213
PR merge metrics
No merged PRs in 30d

Description

This one is from Inquirer.js too:

![image](https://user-images.githubusercontent.com/159209/27266728-29beb43c-5458-11e7-99fa-7fd492fc2470.png)

Basically Inquirer.js can ask questions without clearing the screen (and printing the question to x=0 y=0) ishell currently clears the screen when called like `ishell.New().MultiChoice(...)`

(P.S. also in the `long-list.js` example above, if the list is longer than N items, it allows limiting the scroll area to N items, while still allowing user to scroll. but that's a separate topic.)

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.