TUIな周期表の「periodic-table-tui」

TUIで動作するPython製のscriptを見かけたので試してみました.

$ git clone https://github.com/pryme-svg/periodic-table-tui
$ cd ./periodic-table-tui
$ ./periodic-table.py

periodic table tui

端末サイズが小さいと Terminal too small! と言われて動作しません.
sourceを見ると縦横35×95必要そうです.

` min_h, min_w = 35, 95`

カーソルで移動,元素名(や略号)を入力してエンターでその元素に移動します.Ctrl+cで終了します.

環境
$ git log -1|head -1
commit 8fe6b458cc889fe8c08c8207cd9448bb66c4dfd2
$ dpkg-query -W python3
python3	3.9.2-3
$ lsb_release -dr
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
$ arch
x86_64

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)