mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-29 13:26:38 -04:00
Fix soft exit function not specifying a return value
This commit is contained in:
+1
-1
@@ -3,6 +3,6 @@
|
||||
package core
|
||||
|
||||
// Exit (soft) is meant to be used in interactive implementations (GUIs/TUIs) to keep the program running after an operation.
|
||||
func Exit(code int) {
|
||||
func Exit(code int) int {
|
||||
return code
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user