Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
for #312, merge/delete fixed/ into bugs/
- Loading branch information
Cecil
committed
Feb 14, 2017
1 parent
621fe51
commit d187781
Showing
13 changed files
with
1 addition
and
80 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1 @@ | ||
Shoes.app do | ||
stack do | ||
para "Terminal test" | ||
button "do it" do | ||
columns = 80 | ||
Shoes.terminal columns: columns, rows: 24, fontsize: 12, title: "Bug236", | ||
fg: "black", bg: "white" | ||
$stderr.puts "STDERR OK" | ||
$stdout.puts "STDOUT OK" | ||
puts "Way to go!" | ||
puts "\033[32mGood in green?\033[00m or is \033\[35mthis better\033\[00m" | ||
puts "\033[31m\033[40mRed on Black\033[0m OK? \033[01mBold?\033[0m" | ||
puts "And \033[04;33;46mUnderline joy?\033\[0m" | ||
ruler1 = '' | ||
ruler2 = '' | ||
(1..columns).each do |i| | ||
tens = i/10 | ||
ones = i%10 | ||
ruler1 << (tens == 0 ? ' ' : tens.to_s) | ||
ruler2 << ones.to_s | ||
end | ||
puts ruler1 | ||
puts ruler2 | ||
end | ||
end | ||
end | ||
# class-book and other scripts that use url/visit now works. |
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.