Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Show the menus on the alternate screen

オープン
#60 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, node.js
領域
cli

調査の方向性

Start by reading the existing menu resize handling and the approach tried in #59, then trace how scripts run and how normal exits, Ctrl+C, and errors are handled. Check the tests and README alongside the touched lib/ files. Done means the alternate screen handles resizing and script output as specified, tests and coverage meet the stated requirements, documentation is updated, and the roadmap item is ticked.

索引モデルが issue の本文から書いたものです。

説明

enhancement

Roadmap: A polished interface

Show the menus on the terminal's alternate screen (\x1b[?1049h), as less and vim do, and leave it before a script runs and on every exit path (normal exit, Ctrl+C, errors). Resizing the window can then redraw the whole screen, header included.

Today only the list redraws itself on resize. The header above it is drawn once per screen, so a terminal made narrower rewraps it into pieces. Clearing and redrawing the screen on resize was tried in #59 and dropped: clearing only reaches the visible part of the window, so each redraw left a duplicate header in the scrollback.

The list's page size should also count the lines drawn above it, so the screen never grows taller than the window.

Done when

  • Resizing the window while a menu is open never leaves broken lines or duplicate headers, in Windows Terminal, the classic console, macOS Terminal, iTerm2 and a Linux terminal
  • Script output stays in the normal screen, so it remains visible after returning to the menu
  • Tests cover the change, and coverage stays at or above 90% of lines
  • The README describes the change, and the header comment of each touched lib/ file is up to date
  • CI passes on Windows, macOS and Linux with Node 22, 24 and 26
  • The roadmap item is ticked

The milestone is done when: Screenshots of the main screens look correct in Windows Terminal, PowerShell, macOS Terminal, iTerm2 and a Linux terminal, at 80 and 120 columns, with and without NO_COLOR.

主要言語
JavaScript
スター
0
フォーク
0
平均マージ
41分
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modulane/dev-workspace-cli のほかの issue

modulane/dev-workspace-cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。