lib/cryptum/ui/order/execute_details.rb in cryptum-0.0.458 vs lib/cryptum/ui/order/execute_details.rb in cryptum-0.0.459
- old
+ new
@@ -112,11 +112,11 @@
details_ln1 = "- Slice Plan: #{invest}#{tick}#{size}#{tpm_out}#{targ_tick}#{profit}"
details_ln2 = "- Fees: $#{fill_fees} | Fill Size: *#{fill_size}"
details_ln3 = "- Executed Value: $#{executed_value} | Market Type: #{market_type} | Settled: #{settled}"
# UI
- col_just1 = (Curses.cols - Cryptum::UI.col_first) - 1
+ col_just1 = (Curses.cols - Cryptum::UI.col_first)
# ROW 1
out_line_no = 0
line_color = order_color
header_color = order_color
@@ -234,9 +234,17 @@
Cryptum::UI.colorize(
ui_win: order_execute_details_win,
color: order_color,
style: style,
string: details_ln3.ljust(col_just1, ' ')
+ )
+
+ # ROW 10
+ out_line_no += 1
+ Cryptum::UI.line(
+ ui_win: order_execute_details_win,
+ out_line_no: out_line_no,
+ color: line_color
)
# Clear to OK ROW
ok_row = 10
out_line_no += 1