Before we migrate pixa to become a bubbletea program, we need to introduce the concept of an interaction. pixa will be able to work in 1 of 2 ways:
1) linear-text mode: this is akin to a normal cli, ie any text just pops out as and when appropriate. This will be the default mode
2) text-ui: a bubbletea text ui: screen based, where bubbletea manages the ouput via its model/update/view paradigm
We introduce a new --tui option to activate bubbletea screen mode.
The only functionality addressed in this issue is to re-organise the entry code, to enable it to be used the 2 different ways previously described. This will include:
Before we migrate pixa to become a bubbletea program, we need to introduce the concept of an interaction. pixa will be able to work in 1 of 2 ways: 1) linear-text mode: this is akin to a normal cli, ie any text just pops out as and when appropriate. This will be the default mode 2) text-ui: a bubbletea text ui: screen based, where bubbletea manages the ouput via its model/update/view paradigm
We introduce a new --tui option to activate bubbletea screen mode.
The only functionality addressed in this issue is to re-organise the entry code, to enable it to be used the 2 different ways previously described. This will include: