# Path: fabulous/term.py
# class Term(object):
# class UnixTerm(Term):
# class CursesTerm(UnixTerm):
# class WinTerm(Term):
# class Win32Term(WinTerm):
# class WinCTypesTerm(WinTerm):
# class Magic(object):
#     def __init__(self, stream):
#     def bell(self):
#     def display(self, codes=[], fg=None, bg=None):
#     def move(self, place, distance = 1):
#     def clear(self, scope = 'screen'):
#     def get_size(self):
#     def set_title(self, name):
#     def isatty(self):
#     def fileno(self):
#     def write(self, text):
#     def writelines(self, sequence_of_strings):
#     def flush(self):
#     def getch(self):
#     def raw_input(self, prompt):
#     def next(self):
#     def readline(self, *args, **kwargs):
#     def readlines(self, *args, **kwargs):
#     def read(self, *args, **kwargs):
#     def mode(self):
#     def newlines(self):
#     def encoding(self):
#     def softspace(self):
#     def name(self):
#     def __init__(self, stream):
#     def getch(self):
#     def __init__(self, stream):
#     def bell(self):
#     def display(self, codes=[], fg=None, bg=None):
#     def move(self, place, distance = 1):
#     def clear(self, scope = 'screen'):
#     def get_size(self):
#     def set_title(self, name):
#     def _get_cap(self, cap):
#     def __init__(self, stream):
#     def display(self, codes=[], fg=None, bg=None):
#     def get_size(self):
#     def _get_std_handle(self, handleno):
#     def _get_console_info(self):
#     def _clear_console(self, length, start):
#     def _set_attributes(self, code):
#     def _split_attributes(self, attrs):
#     def _undim(self):
#     def _display_default(self):
#     def _display_bright(self):
#     def _display_dim(self):
#     def _display_reverse(self):
#     def _display_hidden(self):
#     def _get_position(self):
#     def _set_position(self, coord):
#     def move(self, place, distance = 1):
#     def clear(self, scope = 'screen'):
#     def getch(self):
#     def bell(self):
#     def __init__(self, stream):
#     def set_title(self, name):
#     def _get_console_info(self):
#     def _get_std_handle(self, handle):
#     def _get_title(self):
#     def _set_attributes(self, attr):
#     def _set_position(self, coord):
#     def _clear_console(self, length, start):
#     def _pyCoord_dict(self, coord):
#     def _pySMALL_RECTType_dict(self, rect):
#     def __init__(self, stream):
#     def set_title(self, name):
#     def _get_console_info(self):
#     def _get_std_handle(self, handle):
#     def _get_title(self):
#     def _set_attributes(self, attr):
#     def _set_position(self, coord):
#     def _clear_console(self, length, start):
#     def _get_coord(self, coord):
#     def displayformat(codes=[], fg=None, bg=None):
#     def rdisplay(codes):
#     def display(codes=[], fg=None, bg=None):
# def display(codes=[], fg=None, bg=None):
# def _get_terms():
# def _get_term(termclass):
#     STD_INPUT_HANDLE = -10
#     STD_OUTPUT_HANDLE = -11
#     STD_ERROR_HANDLE = -12
#     FG_BLUE = 1 << 0
#     FG_GREEN = 1 << 1
#     FG_RED = 1 << 2
#     FG_INTENSITY = 1 << 3
#     BG_BLUE = 1 << 4
#     BG_GREEN = 1 << 5
#     BG_RED = 1 << 6
#     BG_INTENSITY = 1 << 7
#     FG_ALL = FG_BLUE | FG_GREEN | FG_RED
#     BG_ALL = BG_BLUE | BG_GREEN | BG_RED
#     FG = {
#     'black': 0,
#     'red': FG_RED,
#     'green': FG_GREEN,
#     'yellow': FG_GREEN | FG_RED,
#     'blue': FG_BLUE,
#     'magenta': FG_BLUE | FG_RED,
#     'cyan': FG_BLUE | FG_GREEN,
#     'white': FG_BLUE | FG_GREEN | FG_RED,
#     }
#     BG = {
#     'black':0,
#     'red':BG_RED,
#     'green':BG_GREEN,
#     'yellow':BG_GREEN | BG_RED,
#     'blue':BG_BLUE,
#     'magenta':BG_BLUE | BG_RED,
#     'cyan':BG_BLUE | BG_GREEN,
#     'white':BG_BLUE | BG_GREEN | BG_RED,
#     }
#     ESCAPE = '\x1b'
#     CSI = ESCAPE +'['
#     OSC = ESCAPE +']'
#     RESET = ESCAPE + 'c'
#     DISPLAY = {'default':0, 'bright':1, 'dim':2, 'underline':4, 'blink':5,
#              'reverse':7, 'hidden':8 }
#     COLORS = { 'black':0, 'red':1, 'green':2, 'yellow':3, 'blue':4, 'magenta':5,
#                'cyan':6, 'white':7 }


from fabulous.term import stdout
#!/usr/bin/env python
#
# Copyright 2016 The Fabulous Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Outputs something like:
spaand eggs
george
"""


stdout.write('spam')

# Path: fabulous/term.py
# class Term(object):
# class UnixTerm(Term):
# class CursesTerm(UnixTerm):
# class WinTerm(Term):
# class Win32Term(WinTerm):
# class WinCTypesTerm(WinTerm):
# class Magic(object):
#     def __init__(self, stream):
#     def bell(self):
#     def display(self, codes=[], fg=None, bg=None):
#     def move(self, place, distance = 1):
#     def clear(self, scope = 'screen'):
#     def get_size(self):
#     def set_title(self, name):
#     def isatty(self):
#     def fileno(self):
#     def write(self, text):
#     def writelines(self, sequence_of_strings):
#     def flush(self):
#     def getch(self):
#     def raw_input(self, prompt):
#     def next(self):
#     def readline(self, *args, **kwargs):
#     def readlines(self, *args, **kwargs):
#     def read(self, *args, **kwargs):
#     def mode(self):
#     def newlines(self):
#     def encoding(self):
#     def softspace(self):
#     def name(self):
#     def __init__(self, stream):
#     def getch(self):
#     def __init__(self, stream):
#     def bell(self):
#     def display(self, codes=[], fg=None, bg=None):
#     def move(self, place, distance = 1):
#     def clear(self, scope = 'screen'):
#     def get_size(self):
#     def set_title(self, name):
#     def _get_cap(self, cap):
#     def __init__(self, stream):
#     def display(self, codes=[], fg=None, bg=None):
#     def get_size(self):
#     def _get_std_handle(self, handleno):
#     def _get_console_info(self):
#     def _clear_console(self, length, start):
#     def _set_attributes(self, code):
#     def _split_attributes(self, attrs):
#     def _undim(self):
#     def _display_default(self):
#     def _display_bright(self):
#     def _display_dim(self):
#     def _display_reverse(self):
#     def _display_hidden(self):
#     def _get_position(self):
#     def _set_position(self, coord):
#     def move(self, place, distance = 1):
#     def clear(self, scope = 'screen'):
#     def getch(self):
#     def bell(self):
#     def __init__(self, stream):
#     def set_title(self, name):
#     def _get_console_info(self):
#     def _get_std_handle(self, handle):
#     def _get_title(self):
#     def _set_attributes(self, attr):
#     def _set_position(self, coord):
#     def _clear_console(self, length, start):
#     def _pyCoord_dict(self, coord):
#     def _pySMALL_RECTType_dict(self, rect):
#     def __init__(self, stream):
#     def set_title(self, name):
#     def _get_console_info(self):
#     def _get_std_handle(self, handle):
#     def _get_title(self):
#     def _set_attributes(self, attr):
#     def _set_position(self, coord):
#     def _clear_console(self, length, start):
#     def _get_coord(self, coord):
#     def displayformat(codes=[], fg=None, bg=None):
#     def rdisplay(codes):
#     def display(codes=[], fg=None, bg=None):
# def display(codes=[], fg=None, bg=None):
# def _get_terms():
# def _get_term(termclass):
#     STD_INPUT_HANDLE = -10
#     STD_OUTPUT_HANDLE = -11
#     STD_ERROR_HANDLE = -12
#     FG_BLUE = 1 << 0
#     FG_GREEN = 1 << 1
#     FG_RED = 1 << 2
#     FG_INTENSITY = 1 << 3
#     BG_BLUE = 1 << 4
#     BG_GREEN = 1 << 5
#     BG_RED = 1 << 6
#     BG_INTENSITY = 1 << 7
#     FG_ALL = FG_BLUE | FG_GREEN | FG_RED
#     BG_ALL = BG_BLUE | BG_GREEN | BG_RED
#     FG = {
#     'black': 0,
#     'red': FG_RED,
#     'green': FG_GREEN,
#     'yellow': FG_GREEN | FG_RED,
#     'blue': FG_BLUE,
#     'magenta': FG_BLUE | FG_RED,
#     'cyan': FG_BLUE | FG_GREEN,
#     'white': FG_BLUE | FG_GREEN | FG_RED,
#     }
#     BG = {
#     'black':0,
#     'red':BG_RED,
#     'green':BG_GREEN,
#     'yellow':BG_GREEN | BG_RED,
#     'blue':BG_BLUE,
#     'magenta':BG_BLUE | BG_RED,
#     'cyan':BG_BLUE | BG_GREEN,
#     'white':BG_BLUE | BG_GREEN | BG_RED,
#     }
#     ESCAPE = '\x1b'
#     CSI = ESCAPE +'['
#     OSC = ESCAPE +']'
#     RESET = ESCAPE + 'c'
#     DISPLAY = {'default':0, 'bright':1, 'dim':2, 'underline':4, 'blink':5,
#              'reverse':7, 'hidden':8 }
#     COLORS = { 'black':0, 'red':1, 'green':2, 'yellow':3, 'blue':4, 'magenta':5,
#                'cyan':6, 'white':7 }


# Path: tests/manual/move.py
from fabulous.term import stdout

#!/usr/bin/env python
#
# Copyright 2016 The Fabulous Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Outputs something like:
spaand eggs
george
"""


stdout.write('spam')

stdout.move('left')