Feature request: Configurable task list display limit + quick-toggle keybinding
What I'd like
A settings key in ~/.claude/settings.json (or an env var) that raises the
number of tasks that remain visible in the task list widget before the
rest is collapsed into a +N pending summary. Default can stay as it is
today — this is opt-in for users with larger working sets.
Example shape:
{
"taskListMaxVisible": 20
}
Why
I use TaskCreate / TaskUpdate intensively to track a long-running
project. My working set is typically 8–15 open tasks (mix of pending
and in_progress). With the current display, most of them collapse into+N pending and I lose the at-a-glance overview that the widget is
supposed to give — I have to call TaskList in the chat every time I
want to see the full set, which defeats the ergonomic value of the
widget.
Nice-to-have (secondary)
- Alternative: env var
CLAUDE_TASK_LIST_MAX_VISIBLE. - Alternative behavior: always show every
in_progresstask uncollapsed,
collapse only pending and completed beyond the limit.
Additional idea: quick-toggle keybinding
Independent of (or complementary to) the settings key: a keybinding that
toggles the task list between two view states without leaving the
prompt — analogous to Ctrl+O for the compact summary today.
Suggested binding: Ctrl+T (T for Tasks), or any other free binding
if Ctrl+T is already taken.
Two toggle states:
in_progressonly (default, minimal noise)in_progress+pending(full open-work view)
completed stays hidden in both states — the toggle is about "what
still needs work", not history. This lets a user pop the full open-task
list open on demand and collapse it again with the same keystroke, so
the widget can stay minimal by default and expand on user intent.
Version
Claude Code CLI 2.1.195, Linux.