diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-16 20:59:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-16 20:59:06 +0000 |
| commit | 749ae49c48eebe2ac62ee6dac9dea5fc570d10fd (patch) | |
| tree | 8722d9825f55706c8bd523fc23e1435e6fd82eae /csi.c | |
| parent | config: open_config(): remove unused argument ‘conf’ (diff) | |
| parent | csi: update ASCII printer function pointer when switching to/from alt screen (diff) | |
Merge branch 'optimized-print-function'
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -546,6 +546,7 @@ decset_decrst(struct terminal *term, unsigned param, bool enable) tll_free(term->alt.scroll_damage); term_damage_all(term); } + term_update_ascii_printer(term); break; case 1070: @@ -1136,6 +1137,7 @@ csi_dispatch(struct terminal *term, uint8_t final) case 4: /* Insert Mode - IRM */ term->insert_mode = true; + term_update_ascii_printer(term); break; case 12: /* Send/receive Mode - SRM */ @@ -1156,6 +1158,7 @@ csi_dispatch(struct terminal *term, uint8_t final) switch (vt_param_get(term, 0, 0)) { case 4: /* Insert Mode - IRM */ term->insert_mode = false; + term_update_ascii_printer(term); break; case 2: /* Keyboard Action Mode - AM */ |
