aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index 3e044908..be470e70 100644
--- a/csi.c
+++ b/csi.c
@@ -507,8 +507,10 @@ decset_decrst(struct terminal *term, unsigned param, bool enable)
case 737769:
if (enable)
term_ime_enable(term);
- else
+ else {
term_ime_disable(term);
+ term->ime_reenable_after_url_mode = false;
+ }
break;
default: