@@ -184,21 +184,25 @@ impl CursorTest {
184
184
// without visual cursors and with a warning that the text may not be accurate.
185
185
186
186
let bg_color_expected = Color :: from_rgba8 ( 255 , 255 , 255 , 255 ) ;
187
+ let padding_color_expected = Color :: from_rgba8 ( 166 , 200 , 255 , 255 ) ;
187
188
let cursor_color_expected = Color :: from_rgba8 ( 0 , 255 , 0 , 255 ) ;
188
189
let selection_color_expected = Color :: from_rgba8 ( 0 , 255 , 0 , 200 ) ;
189
190
let bg_color_actual = Color :: from_rgba8 ( 230 , 230 , 230 , 255 ) ;
191
+ let padding_color_actual = Color :: from_rgba8 ( 166 , 255 , 240 , 255 ) ;
190
192
let cursor_color_actual = Color :: from_rgba8 ( 255 , 0 , 0 , 255 ) ;
191
193
let selection_color_actual = Color :: from_rgba8 ( 255 , 0 , 0 , 200 ) ;
192
194
193
195
let rendering_config_expected = RenderingConfig {
194
196
background_color : bg_color_expected,
197
+ padding_color : padding_color_expected,
195
198
inline_box_color : bg_color_expected,
196
199
cursor_color : cursor_color_expected,
197
200
selection_color : selection_color_expected,
198
201
size : None ,
199
202
} ;
200
203
let rendering_config_actual = RenderingConfig {
201
204
background_color : bg_color_actual,
205
+ padding_color : padding_color_actual,
202
206
inline_box_color : bg_color_actual,
203
207
cursor_color : cursor_color_actual,
204
208
selection_color : selection_color_actual,
@@ -351,11 +355,13 @@ impl CursorTest {
351
355
#[ allow( dead_code) ]
352
356
pub ( crate ) fn render_cursor ( & self , cursor : Cursor ) {
353
357
let bg_color_cursor = Color :: from_rgba8 ( 255 , 255 , 255 , 255 ) ;
358
+ let padding_color_cursor = Color :: from_rgba8 ( 166 , 200 , 255 , 255 ) ;
354
359
let cursor_color_cursor = Color :: from_rgba8 ( 0 , 255 , 0 , 255 ) ;
355
360
let selection_color_cursor = Color :: from_rgba8 ( 0 , 255 , 0 , 200 ) ;
356
361
357
362
let rendering_config_cursor = RenderingConfig {
358
363
background_color : bg_color_cursor,
364
+ padding_color : padding_color_cursor,
359
365
inline_box_color : bg_color_cursor,
360
366
cursor_color : cursor_color_cursor,
361
367
selection_color : selection_color_cursor,
0 commit comments