pybitmessage.bitmessagecurses package

Bitmessage commandline interface

class printLog[source]

Bases: object

Printing logs

write(output)

Write logs

flush()

Flush logs

class errLog[source]

Bases: object

Error logs

write(output)

Write error logs

flush()

Flush error logs

cpair(a)[source]

Color pairs

ascii(s)[source]

ASCII values

drawmenu(stdscr)[source]

Creating menu’s

set_background_title(d, title)[source]

Setting background title

scrollbox(d, text, height=None, width=None)[source]

Setting scroll box

resetlookups()[source]

Reset the Inventory Lookups

drawtab(stdscr)[source]

Method for drawing different tabs

redraw(stdscr)[source]

Redraw menu

dialogreset(stdscr)[source]

Resetting dialogue

handlech(c, stdscr)[source]

Handle character given on the command-line interface

sendMessage(sender='', recv='', broadcast=None, subject='', body='', reply=False)[source]

Method for message sending

loadInbox()[source]

Load the list of messages

loadSent()[source]

Load the messages that sent

loadAddrBook()[source]

Load address book

loadSubscriptions()[source]

Load subscription functionality

loadBlackWhiteList()[source]

load black/white list

runwrapper()[source]

Main method

run(stdscr)[source]

Main loop

doShutdown()[source]

Shutting the app down