• iknowitwheniseeit@lemmynsfw.com
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    For some reason I remember a lot of ANSI terminal escape codes. They were used all the time on DOS machines, and work in a similar way on Unix terminals.

    • tunetardis@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      I like the bell one. It’s useful to print a few of those at the end of what you expect will be a long program run to get your attention when it’s done.

      • iknowitwheniseeit@lemmynsfw.com
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        It’s a good idea, although some terminals will pause output when they play the sound. I always disable any sound from my terminal anyway, because computers should be seen and not heard. 😆

        • tunetardis@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          Oh interesting. I tried turning off sound and now ctl-g flashes the terminal instead. (Fwiw I’m using the built-in terminal on a Mac.)

    • Unbecredible@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      They don’t work on windows terminals?? I only use the color ones but I will be devastated if it turns out they only work in Linux.