mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #1188] [MERGED] Improve interrupt handling in pkl repl
#933
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1188
Author: @HT154
Created: 8/26/2025
Status: ✅ Merged
Merged: 8/29/2025
Merged by: @HT154
Base:
main← Head:repl-ctrl-c📝 Commits (1)
9771e4bImprove interrupt handling inpkl repl📊 Changes
1 file changed (+14 additions, -1 deletions)
View changed files
📝
pkl-cli/src/main/kotlin/org/pkl/cli/repl/Repl.kt(+14 -1)📄 Description
The REPL now handles interrupts (Ctrl-C) in a more user-friendly way. Instead of exiting immediately, it behaves like other REPLs:
Pressing Ctrl-D immediately exits the REPL, as before.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.