add the select_pool node that shows the current default pool

This commit is contained in:
Alfred Kamanda 2025-06-07 04:35:37 +03:00
parent 626538f38e
commit 3e08d19975
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Enter number or symbol to set the default pool:
Current: {{.get_default_pool}}
{{.get_pools}}

View File

@ -0,0 +1,19 @@
CATCH no_voucher flag_no_active_voucher 1
LOAD get_pools 0
MAP get_pools
LOAD get_default_pool 20
RELOAD get_default_pool
MAP get_default_pool
MOUT back 0
MOUT quit 99
MNEXT next 88
MPREV prev 98
HALT
INCMP > 88
INCMP < 98
INCMP _ 0
INCMP quit 99
LOAD view_pool 80
RELOAD view_pool
CATCH . flag_incorrect_pool 1
INCMP view_pool *

View File

@ -0,0 +1,3 @@
Chagua nambari au ishara kuweka bwawa la sarafu:
La sasa: {{.get_default_pool}}
{{.get_pools}}