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

部分的なTUI機能の実装(リアルタイムHexEditor) #4

Open
KenjiroIchise opened this issue Jun 22, 2024 · 1 comment
Open

Comments

@KenjiroIchise
Copy link
Contributor

新機能のアイデアを考えてみたのですが、如何でしょうか?

下記プロジェクト(MITライセンス)を用いて、部分的なTUI機能を実装する
https://github.com/ArthurSonzogni/FTXUI

対象がWindows、Android、iOSにコンパイルできることは確認出来ています。

備考)
ビルドオプションとして、ENABLE_TUIをTrueにした時のみ機能を有効化する(Falseの場合ビルドからも除外)。
CMakeでfetchすることでビルドフローに組み込むことが出来ます。

実装イメージ

下記コマンドを打つとリアルタイムHexEditor画面に切り替わる

view [hex]

hexeditor

1)上下左右でスクロールおよびセルの移動、1-Fで値の書き換え
2)vimのように:を打つとコマンドモードに切り替わる
例:「:qで終了」
3)500ms秒毎程度にメモリを読み込んでViewをリアルタイムに更新する

@funa-tk
Copy link
Contributor

funa-tk commented Jun 22, 2024

面白い機能ですね。
PRお待ちしております!

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

2 participants