fbcon,vgacon,vt: Share helpers for text cursors
Subsystems (5)
Thomas Zimmermann
maintainerv4 cover fbcon,vgacon,vt: Share helpers for text cursors
VT consoles fbcon and vgacon implement various cursor sizes (i.e., underline, block, half-block, etc). Share related code and harmonize the look and behaviour.
In patches 1 to 3, move VT cursor-size calculations to the VT subsystem and use the new helpers from vgacon. Replace similar code in the console. The new helpers also take VT's default cursor size into account.
Fbcon implements a custom helper that creates a cursor glyph for the given cursor size. In patches 4 and 5, move the code into the font library and update fbcon to use the new helper. The cursor-glyph shape rendering is tied to the font in use. Hence move them next to each other. Also update fbcon to use the shared cursor-size helpers.
Tested with fbcon under bochs (qemu) and with vgacon on an old SiS 6202 VGA card. Other consoles (newport_con, sticon) don't support cursor sizes, so leave them as-is.
v4:
- vgacon: validate size before handlign CUR_NONE
- use do-while over goto (Jani)
v3:
- mention user interfaces to control cursor size in commit message (GregKH)
- elaborate defaults (GregKH)
- move retry logic into helper
- handle CUR_DEF
v2:
- restore vc_cell_height in vgacon
- avoid interference from concurrent user space
- fix docs
Thomas Zimmermann (5):
vt: Add cursor-size helpers
vgacon: Remove trailing whitespaces
vgacon: Use vt_cursor_{start,end}()
lib/fonts: Add font_glyph_cursor() helper
fbcon: Replace fbcon_fill_cursor_mask() with fbcon_cursor_glyph()
drivers/tty/vt/vt.c | 114 +++++++++++++++++++++++++++ drivers/video/console/vgacon.c | 43 +++------- drivers/video/fbdev/core/bitblit.c | 3 +- drivers/video/fbdev/core/fbcon.c | 45 +++-------- drivers/video/fbdev/core/fbcon.h | 2 +- drivers/video/fbdev/core/fbcon_ccw.c | 3 +- drivers/video/fbdev/core/fbcon_cw.c | 3 +- drivers/video/fbdev/core/fbcon_ud.c | 3 +- include/linux/console_struct.h | 8 ++ include/linux/font.h | 4 + lib/fonts/Makefile | 3 +- lib/fonts/font_cursor.c | 56 +++++++++++++ 12 files changed, 210 insertions(+), 77 deletions(-) create mode 100644 lib/fonts/font_cursor.c
base-commit: b0bd9fb9e92aae2a653efa1d0407daa2aabe99d0
Signature · 1 line
2.55.0
Thomas Zimmermann
maintainerPATCH v4 1/5 vt: Add cursor-size helpers
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.
Similar code in vgacon and fbcon ignores the cursor's default size stored in vt.cur_default. The consoles default to full-block cursors, while vt defaults to underline cursors. VGA BIOSes also tend to use underline by. default. Upon initialization vt applies its default to the console, but each console might fall back to it own default. For example, running the ESC code from above with the invalid constant of 8 magically flips the cursor from underline to block size on vgacon. Another call with N set to 0 (i.e., default) magically flips it back to underlyine. Making underline the new default everywhere harmonizes vt, fbcon and most VGA BIOSes.
v4:
- replace goto with do-while loop (Jani)
- export size-validation helper for use in vgacon
v3:
- mention user interfaces to control cursor size in commit message (GregKH)
- elaborate defaults (GregKH)
- move retry logic into helper
- handle CUR_DEF
v2:
- export non-font interface for vgacon
- avoid interference from concurrent user space (Sashiko)
- fix function docs (Sashiko)
--- drivers/tty/vt/vt.c | 114 +++++++++++++++++++++++++++++++++ include/linux/console_struct.h | 8 +++ 2 files changed, 122 insertions(+)
drivers/tty/vt/vt.c +114 -0
@@ -71,6 +71,7 @@* by Adam Tla/lka <[email protected]>, Aug 2006 */ +#include <linux/compiler.h> #include <linux/module.h> #include <linux/types.h> #include <linux/sched/signal.h>
@@ -264,6 +265,119 @@ unsigned int vc_font_size(const struct vc_font *font) }EXPORT_SYMBOL_GPL (vc_font_size); +/* +* Cursors +*/ + +/** +* vc_cursor_valid_size - Computes a valid cursor size from the given value +* @cursor_size: The size constant of cursor pattern +* +* The argument given in @cursor_size is one of the CUR_ constants, as stored +* in struct @vc_data.vc_cursor_type. For unknown values, the helper draws the +* default cursor or an underline dash. +* +* Returns: +* A valid cursor size for the given size value +*/ +unsigned int vc_cursor_valid_size (unsigned int cursor_size) +{ +const unsigned int cursor_default_size =CUR_SIZE (READ_ONCE (cur_default)); + +do { +switch (cursor_size) { +case CUR_NONE : +case CUR_UNDERLINE : +case CUR_LOWER_THIRD : +case CUR_LOWER_HALF : +case CUR_TWO_THIRDS : +case CUR_BLOCK : +return cursor_size; +default : +pr_warn_once ("Unknown cursor %u\n" , cursor_size); + fallthrough; +case CUR_DEF : +/* +* Use user-given default size, or underline if +* the given default is invalid. +*/ +if (cursor_size != cursor_default_size) + cursor_size = cursor_default_size; +else + cursor_size =CUR_UNDERLINE ; + } + }while (true); +} +EXPORT_SYMBOL_GPL (vc_cursor_valid_size); + +/** +* vc_cursor_start - Calculates the cursor's first scanline within a character cell +* @cell_height: The overall height of the character cell +* @cursor_size: The size constant of cursor pattern +* +* The parameter @cell_height is the height of the character cell as +* displayed by the console. The argument given in @cursor_size is one +* of the CUR_ constants. See vc_cursor_valid_size() for how to get a +* valid cursor-size constant. +* +* Returns: +* The index of the cursor's first scanline within the character cell +*/ +unsigned int vc_cursor_start (unsigned int cell_height,unsigned int cursor_size) +{ +switch (cursor_size) { +case CUR_NONE : +return cell_height; +case CUR_UNDERLINE : +default : +if (cell_height <10 ) +return cell_height -1 ; +else +return cell_height -3 ; +case CUR_LOWER_THIRD : +return cell_height - cell_height /3 ; +case CUR_LOWER_HALF : +return cell_height - cell_height /2 ; +case CUR_TWO_THIRDS : +return cell_height - (cell_height *2 ) /3 ; +case CUR_BLOCK : +return 0 ; + } +} +EXPORT_SYMBOL_GPL (vc_cursor_start); + +/** +* vc_cursor_end - Calculates the first scanline after the cursor within a character cell +* @cell_height: The overall height of the character cell +* @cursor_size: The size constant of cursor pattern +* +* The parameter @cell_height is the height of the character cell as +* displayed by the console. The argument given in @cursor_size is one +* of the CUR_ constants. See vc_cursor_valid_size() for how to get a +* valid cursor-size constant. +* +* Returns: +* The index of the first scanline after the cursor within the character cell +*/ +unsigned int vc_cursor_end (unsigned int cell_height,unsigned int cursor_size) +{ +switch (cursor_size) { +case CUR_UNDERLINE : +default : +if (cell_height <10 ) +return cell_height; +else +return cell_height -1 ; +case CUR_NONE : +case CUR_LOWER_THIRD : +case CUR_LOWER_HALF : +case CUR_TWO_THIRDS : +case CUR_BLOCK : +return cell_height; + } +} +EXPORT_SYMBOL_GPL (vc_cursor_end); +/* * /sys/class/tty/tty0/ *
include/linux/console_struct.h +8 -0
@@ -204,6 +204,10 @@ struct vc {extern struct vc vc_cons [MAX_NR_CONSOLES ];extern void vc_SAK (struct work_struct *work); +/* +* Cursors +*/ +#define CUR_MAKE (size, change, set) ((size) | ((change) << 8) | \ ((set) << 16))#define CUR_SIZE (c) ((c) & 0x00000f)
@@ -222,6 +226,10 @@ extern void vc_SAK(struct work_struct *work);#define CUR_CHANGE (c) ((c) & 0x00ff00)#define CUR_SET (c) (((c) & 0xff0000) >> 8) +unsigned int vc_cursor_valid_size (unsigned int cursor_size); +unsigned int vc_cursor_start (unsigned int cell_height,unsigned int cursor_size); +unsigned int vc_cursor_end (unsigned int cell_height,unsigned int cursor_size); +bool con_is_visible (const struct vc_data *vc);#endif /* _LINUX_CONSOLE_STRUCT_H */
Signature · 1 line
2.55.0
[email protected]
AI reviewRe: [PATCH v4 1/5] vt: Add cursor-size helpers
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 20 lines
Cursors in the VT subsystem are blocks within a character cell that are filled with the foreground color. The new helpers
vc_cursor_start()andvc_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_defaultor with the ESC sequence \e[?Nc, where N is the cursor-size constant. In case of an invalid setting, the new helpers fall back tocur_defaultand then underline cursors; in this order.
[ ... ]
- export non-font interface for vgacon
- avoid interference from concurrent user space (Sashiko)
- fix function docs (Sashiko)
Quoted 1 line
Signed-off-by Thomas Zimmermann <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Thomas Zimmermann
maintainerPATCH v4 2/5 vgacon: Remove trailing whitespaces
In reply to Thomas ZimmermannFix coding style.
--- drivers/video/console/vgacon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/video/console/vgacon.c +5 -5
@@ -881,14 +881,14 @@ static int vgacon_do_font_op(struct vgastate *state, char *arg, int set,/* First, the Sequencer */ vga_wseq (state->vgabase,VGA_SEQ_RESET ,0x1 );/* CPU writes only to map 2 */ -vga_wseq (state->vgabase,VGA_SEQ_PLANE_WRITE ,0x04 ); +vga_wseq (state->vgabase,VGA_SEQ_PLANE_WRITE ,0x04 );/* Sequential addressing */ -vga_wseq (state->vgabase,VGA_SEQ_MEMORY_MODE ,0x07 ); +vga_wseq (state->vgabase,VGA_SEQ_MEMORY_MODE ,0x07 );/* Clear synchronous reset */ vga_wseq (state->vgabase,VGA_SEQ_RESET ,0x03 );/* Now, the graphics controller, select map 2 */ -vga_wgfx (state->vgabase,VGA_GFX_PLANE_READ ,0x02 ); +vga_wgfx (state->vgabase,VGA_GFX_PLANE_READ ,0x02 );/* disable odd-even addressing */ vga_wgfx (state->vgabase,VGA_GFX_MODE ,0x00 );/* map start at A000:0000 */
@@ -930,7 +930,7 @@ static int vgacon_do_font_op(struct vgastate *state, char *arg, int set,raw_spin_lock_irq (&vga_lock);/* First, the sequencer, Synchronous reset */ -vga_wseq (state->vgabase,VGA_SEQ_RESET ,0x01 ); +vga_wseq (state->vgabase,VGA_SEQ_RESET ,0x01 );/* CPU writes to maps 0 and 1 */ vga_wseq (state->vgabase,VGA_SEQ_PLANE_WRITE ,0x03 );/* odd-even addressing */
@@ -959,7 +959,7 @@ static int vgacon_do_font_op(struct vgastate *state, char *arg, int set,/* Wilton (1987) mentions the following; I don't know what it means, but it works, and it appears necessary */ inb_p (video_port_status); -vga_wattr (state->vgabase,VGA_AR_ENABLE_DISPLAY ,0 ); +vga_wattr (state->vgabase,VGA_AR_ENABLE_DISPLAY ,0 ); clear_attribs = true; }raw_spin_unlock_irq (&vga_lock);
Signature · 1 line
2.55.0
[email protected]
AI reviewRe: [PATCH v4 2/5] vgacon: Remove trailing whitespaces
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 3 lines
Fix coding style.
Signed-off-by Thomas Zimmermann <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
Thomas Zimmermann
maintainerPATCH v4 3/5 vgacon: Use vt_cursor_{start,end}()
In reply to Thomas ZimmermannReplace vgacon's custom cursor metrics with the shared helpers vc_cursor_start() and vc_font_cursor_end(). Note that the _end() function returns the index of the scanline below the cursor, while VGA hardware expects the cursor's final scanline. Hence vgacon subtracts 1 from the end value.
The cursor shapes remain mostly unchanged, except that non-underline cursors now also use the glyph's top-most and bottom-most scanline. This follows the style used by fbcon.
v4:
- disable if CUR_DEF maps to CUR_NONE
v2:
- restore use of vc_cell_height (Sashiko)
--- drivers/video/console/vgacon.c | 33 +++++---------------------------- 1 file changed, 5 insertions(+), 28 deletions(-)
drivers/video/console/vgacon.c +5 -28
@@ -506,6 +506,7 @@ static void vgacon_set_cursor_size(int from, int to)static void vgacon_cursor (struct vc_data *c,bool enable) {unsigned int c_height; +unsigned int c_size;if (c->vc_mode !=KD_TEXT )return ;
@@ -513,10 +514,11 @@ static void vgacon_cursor(struct vc_data *c, bool enable)vgacon_restore_screen (c); c_height = c->vc_cell_height; + c_size =vc_cursor_valid_size (CUR_SIZE (c->vc_cursor_type));write_vga (14 , (c->vc_pos - vga_vram_base) /2 ); -if (!enable) { +if (!enable || c_size ==CUR_NONE ) {if (vga_video_type >=VIDEO_TYPE_VGAC )vgacon_set_cursor_size (31 ,30 );else
@@ -524,33 +526,8 @@ static void vgacon_cursor(struct vc_data *c, bool enable)return ; } -switch (CUR_SIZE (c->vc_cursor_type)) { -case CUR_UNDERLINE : -vgacon_set_cursor_size (c_height - (c_height <10 ?2 :3 ), - c_height - (c_height <10 ?1 :2 )); -break ; -case CUR_TWO_THIRDS : -vgacon_set_cursor_size (c_height /3 , - c_height - (c_height <10 ?1 :2 )); -break ; -case CUR_LOWER_THIRD : -vgacon_set_cursor_size (c_height *2 /3 , - c_height - (c_height <10 ?1 :2 )); -break ; -case CUR_LOWER_HALF : -vgacon_set_cursor_size (c_height /2 , - c_height - (c_height <10 ?1 :2 )); -break ; -case CUR_NONE : -if (vga_video_type >=VIDEO_TYPE_VGAC ) -vgacon_set_cursor_size (31 ,30 ); -else -vgacon_set_cursor_size (31 ,31 ); -break ; -default : -vgacon_set_cursor_size (1 , c_height); -break ; - } +vgacon_set_cursor_size (vc_cursor_start (c_height, c_size), +vc_cursor_end (c_height, c_size) -1 ); } static void vgacon_doresize(struct vc_data *c,
Signature · 1 line
2.55.0
[email protected]
AI reviewRe: [PATCH v4 3/5] vgacon: Use vt_cursor_{start,end}()
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 10 lines
Replace vgacon's custom cursor metrics with the shared helpers
vc_cursor_start()andvc_font_cursor_end(). Note that the_end()function returns the index of the scanline below the cursor, while VGA hardware expects the cursor's final scanline. Hence vgacon subtracts 1 from the end value.The cursor shapes remain mostly unchanged, except that non-underline cursors now also use the glyph's top-most and bottom-most scanline. This follows the style used by fbcon.
Quoted 6 lines
v4:
- disable ifCUR_DEFmaps toCUR_NONE
v2:
- restore use ofvc_cell_height(Sashiko)Signed-off-by Thomas Zimmermann <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
Thomas Zimmermann
maintainerPATCH v4 4/5 lib/fonts: Add font_glyph_cursor() helper
In reply to Thomas ZimmermannThe new helper font_glyph_cursor() fills a glyph with a cursor pattern. As with the font_glyph_rotate_*() helpers, the caller has to provide the output memory.
--- include/linux/font.h | 4 +++ lib/fonts/Makefile | 3 ++- lib/fonts/font_cursor.c | 56 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 lib/fonts/font_cursor.c
include/linux/font.h +4 -0
@@ -109,6 +109,10 @@ const unsigned char *font_data_glyph_buf(font_data_t *fd,bool font_data_is_equal (font_data_t *lhs,font_data_t *rhs);int font_data_export (font_data_t *fd,struct console_font *font,unsigned int vpitch); +/* font_cursor.c */ +void font_glyph_cursor (unsigned int width,unsigned int height, +unsigned int from,unsigned int to,unsigned char *out); +/* font_rotate.c */ void font_glyph_rotate_90 (const unsigned char *glyph,unsigned int width,unsigned int height,unsigned char *out);
lib/fonts/Makefile +2 -1
@@ -1,7 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 # Font handling -font-y := fonts.o +font-y := fonts.o \ + font_cursor.o font-$(CONFIG_FRAMEBUFFER_CONSOLE_ROTATION) += font_rotate.o # Built-in fonts; sorted by Family-Size in ascending order
lib/fonts/font_cursor.c new file +56 -0
56 lines not on this page · raw message
Signature · 1 line
2.55.0
[email protected]
AI reviewRe: [PATCH v4 4/5] lib/fonts: Add font_glyph_cursor() helper
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 5 lines
The new helper
font_glyph_cursor()fills a glyph with a cursor pattern. As with the font_glyph_rotate_*() helpers, the caller has to provide the output memory.Signed-off-by Thomas Zimmermann <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=4
Thomas Zimmermann
maintainerPATCH v4 5/5 fbcon: Replace fbcon_fill_cursor_mask() with fbcon_cursor_glyph()
In reply to Thomas ZimmermannThe kernel's font library provides font_glyph_cursor() to create cursor glyphs. Replace fbcon's fbcon_fill_cursor_mask() with a new helper that uses font_glyph_cursor().
The cursor shapes remain mostly unchanged. 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.
v4:
- update for vc_cursor_valid_size()
v2:
- adapt to new VT interface
--- drivers/video/fbdev/core/bitblit.c | 3 +- drivers/video/fbdev/core/fbcon.c | 45 +++++++--------------------- drivers/video/fbdev/core/fbcon.h | 2 +- drivers/video/fbdev/core/fbcon_ccw.c | 3 +- drivers/video/fbdev/core/fbcon_cw.c | 3 +- drivers/video/fbdev/core/fbcon_ud.c | 3 +- 6 files changed, 16 insertions(+), 43 deletions(-)
drivers/video/fbdev/core/bitblit.c +1 -2
@@ -334,11 +334,10 @@ static void bit_cursor(struct vc_data *vc, struct fb_info *info, bool enable, vc->vc_cursor_type != par->p->cursor_shape || par->cursor_state.mask == NULL || par->cursor_reset) { -unsigned char *mask =kmalloc_array (vc->vc_font.height, w,GFP_ATOMIC ); +unsigned char *mask =fbcon_cursor_glyph (&vc->vc_font, vc->vc_cursor_type);if (!mask)return ; -fbcon_fill_cursor_mask (par, vc, mask);kfree (par->cursor_state.mask); par->cursor_state.mask = (const char *)mask;
drivers/video/fbdev/core/fbcon.c +11 -34
55 lines not on this page · raw message
drivers/video/fbdev/core/fbcon.h +1 -1
@@ -202,7 +202,7 @@ extern void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info);extern void fbcon_set_bitops_ur (struct fbcon_par *par);extern int soft_cursor (struct fb_info *info,struct fb_cursor *cursor); -void fbcon_fill_cursor_mask (struct fbcon_par *par,struct vc_data *vc,unsigned char *mask); +unsigned char *fbcon_cursor_glyph (const struct vc_font *font,unsigned int cursor_type);#define FBCON_ATTRIBUTE_UNDERLINE 1#define FBCON_ATTRIBUTE_REVERSE 2
drivers/video/fbdev/core/fbcon_ccw.c +1 -2
@@ -298,10 +298,9 @@ static void ccw_cursor(struct vc_data *vc, struct fb_info *info, bool enable, par->cursor_reset) {unsigned char *tmp, *mask; - tmp =kmalloc_array (vc->vc_font.height,vc_font_pitch (&vc->vc_font),GFP_ATOMIC ); + tmp =fbcon_cursor_glyph (&vc->vc_font, vc->vc_cursor_type);if (!tmp)return ; -fbcon_fill_cursor_mask (par, vc, tmp); mask =kmalloc_array (vc->vc_font.width, w,GFP_ATOMIC );if (!mask) {
drivers/video/fbdev/core/fbcon_cw.c +1 -2
@@ -281,10 +281,9 @@ static void cw_cursor(struct vc_data *vc, struct fb_info *info, bool enable, par->cursor_reset) {unsigned char *tmp, *mask; - tmp =kmalloc_array (vc->vc_font.height,vc_font_pitch (&vc->vc_font),GFP_ATOMIC ); + tmp =fbcon_cursor_glyph (&vc->vc_font, vc->vc_cursor_type);if (!tmp)return ; -fbcon_fill_cursor_mask (par, vc, tmp); mask =kmalloc_array (vc->vc_font.width, w,GFP_ATOMIC );if (!mask) {
drivers/video/fbdev/core/fbcon_ud.c +1 -2
@@ -328,10 +328,9 @@ static void ud_cursor(struct vc_data *vc, struct fb_info *info, bool enable, par->cursor_reset) {unsigned char *tmp, *mask; - tmp =kmalloc_array (vc->vc_font.height, w,GFP_ATOMIC ); + tmp =fbcon_cursor_glyph (&vc->vc_font, vc->vc_cursor_type);if (!tmp)return ; -fbcon_fill_cursor_mask (par, vc, tmp); mask =kmalloc_array (vc->vc_font.height, w,GFP_ATOMIC );if (!mask) {
Signature · 1 line
2.55.0
[email protected]
AI reviewRe: [PATCH v4 5/5] fbcon: Replace fbcon_fill_cursor_mask() with fbcon_cursor_glyph()
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 9 lines
The kernel's font library provides
font_glyph_cursor()to create cursor glyphs. Replace fbcon'sfbcon_fill_cursor_mask()with a new helper that usesfont_glyph_cursor().The cursor shapes remain mostly unchanged. 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.
Quoted 6 lines
v4:
- update forvc_cursor_valid_size()
v2:
- adapt to new VT interfaceSigned-off-by Thomas Zimmermann <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=5