Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Bitmessage/PyBitmessage
/ cpair
Function
cpair
src/bitmessagecurses/__init__.py:77–81 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
75
76
77
def
cpair(a):
78
r = curses.color_pair(a)
79
if
r not in range(1, curses.COLOR_PAIRS-1):
80
r = curses.color_pair(0)
81
return
r
82
def
ascii(s):
83
r =
""
84
for
c in s:
Callers
1
drawtab
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected