test/example_app/lib/app.rb in vedeu-0.0.34 vs test/example_app/lib/app.rb in vedeu-0.0.35
- old
+ new
@@ -12,21 +12,15 @@
"interfaces": {
"name": "example",
"lines": {
"streams": [
{
- "text": "Some text..."
- },
- {
- "text": " "
- },
- {
"colour": {
"foreground": "#00ff00",
"background": "#0000ff"
},
- "text": "The time is: #{Time.now}."
+ "text": "The time is: #{Time.now}. "
}
]
}
}
}|
@@ -35,10 +29,14 @@
class App
include Vedeu
def self.example_position
- @_position = Vedeu::Coordinate.new({ width: 40, height: 5, centered: true }).position
+ @_position = Vedeu::Coordinate.new({
+ width: 40,
+ height: 2,
+ centered: true
+ }).position
end
def self.command_position
{
y: example_position[:bottom],