Removed UNDERLINE, STRIKETHROUGH, and ALTERNATE text attributes.

This commit is contained in:
Yevgen Muntyan 2005-07-09 13:56:03 +00:00
parent 18076e863c
commit 97111bac49
2 changed files with 6 additions and 5 deletions

View File

@ -35,6 +35,8 @@ inline static void buf_vt_save_cursor (MooTermBuffer *buf)
{ {
buf->priv->saved_cursor_row = buf_cursor_row (buf); buf->priv->saved_cursor_row = buf_cursor_row (buf);
buf->priv->saved_cursor_col = buf_cursor_col (buf); buf->priv->saved_cursor_col = buf_cursor_col (buf);
/* TODO: This sequence causes the cursor position, graphic
rendition, and character set to be saved. (See DECRC). */
} }
inline static void buf_vt_restore_cursor (MooTermBuffer *buf) inline static void buf_vt_restore_cursor (MooTermBuffer *buf)
@ -42,6 +44,8 @@ inline static void buf_vt_restore_cursor (MooTermBuffer *buf)
moo_term_buffer_cursor_move_to (buf, moo_term_buffer_cursor_move_to (buf,
buf->priv->saved_cursor_row, buf->priv->saved_cursor_row,
buf->priv->saved_cursor_col); buf->priv->saved_cursor_col);
/* TODO: This sequence causes the previously saved cursor position,
graphic rendition, and character set to be restored. */
} }

View File

@ -38,11 +38,8 @@ typedef enum {
MOO_TERM_TEXT_REVERSE = 1 << 0, MOO_TERM_TEXT_REVERSE = 1 << 0,
MOO_TERM_TEXT_FOREGROUND = 1 << 1, MOO_TERM_TEXT_FOREGROUND = 1 << 1,
MOO_TERM_TEXT_BACKGROUND = 1 << 2, MOO_TERM_TEXT_BACKGROUND = 1 << 2,
MOO_TERM_TEXT_ITALIC = 1 << 3, MOO_TERM_TEXT_BOLD = 1 << 3,
MOO_TERM_TEXT_BOLD = 1 << 4, MOO_TERM_TEXT_UNDERLINE = 1 << 4
MOO_TERM_TEXT_UNDERLINE = 1 << 5,
MOO_TERM_TEXT_STRIKETHROUGH = 1 << 6,
MOO_TERM_TEXT_ALTERNATE = 1 << 7
} MooTermTextAttrMask; } MooTermTextAttrMask;
typedef enum { typedef enum {