Relocate after rune insert

Fixes #1510
This commit is contained in:
Zachary Yedidia 2020-02-14 15:52:20 -05:00
parent 00006aa2b4
commit db32b84cd1
2 changed files with 2 additions and 1 deletions

View File

@ -458,6 +458,7 @@ func (h *BufPane) DoRuneInsert(r rune) {
if recording_macro { if recording_macro {
curmacro = append(curmacro, r) curmacro = append(curmacro, r)
} }
h.Relocate()
h.PluginCBRune("onRune", r) h.PluginCBRune("onRune", r)
} }
} }

View File

@ -21,7 +21,7 @@ parts:
build-attributes: [no-patchelf] build-attributes: [no-patchelf]
override-pull: | override-pull: |
snapcraftctl pull snapcraftctl pull
version="$(go run $SNAPCRAFT_PROJECT_DIR/tools/build-version.go)" version="$(go run $SNAPCRAFT_PART_SRC/tools/build-version.go)"
[ -n "$(echo $version | grep "dev")" ] && grade=devel || grade=stable [ -n "$(echo $version | grep "dev")" ] && grade=devel || grade=stable
snapcraftctl set-version "$version" snapcraftctl set-version "$version"
snapcraftctl set-grade "$grade" snapcraftctl set-grade "$grade"