• Mazoku@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    16 days ago

    Noob here. Whats the difference between CLI and TUI? I thought navigating via a terminal in applications such as Ranger was CLI 🤔

    • Andy@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      16 days ago

      CLI flow: run command, print output below

      TUI flow: navigate and interact with a layout that updates in place

    • ziggurat@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      16 days ago

      Keep in mind these terms are not set in stone, the reason you are confused is because people don’t use these terms consistently, not because you are wrong.

      But

      CLI command line interface, is often used as an umbrella term, including for TUI applications. The name comes from that you are typing commands.

      TUI terminal user interface, is often used to describe CLI applications that draws menus in the terminal emulator, like ranger file manager.