13 lines
320 B
Dart
13 lines
320 B
Dart
|
import 'package:dartterm/colors.dart';
|
||
|
import 'package:dartterm/terminal.dart';
|
||
|
|
||
|
void main() async {
|
||
|
at(0, 0).puts("Hello, bats!");
|
||
|
at(0, 2).fg(Palette.subtitle).small().puts("Beware of the bat!");
|
||
|
at(4, 4)
|
||
|
.bg(Palette.subtitle)
|
||
|
.fg(Palette.defaultBg)
|
||
|
.big()
|
||
|
.puts("BEWARE OF THE BAT!");
|
||
|
}
|