Home
last modified time | relevance | path

Searched refs:cursor_type (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs113 pub cursor_type: VcCursor, field
204 cursor_type: VcCursor::empty(), in new()
271 self.cursor_type = VcCursor::CUR_BLOCK; in reset()
481 if self.cursor_type.cursor_size() != VcCursor::CUR_NONE { in set_cursor()
492 let cursor_type = self.cursor_type; in add_softcursor() localVariable
494 if !cursor_type.contains(VcCursor::CUR_SW) { in add_softcursor()
508 i |= cursor_type.cursor_set(); in add_softcursor()
509 i ^= cursor_type.cursor_change(); in add_softcursor()
510 if cursor_type.contains(VcCursor::CUR_ALWAYS_BG) in add_softcursor()
515 if cursor_type.contains(VcCursor::CUR_INVERT_FG_BG) in add_softcursor()
[all …]
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs353 if vc_data.cursor_type.contains(VcCursor::CUR_SW) { in con_cursor()
734 || vc_data.cursor_type != fbcon_data.display.cursor_shape in cursor()
738 fbcon_data.display.cursor_shape = vc_data.cursor_type; in cursor()
786 fbcon_data.cursor_state.enable = !vc_data.cursor_type.contains(VcCursor::CUR_SW); in cursor()