Source code for notify.utils.terminalmsg

# coding=utf-8
"""
"""
__author__ = 'Alisue <lambdalisue@hashnote.net>'
from terminalsize import get_terminal_size

[docs]def termianlmsg(paragraphs, wallchar="*"): (width, height) = get_terminal_size() print wallchar * width print wallchar, wallchar.rjust(width - len(wallchar) * 2 - 2)