Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/
Dvirtual_console.rs20 Color, DrawRegion, VtMode, VtModeData, COLOR_TABLE, DEFAULT_BLUE, DEFAULT_GREEN, DEFAULT_RED,
305 let _ = self.driver_funcs().con_set_palette(self, COLOR_TABLE); in set_palette()
1133 COLOR_TABLE[self.par[i] as usize - 30] | self.state.color & 0xf0; in csi_m()
1136 (COLOR_TABLE[self.par[i] as usize - 40] << 4) | self.state.color & 0xf0; in csi_m()
Dmod.rs47 pub const COLOR_TABLE: &'static [u8] = &[0, 4, 2, 6, 1, 5, 3, 7, 8, 12, 10, 14, 9, 13, 11, 15]; constant