Skip to content

Commit a85f44b

Browse files
committed
README
1 parent ee54002 commit a85f44b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,16 +708,16 @@ The following example shows how to print some blue background texts using Consol
708708
from filesystem import console as fsconsole
709709

710710
# This will print a spaced text to your print message
711-
print(fsconsole.foreground.RED, "This is a warn message")
711+
print(fsconsole.background.BLUE, 'This is a blue background message')
712712

713713
# This will print a no space text to your print message
714-
print(fsconsole.foreground.RED + "This is another warn message")
714+
print(fsconsole.background.BLUE + 'This is another blue background warn message')
715715

716716
# You can use f-string format to assign the color to your print
717-
print(f'{fsconsole.foreground.RED}This is a new warn message{fsconsole.foreground.RESET}')
717+
print(f'{fsconsole.background.BLUE}This is a new blue background message{fsconsole.background.RESET}')
718718

719719
# This text will be printed without color (default)
720-
print("This is a normal text")
720+
print('This is a normal text')
721721
```
722722

723723
Output:

0 commit comments

Comments
 (0)