Let commands take over the terminal?
まだ誰も着手していません。
評価
調査の方向性
ファイル、テスト、エントリポイントは指定されていません。まず、lazycli がバインドされたコマンドをどのように起動し、ターミナルの状態を管理しているかを特定します。完了の定義は、エディタ、ページャー、プロンプト、htop などのインタラクティブなコマンドが一時的に制御を引き継ぎ、同じセッションに戻ることとします。
索引モデルが issue の本文から書いたものです。
説明
Is it possible to yield control of the terminal to each command when it runs? This would open up a bunch of new possibilities.
- Commands that use $EDITOR or $PAGER.
- From an
lsview, you could bindvim $0orless $0to a key. The editor would take over the terminal temporarily; when you quit the editor you'd be back in the same lazycli session. - From the
git statusview, you could rungit commitand let the commit-message editor take over temporarily. - From
git logyou could rungit show --patchto preview a commit.
- From an
- Commands that prompt for a second argument.
- From
ls, you could bindrtomv $0 $(read). Then to renamefootobaryou'd selectfoo, and typer bar<enter>. - Similarly, from
git branch, you could bindgit branch mv $0 $(read).
- From
I'm not sure how this would be implemented, but it might be similar to vim's :! command. As a (contrived) example, when you run :!htop, htop takes over the terminal; when you quit htop you end up back in vim again.
- 主要言語
- Rust
- スター
- 435
- フォーク
- 17
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jesseduffield/lazycli のほかの issue
-
fzfオープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
jesseduffield/lazycli#25 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
jesseduffield/lazycli#23 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
jesseduffield/lazycli#19 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
jesseduffield/lazycli#17 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
jesseduffield/lazycli#16 ·
jesseduffield/lazycli の issue をすべて見る
似ている issue
-
area/tools bug session-analysis
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
nix-community/fenix#262 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
GabrieleLozupone/kokon#41 ·
メンテナーはふだん 1 日以内に返信
-
Small glitchオープンpriority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
storytold/photocraft#9538 ·
メンテナーはふだん 1 日以内に返信
-
bug P2 rust
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信