File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1169,7 +1169,7 @@ def on_draw(self) -> None:
11691169 )
11701170 for i in range (len (self .names )):
11711171 sample_console .print (
1172- SAMPLE_SCREEN_WIDTH - 2 ,
1172+ SAMPLE_SCREEN_WIDTH - 1 ,
11731173 2 + i ,
11741174 self .names [i ],
11751175 fg = WHITE ,
@@ -1533,14 +1533,14 @@ def draw_stats() -> None:
15331533 except ZeroDivisionError :
15341534 fps = 0
15351535 root_console .print (
1536- 79 ,
1536+ root_console . width ,
15371537 46 ,
15381538 "last frame :%5.1f ms (%4d fps)" % (frame_length [- 1 ] * 1000.0 , fps ),
15391539 fg = GREY ,
15401540 alignment = libtcodpy .RIGHT ,
15411541 )
15421542 root_console .print (
1543- 79 ,
1543+ root_console . width ,
15441544 47 ,
15451545 "elapsed : %8d ms %5.2fs" % (time .perf_counter () * 1000 , time .perf_counter ()),
15461546 fg = GREY ,
You can’t perform that action at this time.
0 commit comments