mirror of
https://github.com/charmbracelet/crush.git
synced 2025-08-02 05:20:46 +03:00
fix(tui): splash: trigger smaller logo on 55 columns
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>
This commit is contained in:
@@ -457,7 +457,7 @@ func (s *splashCmp) Cursor() *tea.Cursor {
|
||||
func (s *splashCmp) isSmallScreen() bool {
|
||||
// Consider a screen small if either the width is less than 40 or if the
|
||||
// height is less than 20
|
||||
return s.width < 40 || s.height < 20
|
||||
return s.width < 55 || s.height < 20
|
||||
}
|
||||
|
||||
func (s *splashCmp) infoSection() string {
|
||||
|
||||
Reference in New Issue
Block a user