go-ethereum/internal/jsre
Martin Holst Swende 72c2c0ae7e
cmd/geth, console: support interrupting the js console (#23387)
Previously, Ctrl-C (SIGINT) was ignored during JS execution, so it was not
possible to get out of infinite loops in the console. With this change,
Ctrl-C now interrupts JS.

Fixes #23344

Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-12-11 16:51:05 +01:00
..
deps eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
completion.go internal/jsre: handle null and undefined to prevent crash (#23701) 2021-10-10 14:58:47 +02:00
completion_test.go go.mod: upgrade goja (#23721) 2021-10-13 14:42:00 +02:00
jsre.go cmd/geth, console: support interrupting the js console (#23387) 2021-12-11 16:51:05 +01:00
jsre_test.go console, internal/jsre: use github.com/dop251/goja (#20470) 2020-01-27 11:50:48 +01:00
pretty.go console, internal/jsre: use github.com/dop251/goja (#20470) 2020-01-27 11:50:48 +01:00