lua: fix sigint behavior in multiline input mode
This patch fixes the ctrl+c behavior in multiline mode. The old behavior was ignoring sigint in this mode. The new behavior is quitting this mode and printing the new default prompt. Added a new test for covering the mentioned case. Follows up #2717 Closes #7109 NO_DOC=BUGFIX
Showing
- changelogs/unreleased/gh-7109-fix-ctrl-c-in-multiline-input-mode.md 3 additions, 0 deletions.../unreleased/gh-7109-fix-ctrl-c-in-multiline-input-mode.md
- src/box/lua/console.c 9 additions, 2 deletionssrc/box/lua/console.c
- src/box/lua/console.lua 4 additions, 1 deletionsrc/box/lua/console.lua
- test/app-tap/gh-2717-no-quit-sigint.test.lua 65 additions, 1 deletiontest/app-tap/gh-2717-no-quit-sigint.test.lua
Loading
Please register or sign in to comment