hi, vadi. Mudlet still has no blinking text support. I made a very simple patch, it can display blinking text as italic and underline. Here is the patch:
*** a/TBuffer.cpp 2019-03-13 13:33:33.433053000 +0800
--- b/TBuffer.cpp 2019-05-01 19:50:18.746646276 +0800
***************
*** 2490,2498 ****
// sub-string separated part:
mUnderline = true;
break;
! // case 5:
! // TODO:
! // break; //slow-blinking
// case 6:
// TODO:
// break; //fast blinking
--- 2490,2499 ----
// sub-string separated part:
mUnderline = true;
break;
! case 5:
! mItalics = true;
! mUnderline = true;
! break; //slow-blinking
// case 6:
// TODO:
// break; //fast blinking
***************
*** 2517,2524 ****
case 24:
mUnderline = false;
break;
! // case 25:
! // break; // blink off
case 27:
mReverse = false;
break;
--- 2518,2527 ----
case 24:
mUnderline = false;
break;
! case 25:
! mItalics = false;
! mUnderline = false;
! break; // blink off
case 27:
mReverse = false;
break;
There is a new function getTextFormat() in 3.20. With this patch, I can do Pozhen task in pkuxkx now. Can you put this patch in 3.20? |