Skip to content

Help command output may not print pretty in a restrictive (window-text-width) #409

@meedstrom

Description

@meedstrom

Checklist

  • I agree to communicate with the author myself (not AI-generated).
  • I've read the README's Filing issues section.
  • I'm running the latest versions (fill in below).
    • agent-shell: 0.48.1
    • acp.el: 0.11.2
    • ACP package: claude-agent-acp
    • Agent CLI: claude

I'm only just starting out, so this is just my first impression. A minor matter of polish.

I'm not sure what's the best way to fix it, but IMO it is not desirable that the output of the help command (and maybe other commands?) can fit poorly within a 80-column window:

Image

At a wild guess, the culprit here might be S-<insertchar> and other long key descriptions pushing the docstrings to the right.

Truncate-lines helps the buffer look better but the docstrings still get too little space to display fully:

Image

Side-issue: obey truncate-lines?

A side-issue btw: it's also odd that agent-shell-mode buffers do not seem to respect my initfile setting (setq-default truncate-lines t), even though for example shell-mode does.

As I understand it, both agent-shell-mode and shell-mode inherit from comint. It's possible it's something in my config but I just tested creating a blank comint buffer, and it does have truncate-lines at t as it should, so it's not all that likely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions