Wrap text slices to simplify use of commands

- use __promptline_wrapper for text slices to allow easier use of simple
  custom commands in the prompt. Refs #4