Skip to content

v1.0.58

Choose a tag to compare

@github-actions github-actions released this 25 Oct 16:11
· 19 commits to main since this release

変更内容

1.0.55〜1.0.58: ホーム画面のウィジェットを、機能と見た目の両方から作り直しました。

(1) マクロのウィジェットが 2 種類に

  • マス目(これまでの「Z2Term の状態」): 横に 4 つ並んでいたボタンを 2×2 のマスにしました。置いてあるウィジェットはそのまま残ります。
  • 一覧(新規): 1 行 1 個で 30 個まで並べられ、ウィジェットの中でスクロールします。

(2) 終わり方が分かるように: マクロごとに名前・説明・状態を分けて出します。状態は「実行中(経過時間)」「完了」「失敗(終了コード)」「停止」で、今日の開始〜終了の時刻が付きます。これまでは失敗しても ✓ が付いていました。

(3) ライブ tail: ウィジェットの中でスクロールして 200 行までさかのぼれます。長い行は折り返し、エラーの行は色が変わります。

(4) Android 標準の見た目: 色は端末のライト / ダークの設定に合わせて変わり、Android 12 以降は壁紙から作られる端末の配色を使います。枠線をやめて角の丸みを端末に合わせ、実行中のマスは地に色が付き、失敗したマスは赤くなります。文字は端末の標準フォントです(等幅は ssh のコマンドとログの行だけ)。マクロやファイルを選ぶ設定画面も、チェックボックスの一覧・切り替えボタン・入力欄を使った同じ見た目にしました。

(5) ssh の接続コマンドの修正

  • 上段の ssh -p … が「ssh -p 6…」で切れて読めなかったのを、横幅いっぱいの 1 行に出すようにして直しました。
  • 表示されるポートが、実際に sshd が開くポートと違うことがあったのを直しました。これまでは /etc/ssh/sshd_config の Port だけを見ていたので、常駐サーバーを sshd --lan -p 65152 のように起動していると既定の 2222 が出ていました。いまは sshd と同じ順(コマンドの -p → 設定ファイルの Port → 既定)で決めます。⚙設定の SSH 案内も同じです。

Changes

1.0.55–1.0.58: The home screen widgets are rebuilt, both in what they do and how they look.

(1) Two macro widgets

  • Grid (the former "Z2Term status"): the four side-by-side buttons are now a 2×2 grid. Widgets already on your home screen stay.
  • List (new): one macro per row, up to 30, scrolling inside the widget.

(2) See how a macro ended: each macro shows its name, description and state separately. The state reads "running (elapsed time)", "done", "failed (exit code)" or "stopped", with today's start–end time. Before, a failed macro still got a ✓.

(3) Live tail scrolls inside the widget to read back up to 200 lines, wraps long lines and colours error lines.

(4) A standard Android look: colours follow the device's light / dark setting, and on Android 12 and later use the device colour scheme made from your wallpaper. Outlines are gone and corner radii match the device; a running tile gets a coloured fill and a failed one turns red. Text uses the device's standard font (monospace only for the ssh command and log lines). The settings screens for picking macros and files got the same look, with a checkbox list, segmented buttons and a text field.

(5) ssh command fixes

  • The ssh -p … at the top was cut off at "ssh -p 6…"; it now has a full-width line of its own.
  • The port shown could differ from the port sshd actually opens. Only Port in /etc/ssh/sshd_config was read, so a server started as sshd --lan -p 65152 showed the default 2222. The port is now worked out in the same order as sshd (the command's -p → Port in the config file → the default). The SSH help under ⚙ Settings does the same.

Full Changelog: v1.0.54...v1.0.58