mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-31 06:16:35 -04:00
Fix soft exit function not specifying a return value
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
LibmuttonVersion = "0.2.4" // untagged releases feature a letter suffix corresponding to the eventual release version, e.g "0.2.A" -> "0.2.0", "0.2.B" -> "0.2.1"
|
LibmuttonVersion = "0.2.F" // untagged releases feature a letter suffix corresponding to the eventual release version, e.g "0.2.A" -> "0.2.0", "0.2.B" -> "0.2.1"
|
||||||
|
|
||||||
FSSpace = "\u259d" // ▝ space/list separator
|
FSSpace = "\u259d" // ▝ space/list separator
|
||||||
FSPath = "\u259e" // ▞ path separator
|
FSPath = "\u259e" // ▞ path separator
|
||||||
|
|||||||
+1
-1
@@ -3,6 +3,6 @@
|
|||||||
package core
|
package core
|
||||||
|
|
||||||
// Exit (soft) is meant to be used in interactive implementations (GUIs/TUIs) to keep the program running after an operation.
|
// 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
|
return code
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user