from termapp.layout import Layout
from termapp.term import term
from rl.ui.terminal.display.panes.prompt import PromptPane


class PromptModeLayout(Layout):

    def __init__(self, mode):
        super().__init__()
        self.mode = mode
        self.refresh()

    def refresh(self):
        self.panes = {(0, 0): PromptPane(term.width, term.height, self.mode)}

a696818d1fc806a2a904b4881152ca1c690d6d47
<mask token>


class PromptModeLayout(Layout):
    <mask token>
    <mask token>

<mask token>


class PromptModeLayout(Layout):

    def __init__(self, mode):
        super().__init__()
        self.mode = mode
        self.refresh()
    <mask token>

<mask token>


class PromptModeLayout(Layout):

    def __init__(self, mode):
        super().__init__()
        self.mode = mode
        self.refresh()

    def refresh(self):
        self.panes = {(0, 0): PromptPane(term.width, term.height, self.mode)}

from termapp.layout import Layout
from termapp.term import term
from rl.ui.terminal.display.panes.prompt import PromptPane


class PromptModeLayout(Layout):

    def __init__(self, mode):
        super().__init__()
        self.mode = mode
        self.refresh()

    def refresh(self):
        self.panes = {(0, 0): PromptPane(term.width, term.height, self.mode)}
