-
-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
bugSomething isn't workingSomething isn't working
Description
TL;DR: Workaround found, no fix required.
Great project! The interface is much superior to the codex TUI :)
Checklist
- I've read the README's Issues section.
- I'm running the latest agent-shell version. (20260116.1925)
- I'm running the latest agent version (ie. Claude Code, Geminig CLI).
- I'm running the latest agent ACP package (ie. claude-code-acp).
- For requesting new agent support, I'm including a link to the ACP-capable agent or related ACP package.
- For issues, I'm including ACP traffic (as per README).
Problem
The agent icon in the header is too large (exactly double) what it should be and is thus overlapping text.
My font is
(set-frame-font "ComicCodeLigatures Nerd Font 13" nil t)Workaround
I already found a workaround for this, so I don't require a fix. Feel free to close this issue.
Just posting this for awareness :)
(with-eval-after-load 'agent-shell
(require 'cl-lib)
(advice-add
'agent-shell--make-header :around
(lambda (fn state &rest args)
(let ((orig-default-font-height (symbol-function 'default-font-height)))
(cl-letf (((symbol-function 'default-font-height)
(lambda (&rest fh-args)
(* 0.5 (apply orig-default-font-height fh-args)))))
(apply fn state args))))))This code corrects the icon size without any side effects (that I have noticed).
See:

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working