diff options
author | Kenny Root <kenny@the-b.org> | 2008-11-10 08:12:12 +0000 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2008-11-10 08:12:12 +0000 |
commit | 8ba69bcb69befd8ea5d02541b32ddf54425cfd7b (patch) | |
tree | d499f7255ec49f0d66f29ddefd9167b2392f04d8 /src/de/mud/terminal/vt320.java | |
parent | f59247218159edd56140c947f94a3833a34a58d4 (diff) | |
download | connectbot-8ba69bcb69befd8ea5d02541b32ddf54425cfd7b.tar.gz connectbot-8ba69bcb69befd8ea5d02541b32ddf54425cfd7b.tar.bz2 connectbot-8ba69bcb69befd8ea5d02541b32ddf54425cfd7b.zip |
* Support PINE's style of highlighting menu items with SGR italics
Diffstat (limited to 'src/de/mud/terminal/vt320.java')
-rw-r--r-- | src/de/mud/terminal/vt320.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/de/mud/terminal/vt320.java b/src/de/mud/terminal/vt320.java index e06915b..ef9665b 100644 --- a/src/de/mud/terminal/vt320.java +++ b/src/de/mud/terminal/vt320.java @@ -2614,6 +2614,9 @@ public abstract class vt320 extends VDUBuffer implements VDUInput { attributes |= LOW; } break; + case 3: /* italics */ + attributes |= INVERT; + break; case 4: attributes |= UNDERLINE; break; @@ -2641,6 +2644,9 @@ public abstract class vt320 extends VDUBuffer implements VDUInput { case 21: /* normal intensity */ attributes &= ~(LOW | BOLD); break; + case 23: /* italics off */ + attributes &= ~INVERT; + break; case 25: /* blinking off */ break; case 27: |