From: sashiko-bot@kernel.org
To: "Thomas Zimmermann" <tzimmermann@suse.de>
Cc: linux-serial@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v4 1/5] vt: Add cursor-size helpers
Date: Mon, 05 Oct 2026 13:39:10 +0000 [thread overview]
Message-ID: <20261005133911.41C8D1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20261005133335.344302-2-tzimmermann@suse.de>
> Cursors in the VT subsystem are blocks within a character cell that are
> filled with the foreground color. The new helpers vc_cursor_start() and
> vc_cursor_end() return the scanlines in which the cursor block starts rsp.
> ends. This is compatible with VGA hardware.
>
> In terms of cursor design, the new cursor-size helpers follow established
> styles in fbcon. The only exception is in underline cursors for fonts with
> a size larger than 10. The underlining dash is now one pixel closer to
> the font-glyph data, so that the cursor looks less detached. This follows
> the style used by vgacon.
>
> Users control the cursor size with the vt module's parameter cur_default
> or with the ESC sequence \e[?Nc, where N is the cursor-size constant. In
> case of an invalid setting, the new helpers fall back to cur_default and
> then underline cursors; in this order.
> [ ... ]
> - export non-font interface for vgacon
> - avoid interference from concurrent user space (Sashiko)
> - fix function docs (Sashiko)
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261005133335.344302-1-tzimmermann@suse.de?part=1
next prev parent reply other threads:[~2026-10-05 13:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-05 13:30 [PATCH v4 0/5] fbcon,vgacon,vt: Share helpers for text cursors Thomas Zimmermann
2026-10-05 13:30 ` [PATCH v4 1/5] vt: Add cursor-size helpers Thomas Zimmermann
2026-10-05 13:39 ` sashiko-bot [this message]
2026-10-05 13:31 ` [PATCH v4 2/5] vgacon: Remove trailing whitespaces Thomas Zimmermann
2026-10-05 13:35 ` sashiko-bot
2026-10-05 13:31 ` [PATCH v4 3/5] vgacon: Use vt_cursor_{start,end}() Thomas Zimmermann
2026-10-05 13:38 ` sashiko-bot
2026-10-05 13:31 ` [PATCH v4 4/5] lib/fonts: Add font_glyph_cursor() helper Thomas Zimmermann
2026-10-05 13:40 ` sashiko-bot
2026-10-05 13:31 ` [PATCH v4 5/5] fbcon: Replace fbcon_fill_cursor_mask() with fbcon_cursor_glyph() Thomas Zimmermann
2026-10-05 13:39 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261005133911.41C8D1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-serial@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox