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

refactor(re-design) list - pagenation #2

Open
tsrkzy opened this issue Jan 30, 2019 · 0 comments
Open

refactor(re-design) list - pagenation #2

tsrkzy opened this issue Jan 30, 2019 · 0 comments

Comments

@tsrkzy
Copy link
Owner

tsrkzy commented Jan 30, 2019

list で最新25件しか閲覧できない。

less案
$ gdbt list --less-like
$ gdbt list -l

f, b, g, G, j, kでlessライクに見れないか?
入力をreturnしないで受け取れるか?
https://stackoverflow.com/questions/15159118/read-a-character-from-standard-input-in-go-without-pressing-enter

pages案
$ gdbt list --number-of-pages ${N}
$ gdbt list -n ${N}

N回ページングした場合のメッセージリストを結合して表示する
一括で取得するわけではないので、Nに比例してIdobataWebAPIの待ち時間が伸びる。

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

No branches or pull requests

1 participant