| 1 | #!/usr/bin/env python |
| 2 | # |
| 3 | # Copyright 2016 The Fabulous Authors. All rights reserved. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | from fabulous.termscip-python python fabulous 0.4.0 `fabulous.term`/__init__: import displayscip-python python fabulous 0.4.0 `fabulous.term`/display()., stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout., Magicscip-python python fabulous 0.4.0 `fabulous.term`/Magic# |
| 18 | |
| 19 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().('default')) |
| 20 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().("default text\n") |
| 21 | |
| 22 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().("regular foreground test:\n") |
| 23 | for colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color. in Magicscip-python python fabulous 0.4.0 `fabulous.term`/Magic#.COLORSscip-python python fabulous 0.4.0 `fabulous.term`/Magic#COLORS..iterkeys(): |
| 24 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().(fgscip-python python fabulous 0.4.0 `fabulous.term`/display().(fg)=colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color.)) |
| 25 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(" " + colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color. + '\n') |
| 26 | |
| 27 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().('default')) |
| 28 | |
| 29 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().("regular background test:\n") |
| 30 | for colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color. in Magicscip-python python fabulous 0.4.0 `fabulous.term`/Magic#.COLORSscip-python python fabulous 0.4.0 `fabulous.term`/Magic#COLORS..iterkeys(): |
| 31 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().(bgscip-python python fabulous 0.4.0 `fabulous.term`/display().(bg)=colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color.)) |
| 32 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(" " + colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color. + '\n') |
| 33 | |
| 34 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().('default')) |
| 35 | |
| 36 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().("bright foreground test:\n") |
| 37 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().('bright')) |
| 38 | for colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color. in Magicscip-python python fabulous 0.4.0 `fabulous.term`/Magic#.COLORSscip-python python fabulous 0.4.0 `fabulous.term`/Magic#COLORS..iterkeys(): |
| 39 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().(fgscip-python python fabulous 0.4.0 `fabulous.term`/display().(fg)=colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color.)) |
| 40 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(" " + colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color. + '\n') |
| 41 | |
| 42 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().('default')) |
| 43 | |
| 44 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().("dim foreground test:\n") |
| 45 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().('dim')) |
| 46 | for colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color. in Magicscip-python python fabulous 0.4.0 `fabulous.term`/Magic#.COLORSscip-python python fabulous 0.4.0 `fabulous.term`/Magic#COLORS..iterkeys(): |
| 47 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().(fgscip-python python fabulous 0.4.0 `fabulous.term`/display().(fg)=colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color.)) |
| 48 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(" " + colorscip-python python fabulous 0.4.0 `tests.manual.colors`/color. + '\n') |
| 49 | |
| 50 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().('bright','red')) |
| 51 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().("bright red\n") |
| 52 | stdoutscip-python python fabulous 0.4.0 `fabulous.term`/stdout..writescip-python python fabulous 0.4.0 `fabulous.term`/Term#write().(displayscip-python python fabulous 0.4.0 `fabulous.term`/display().("default")) |