mirror of
https://github.com/mrfluffy-dev/oreo-cursor.git
synced 2026-01-16 21:40:32 +00:00
Merge pull request #21 from DeedleFake/enotty-fix
add a default width for when not in a TTY
This commit is contained in:
@@ -129,7 +129,7 @@ else
|
||||
end
|
||||
|
||||
require 'io/console'
|
||||
tw = STDOUT.winsize[1]
|
||||
tw = STDOUT.isatty ? STDOUT.winsize[1] : 80
|
||||
|
||||
# Art generated from https://fsymbols.com/generators/carty/
|
||||
# Used utf-8, editors messes up with the font and makes development harder.
|
||||
|
||||
Reference in New Issue
Block a user