@@ -168,6 +168,7 @@ all_tests
168168 , attributes_test_5
169169 , inline_test_0
170170 , inline_test_1
171+ , inline_test_2
171172 ]
172173
173174reserve_output_test = Test
@@ -901,3 +902,21 @@ inline_test_1 = Test
901902
902903 , confirm_results = generic_output_match_confirm
903904 }
905+
906+inline_test_2 = Test
907+ { test_name = "Verify styled output can be performed without clearing the screen."
908+ , test_ID = "inline_test_1"
909+ , test_action = do
910+ t <- terminal_handle
911+ put_string t "Not styled. "
912+ put_attr_change t $ back_color red >> apply_style underline
913+ put_string t " Styled! "
914+ put_attr_change t $ default_all
915+ put_string t "Not styled.\n"
916+ release_terminal t
917+ return ()
918+ , print_summary = putStr $ [$heredoc|
919+|]
920+
921+ , confirm_results = generic_output_match_confirm
922+ }