From 0ed80637e77a5f6d483f64b095cc8f92b09ba0a7 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 18 Apr 2010 15:11:47 +0000 Subject: [PATCH] Sync OpenBSD patchset 683: Fix typo in escape state table leading to fatal() when \033} or \033~ was entered, from Chris Johnsen. --- input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input.c b/input.c index 4a5ba087..d16b615c 100644 --- a/input.c +++ b/input.c @@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.108 2010-03-15 12:51:23 nicm Exp $ */ +/* $Id: input.c,v 1.109 2010-04-18 15:11:47 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -385,7 +385,7 @@ const struct input_transition input_state_esc_enter_table[] = { { 0x5f, 0x5f, NULL, &input_state_apc_string }, { 0x60, 0x6a, input_esc_dispatch, &input_state_ground }, { 0x6b, 0x6b, NULL, &input_state_rename_string }, - { 0x6c, 0x7c, input_esc_dispatch, &input_state_ground }, + { 0x6c, 0x7e, input_esc_dispatch, &input_state_ground }, { 0x7f, 0xff, NULL, NULL }, { -1, -1, NULL, NULL }