From 1df874fb6a749a9518c646f62f8f8946dfd85a87 Mon Sep 17 00:00:00 2001 From: aditya-K2 Date: Thu, 28 Oct 2021 14:42:13 +0530 Subject: [PATCH] UPDATE README --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f87f6f6..350aaf7 100644 --- a/README.md +++ b/README.md @@ -40,4 +40,12 @@ cd goMP && go build ``` -## Most of the Key-bindings are same as ncmpcpp +## Image Placement + +The image is rendered by calculating pixels by multiplying the rows and columns with the font-width which is calculated by dividing the terminal width and height ( Please let me know if there is a better way to do this ) this let's to uneven placement so it is better that you disable the borders for the imagePreview holder. + +in [App.go](https://github.com/aditya-K2/goMP/blob/master/App.go) + +```go + imagePreviewer.SetBorder(false) +```