feat/fix: properly layout the messages viewport and the inputbox

This commit is contained in:
2021-12-25 21:45:58 +02:00
parent f56048fbf7
commit b32af9d55f
7 changed files with 53 additions and 58 deletions
-1
View File
@@ -30,7 +30,6 @@ var (
MessagesStyle = lipgloss.NewStyle().
Border(lipgloss.NormalBorder(), true).
Width(ui.MainStyle.GetWidth()).
Height(ui.MainStyle.GetHeight() - InputBoxHeight).
BorderForeground(lipgloss.Color("105"))
InputBoxHeight = 1