~porcellis/t

43598864bca94aca6fcc16af4367ea5d039e6ed0 — Pedro Lucas Porcellis 5 months ago 52da9d4
Improve the length of description and add a border between notes
1 files changed, 2 insertions(+), 1 deletions(-)

M commands/list.go
M commands/list.go => commands/list.go +2 -1
@@ 36,10 36,11 @@ func List(config config.TConfig) error {
		f, err := os.Open(note.Path)
		check(err)

		b1 := make([]byte, 35)
		b1 := make([]byte, 240)
		n1, err := f.Read(b1)
		check(err)
		fmt.Printf("%s\n\n", string(b1[:n1]))
		fmt.Printf("------------------------------------\n\n")
	}

	return err