Skip to content

Commit

Permalink
fix v crash when entering ":w!"
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotlinski committed Dec 25, 2024
1 parent 9dc1eb2 commit 81fd370
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- S" now works in interpretation mode. It returns a transient buffer.
- STRING, stores a counted string.
### Fixed
- V: crash when entering ":w!"

## [5.0.0] - 2024-11-19
### Added
Expand Down
3 changes: 2 additions & 1 deletion forth/v.fs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,8 @@ case \ keys that can quit
'!' of
need-refresh!
'!' emit here $f accept
?dup 0= if exit then
dup 0= if clear-status exit
then
filename c! here
filename count move
write-file
Expand Down

0 comments on commit 81fd370

Please sign in to comment.