mirror of
https://github.com/mrfluffy-dev/oreo-cursor.git
synced 2026-01-17 05:40:34 +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
|
end
|
||||||
|
|
||||||
require 'io/console'
|
require 'io/console'
|
||||||
tw = STDOUT.winsize[1]
|
tw = STDOUT.isatty ? STDOUT.winsize[1] : 80
|
||||||
|
|
||||||
# Art generated from https://fsymbols.com/generators/carty/
|
# Art generated from https://fsymbols.com/generators/carty/
|
||||||
# Used utf-8, editors messes up with the font and makes development harder.
|
# Used utf-8, editors messes up with the font and makes development harder.
|
||||||
|
|||||||
Reference in New Issue
Block a user