These are chat archives for nelsam/vidar

26th
Feb 2017
Samuel Nelson
@nelsam
Feb 26 2017 21:37
@Kvaz1r : the pattern I've been using is to request the first entry, and upon hitting enter, request the second entry
in the case of a replace command, it would be:
  1. Request the pattern to find
  2. Request the text to replace
an example of that is the add-project command
it requests the project's path, then the project's name, then the project's GOPATH
the nice thing about that pattern is that it makes drawing the UI simpler - we don't have to try to figure out how wide textboxes should be