Code Refactoring

This commit is contained in:
Indrajith K L
2021-08-14 01:57:58 +05:30
parent 2057936df0
commit ea5021bcb6

View File

@@ -231,7 +231,6 @@ fn setup_states() {
println(term.header('Available State', '=')) println(term.header('Available State', '='))
start_x := width/2 - 10 start_x := width/2 - 10
mut start_y := 5 mut start_y := 5
mut selected_state := 0
term.set_cursor_position(x: start_x, y: start_y) term.set_cursor_position(x: start_x, y: start_y)
states := get_states() or { states := get_states() or {