Skip to content

Commit

Permalink
fix: user signal integration
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Jan 10, 2023
1 parent 7af773c commit a298733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/utils/shell-integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class ShellIntegrationAddon implements ITerminalAddon {
this.tab.idle = true
if (this.currentCommand) {
const exitCode = args[0] ? Number(args[0]) : undefined
if (typeof exitCode === 'number') {
if (typeof exitCode === 'number' && exitCode < 128) {
this.currentCommand.exitCode = exitCode
if (!this.currentCommand.marker.isDisposed) {
const theme = useTheme()
Expand Down

0 comments on commit a298733

Please sign in to comment.