diff options
author | Thomas Adam <thomas@xteddy.org> | 2013-01-17 01:38:21 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2013-01-17 01:38:21 +0000 |
commit | de194016ec345db2a2a3e0b0d69080e288623597 (patch) | |
tree | 8222c9caa50815342d4ed66f2291c8b986926609 /input.c | |
parent | 675c6b37734a622b4530d35505f897310fdb138c (diff) | |
parent | e33ba57c13139bc9ae6e92be169de6dc322e38eb (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -135,6 +135,7 @@ enum input_csi_type { INPUT_CSI_DECSTBM, INPUT_CSI_DL, INPUT_CSI_DSR, + INPUT_CSI_ECH, INPUT_CSI_ED, INPUT_CSI_EL, INPUT_CSI_HPA, @@ -167,6 +168,7 @@ const struct input_table_entry input_csi_table[] = { { 'L', "", INPUT_CSI_IL }, { 'M', "", INPUT_CSI_DL }, { 'P', "", INPUT_CSI_DCH }, + { 'X', "", INPUT_CSI_ECH }, { 'Z', "", INPUT_CSI_CBT }, { 'c', "", INPUT_CSI_DA }, { 'c', ">", INPUT_CSI_DA_TWO }, @@ -1143,6 +1145,9 @@ input_csi_dispatch(struct input_ctx *ictx) break; } break; + case INPUT_CSI_ECH: + screen_write_clearcharacter(sctx, input_get(ictx, 0, 1, 1)); + break; case INPUT_CSI_DCH: screen_write_deletecharacter(sctx, input_get(ictx, 0, 1, 1)); break; |