← All posts

ASCII art in GUI design: when buttons were made of characters

ASCII art in GUI design: when buttons were made of characters

The first button I ever clicked with a mouse wasn't a picture of a button. It was a rectangle drawn from ─ and │, with the word [ OK ] floating in the middle, and when you clicked it the rectangle flipped into a darker version of itself so you knew something had happened. I was maybe thirteen, sitting at a borrowed PC running something called Turbo Vision, and I remember thinking: that's a button. Made of characters. Nobody had told me yet that ascii buttons were supposed to be primitive. To me they looked like the future, and in a way they were.

The fake GUI that felt more real than real ones

Here's the thing about the early days that people who grew up on glossy buttons never quite get. Before Windows had a lock on the desktop, there was a whole generation of software that faked a graphical interface with pure text. Turbo Pascal programs, Norton Commander, Lotus 1-2-3, the Borland IDEs — they all drew their windows, their menus, and their ascii buttons out of box-drawing characters, and they did it on screens that were eighty columns wide and twenty-five rows tall.

A friend of mine had a copy of Norton Commander with a custom color scheme he'd tuned for hours, and I still remember the way the two file panels sat there, drawn in ┌─┐ and └─┘ corners, with a highlighted bar that moved when you pressed Tab. Those weren't just decorations. That highlight bar was a control. The F-key menu at the bottom — F1 Help, F2 Menu, F3 View, on and on — those were ascii buttons in the most literal sense: press F1, the rectangle under it brightened, and a help screen popped up. It worked. It worked so well that people used it for a decade.

And it wasn't just the big commercial tools. Dial a BBS and you'd often land on a full-screen ANSI welcome — a boxed title, a menu of numbered options, a prompt at the bottom blinking >. Every one of those numbers was a button. You'd press 1 to read the message base, 2 to play a door game, 9 to log off, and the box around your choice was doing the same job a pixel button does today: telling you where you are, what you can do, and what happens if you press Enter. We called it a menu back then. We were really calling it a toolbar made of characters, and nobody noticed, because it just worked.

The web had a version of this too, and it outlived everything. Lynx, the text browser, rendered HTML forms as actual ascii buttons — a submit button became a highlighted [ Submit ] rectangle right there in the terminal. You could navigate the entire early web with it, buying nothing, reading everything, and the buttons were still buttons. They looked like the ones from my Turbo Vision days because they were the same idea: a bordered rectangle, a label, a press state. Lynx users clicked those buttons every day for years without thinking about it, and that's exactly when a design is good — when you stop noticing the medium entirely.

Why character buttons worked at all

Looking back, I think the reason those text design elements worked is that they didn't try to imitate the physical world. Nobody was fooled into thinking the rectangle was a plastic key. It was obviously a bunch of characters, and precisely because it was honest about that, your brain filled in the gap. A button made of characters still reads as a button: the raised border, the centered label, the way it inverts when pressed. The metaphor survives on almost nothing — a couple of lines of ─ and │ and a word — and that's a kind of economy of design that pixel buttons never achieved.

The other part was constraint. With eighty columns, you couldn't hide behind gradients or drop shadows. Every element had to earn its place. If you wanted a button that stood out, you had to think about which characters made the corners look sharp, whether ┌ reads better than +, how many spaces of padding made the label feel centered, whether the highlight should be the whole rectangle or just the border. Those are real design decisions. They're just made of characters instead of pixels. When people dismiss ascii gui elements as primitive, they're skipping the part where someone had to decide all of that by hand, with no preview, no undo, and no CSS.

From DOS menus to the roguelike inventory screen

The funny thing is that the character button never actually died. It just moved. The first time I saw a Dwarf Fortress screen, I laughed out loud — not because it was ugly, but because the whole interface was a museum of everything I'd grown up with. The embark menu, the workshop menus, the trade screen: all of it built from the same box-drawing borders and highlighted selection bars my friend's Norton Commander had shown me years earlier. As far as I remember, the game even used the same trick for the "yes/no" prompt that appears when you really, really shouldn't dig into a cavern: a bordered box with a highlighted Yes or No in the middle. Text button design, alive and well, powering one of the deepest simulations ever made.

Roguelikes did the same thing. Inventory screens with [a] through [z] keybindings listed next to items — in a real sense those letters were ascii buttons too, each one bound to an action. MUDs did it with menus. Even the old WWIV and BBS door games I dialed into as a kid built whole front ends out of ANSI boxes, with menus where the cursor sat on a highlighted line that you activated with Enter. Every one of those was a button made of characters, and every one of them taught me the same lesson: an interface doesn't need to look graphical to be usable. It needs to be legible, consistent, and honest.

There's a deeper reason this never died, and it's not nostalgia. Characters are the one rendering primitive that works everywhere, forever. A pixel button needs a display, a window system, a renderer, a theme. A character button needs a terminal — and terminals are everywhere: on a server over SSH, on a crashed machine booted to a rescue shell, on a Raspberry Pi with no desktop, on a CI log you're reading in a browser. In those places, ascii gui elements aren't a retro choice, they're the only choice. The button drawn in ─ and │ is the last button standing when every other kind of interface has fallen over, and there's a strange comfort in that. The most fragile-looking UI in history turns out to be the most durable.

The terminal never stopped needing them

And here we are, thirty years later, and the terminal never let go. Every CLI tool with an interactive prompt — the ones that show you a menu of options and highlight your selection — is doing the same thing. fzf draws a fuzzy-finder box. htop draws a process list with a highlighted bar. git's interactive rebase editor opens in vim, where the pick lines sit in a box you navigate with keys. Nobody calls these ascii buttons out loud, but that's what they are, and they're still the most reliable way to make a terminal interface feel structured.

I also think the aesthetic came back around in the web. Retro-styled sites, developer portfolios, those landing pages that lean hard into the CRT look — they borrow the same text design elements on purpose. A button rendered in a monospace font with a character border and a hover state that inverts the text isn't a technical limitation anymore; it's a deliberate choice, a way of saying "this site knows its history." If you're curious what that looks like done properly, the text pixel art guide over on ascii.im walks through building character-based elements from scratch, and the ascii.im studio lets you sketch your own borders and blocks before you paste them anywhere.

The craft of a well-made character button

Let me get specific, because the craft is the part nobody writes about. A good character button lives or dies on details. The top border needs to sit flush with the side borders — one character off and the whole thing wobbles. The corners have to agree: all ┌┐└┘ or all +, never a mix, or your eye catches it instantly. The label needs padding that looks centered even though optical centering is a lie — you nudge it one space to the right because the left edge of the text "feels" heavier. And the press state has to be unmistakable: the classic move is to swap the raised corners for flat ones, + on all four corners, and reverse the video on the label, so the button visibly sinks into the screen. That one trick — border drops, text inverts — is the whole illusion, and it's a trick you can only do with characters.

There's also the color layer, which people forget. ANSI escape codes meant a character button could glow. The border in cyan, the label in bold white, the highlight bar in blue-on-white — suddenly a text interface had hierarchy and mood. I knew guys who tuned their BBS door menus the way people tune cars. And honestly? Some of those menus were better designed than half the software I use now, because every element had to justify itself against a wall of text. Text design elements under constraint produce decisions; unlimited visual budget produces noise.

One more piece of the craft, and it's the one I think modern designers would most enjoy: the character button taught you state, not just shape. Disabled, it dimmed. Hovered, it brightened. Pressed, it inverted. Focused, it got an arrow or a bracket on the side. That's a full interaction vocabulary, and it was invented by people working in a medium where they had maybe a dozen characters and two color attributes to express all of it. When I see a modern button with a smooth animation and a micro-interaction, I think — nice. But I also know the ancestor of every one of those states was a highlighted [ OK ] box in a DOS program, and the states haven't changed since. We added motion. They had the grammar.

The button you can see through

I think about this whenever someone tells me old software was ugly. It wasn't. It was minimal in a way that had to be earned. The ascii buttons of the DOS era were made of characters because that's all anyone had, and what people did with that limitation was genuinely clever: a universal visual language — raised border, centered label, inverted press state — that every program agreed on, so once you learned it, you could drive almost anything. That's not primitive. That's a design system.

These days I have a folder of tiny terminal utilities I wrote just to get that feeling back. A menu that draws itself in ─ and │, a prompt that inverts when you press Enter, a little box that says [ done ] in green when a job finishes. It's nostalgia, sure. But it's also proof: a button made of characters still works, still reads instantly, still feels like a button. The medium changed; the grammar didn't.

So here's my question, and I genuinely want to know: what's the last character button you clicked? Maybe it was a roguelike menu, maybe a retro web page, maybe an old game you fired up for the sake of it. Mine was yesterday — a little [ y/n ] prompt in a script I wrote, and I clicked it the way I clicked that first [ OK ] box thirty years ago, and it still felt right. If you want to make a few of your own, the pricing page is where the studio work happens; bring a border you like and see what it turns into.

ASCII art in GUI design: when buttons were made of characters — ascii.im Blog