@@ -1271,27 +1271,63 @@ The :mod:`curses` module defines the following data members:
1271
1271
A string representing the current version of the module. Also available as
1272
1272
:const: `__version__ `.
1273
1273
1274
- Several constants are available to specify character cell attributes:
1274
+ Some constants are available to specify character cell attributes.
1275
+ The exact constants available are system dependent.
1275
1276
1276
1277
+------------------+-------------------------------+
1277
1278
| Attribute | Meaning |
1278
1279
+==================+===============================+
1279
- | ``A_ALTCHARSET `` | Alternate character set mode. |
1280
+ | ``A_ALTCHARSET `` | Alternate character set mode |
1280
1281
+------------------+-------------------------------+
1281
- | ``A_BLINK `` | Blink mode. |
1282
+ | ``A_BLINK `` | Blink mode |
1282
1283
+------------------+-------------------------------+
1283
- | ``A_BOLD `` | Bold mode. |
1284
+ | ``A_BOLD `` | Bold mode |
1284
1285
+------------------+-------------------------------+
1285
- | ``A_DIM `` | Dim mode. |
1286
+ | ``A_DIM `` | Dim mode |
1286
1287
+------------------+-------------------------------+
1287
- | ``A_NORMAL `` | Normal attribute. |
1288
+ | ``A_INVIS `` | Invisible or blank mode |
1289
+ +------------------+-------------------------------+
1290
+ | ``A_NORMAL `` | Normal attribute |
1291
+ +------------------+-------------------------------+
1292
+ | ``A_PROTECT `` | Protected mode |
1288
1293
+------------------+-------------------------------+
1289
1294
| ``A_REVERSE `` | Reverse background and |
1290
- | | foreground colors. |
1295
+ | | foreground colors |
1296
+ +------------------+-------------------------------+
1297
+ | ``A_STANDOUT `` | Standout mode |
1298
+ +------------------+-------------------------------+
1299
+ | ``A_UNDERLINE `` | Underline mode |
1300
+ +------------------+-------------------------------+
1301
+ | ``A_HORIZONTAL `` | Horizontal highlight |
1302
+ +------------------+-------------------------------+
1303
+ | ``A_LEFT `` | Left highlight |
1304
+ +------------------+-------------------------------+
1305
+ | ``A_LOW `` | Low highlight |
1306
+ +------------------+-------------------------------+
1307
+ | ``A_RIGHT `` | Right highlight |
1308
+ +------------------+-------------------------------+
1309
+ | ``A_TOP `` | Top highlight |
1310
+ +------------------+-------------------------------+
1311
+ | ``A_VERTICAL `` | Vertical highlight |
1312
+ +------------------+-------------------------------+
<
8000
td data-grid-cell-id="diff-cb5622768373b8c93cc8eee30dfb041108783bb419d9eaf205501989cea0049f-1290-1313-0" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-additionNum-bgColor, var(--diffBlob-addition-bgColor-num));text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative left-side">
1313
+ | ``A_CHARTEXT `` | Bit-mask to extract a |
1314
+ | | character |
1315
+ +------------------+-------------------------------+
1316
+
1317
+ Several constants are available to extract corresponding attributes returned
1318
+ by some methods.
1319
+
1320
+ +------------------+-------------------------------+
1321
+ | Bit-mask | Meaning |
1322
+ +==================+===============================+
1323
+ | ``A_ATTRIBUTES `` | Bit-mask to extract |
1324
+ | | attributes |
1291
1325
+------------------+-------------------------------+
1292
- | ``A_STANDOUT `` | Standout mode. |
1326
+ | ``A_CHARTEXT `` | Bit-mask to extract a |
1327
+ | | character |
1293
1328
+------------------+-------------------------------+
1294
- | ``A_UNDERLINE `` | Underline mode. |
1329
+ | ``A_COLOR `` | Bit-mask to extract |
1330
+ | | color-pair field information |
1295
1331
+------------------+-------------------------------+
1296
1332
1297
1333
Keys are referred to by integer constants with names starting with ``KEY_ ``.
0 commit comments