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

A single line is too long, causing it to print on the next line #775

Open
suibianwanwank opened this issue Apr 21, 2024 · 2 comments
Open
Labels

Comments

@suibianwanwank
Copy link

When I try to use rustyline to do cli, I found that printing a certain line of data is too long will automatically display in the next line, can there be a configuration can be moved by key to display the contents of this page like presto client

@gwenn
Copy link
Collaborator

gwenn commented Apr 21, 2024

I guess that you refer to a single line mode where you have to scroll horizontally.
This feature was removed.
https://github.com/kkawakam/rustyline?tab=readme-ov-file#multi-line-support

Currently, this feature is always enabled and there is no configuration option to disable it.

@gwenn gwenn added the question label Apr 21, 2024
@suibianwanwank
Copy link
Author

我猜你指的是必须水平滚动的单行模式。此功能已删除。 https://github.com/kkawakam/rustyline?tab=readme-ov-file#multi-line-support

目前,此功能始终处于启用状态,并且没有禁用它的配置选项。

I think this feature is needed in many scenarios. May I know why we're closing this option? Or what else can i achieve this feature. Will this feature be restored in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants