diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-01 18:10:59 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-01 18:10:59 +0200 |
commit | 62086a4b656a74dd51e1d29d3e30d3d0a56e93d0 (patch) | |
tree | 8c6d7194d266071e56bc0b208b268269dbfb3b7d /src/u_prints.go | |
parent | ok (diff) | |
download | go2work-62086a4b656a74dd51e1d29d3e30d3d0a56e93d0.tar.gz go2work-62086a4b656a74dd51e1d29d3e30d3d0a56e93d0.tar.bz2 go2work-62086a4b656a74dd51e1d29d3e30d3d0a56e93d0.tar.xz go2work-62086a4b656a74dd51e1d29d3e30d3d0a56e93d0.tar.zst go2work-62086a4b656a74dd51e1d29d3e30d3d0a56e93d0.zip |
double 'p' fixed
Diffstat (limited to '')
-rw-r--r-- | src/u_prints.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/u_prints.go b/src/u_prints.go index 9174fc0..c4faf4f 100644 --- a/src/u_prints.go +++ b/src/u_prints.go @@ -65,8 +65,8 @@ func print_time_left(curr_t [3]byte, dest_t [3]byte) { left_secs = (dest_secs + (24 * 3600)) - curr_secs } left_t := seconds_to_time(left_secs) + fmt.Print("\r ") if left_secs < 60 { - fmt.Print("\r ") fmt.Print( "\r", left_t[SECS], "s", @@ -108,3 +108,7 @@ func print_real_help() { func print_version() { fmt.Println(PROGNAME, VERSION) } + +func print_fortune_not_found() { + fmt.Println("Beware, fortune is set on but was not found") +} |