@@ -15,7 +15,7 @@ async fn basic_interactivity() {
1515
1616 crate :: utils:: assert_random_walker_moves ( & mut tattoy) . await ;
1717
18- tattoy. send_command ( "echo $((1+1))" ) . unwrap ( ) ;
18+ tattoy. send_command_with_osc_paste ( "echo $((1+1))" ) . unwrap ( ) ;
1919 tattoy. wait_for_string ( "2" , None ) . await . unwrap ( ) ;
2020
2121 crate :: utils:: assert_random_walker_moves ( & mut tattoy) . await ;
@@ -112,7 +112,7 @@ async fn scrolling() {
112112
113113 let ( mut tattoy, _) = crate :: utils:: start_tattoy ( None ) . await ;
114114 tattoy
115- . send_command ( "cat resources/LOREM_IPSUM.txt" )
115+ . send_command_with_osc_paste ( "cat resources/LOREM_IPSUM.txt" )
116116 . unwrap ( ) ;
117117 assert_scrolling_off ( & mut tattoy) . await ;
118118
@@ -136,7 +136,7 @@ async fn palette_to_true_colour() {
136136 let ( mut tattoy, _) = crate :: utils:: start_tattoy ( None ) . await ;
137137
138138 tattoy
139- . send_command ( "echo -e \" \\ 033[0;31m$((1000-1))\\ 033[m\" " )
139+ . send_command_with_osc_paste ( "echo -e \" \\ 033[0;31m$((1000-1))\\ 033[m\" " )
140140 . unwrap ( ) ;
141141 tattoy. wait_for_string ( "999" , None ) . await . unwrap ( ) ;
142142
@@ -157,7 +157,7 @@ async fn minimap() {
157157 let size = tattoy. shadow_terminal . terminal . get_size ( ) ;
158158
159159 tattoy
160- . send_command ( "cat resources/LOREM_IPSUM.txt" )
160+ . send_command_with_osc_paste ( "cat resources/LOREM_IPSUM.txt" )
161161 . unwrap ( ) ;
162162 tattoy. wait_for_string ( "nulla" , None ) . await . unwrap ( ) ;
163163 tattoy
@@ -218,7 +218,7 @@ async fn plugins() {
218218 conf_file. write_all ( config. as_bytes ( ) ) . unwrap ( ) ;
219219
220220 let ( mut tattoy, _) = crate :: utils:: start_tattoy ( Some ( conf_dir. to_string_lossy ( ) . into ( ) ) ) . await ;
221- tattoy. send_command ( "ls" ) . unwrap ( ) ;
221+ tattoy. send_command_with_osc_paste ( "ls" ) . unwrap ( ) ;
222222 let size = tattoy. shadow_terminal . terminal . get_size ( ) ;
223223 let bottom = size. rows - 1 ;
224224 let right = size. cols - 1 ;
@@ -305,9 +305,11 @@ async fn auto_text_contrast() {
305305 bg. relative_contrast ( fg)
306306 }
307307
308+ crate :: utils:: setup_logging ( ) ;
309+
308310 let ( mut tattoy, _) = crate :: utils:: start_tattoy ( None ) . await ;
309311 tattoy
310- . send_command ( "resources/print_low_contrast_samples.sh" )
312+ . send_command_with_osc_paste ( "resources/print_low_contrast_samples.sh" )
311313 . unwrap ( ) ;
312314 tattoy. wait_for_string ( "middle" , None ) . await . unwrap ( ) ;
313315 tattoy. wait_for_string ( "dark" , None ) . await . unwrap ( ) ;
0 commit comments