1
0
forked from aniani/vim

patch 8.2.2675: directory change in a terminal window shell is not followed

Problem:    Directory change in a terminal window shell is not followed.
Solution:   Add the 'autoshelldir' option. (closes #6290)
This commit is contained in:
Bram Moolenaar
2021-03-29 20:49:05 +02:00
parent 9dbe701fe1
commit 8b9abfd86c
11 changed files with 145 additions and 2 deletions

View File

@@ -2005,7 +2005,8 @@ hex2nr(int c)
return c - '0';
}
#if defined(FEAT_TERMRESPONSE) || defined(FEAT_GUI_GTK) || defined(PROTO)
#if defined(FEAT_TERMRESPONSE) || defined(FEAT_GUI_GTK) \
|| defined(PROTO) || defined(FEAT_AUTOSHELLDIR)
/*
* Convert two hex characters to a byte.
* Return -1 if one of the characters is not hex.