Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/threecode/fatprompt/runtime.nim
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
## turn is running. The turn controller calls these helpers directly and also
## registers them as API stream hooks. `api.nim` must not import this module.

import std/[atomics, json, locks, os, strformat, strutils, terminal, times, unicode]
import std/[atomics, json, locks, os, strformat, strutils, terminal, times]
import std/unicode except strip
when defined(posix):
import std/posix except SocketHandle
import posix/termios
Expand Down
3 changes: 2 additions & 1 deletion src/threecode/util.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import std/[net, os, sequtils, strformat, strutils, unicode, times]
import std/[net, os, sequtils, strformat, strutils, times]
import std/unicode except strip
import types
import threecode/unicodewidth

Expand Down
3 changes: 2 additions & 1 deletion src/threecode/web.nim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
## No external binaries, no scripting runtimes, pure Nim httpclient + a
## hand-rolled HTML-to-text pass.

import std/[httpclient, strutils, uri, unicode, tables]
import std/[httpclient, strutils, uri, tables]
import std/unicode except strip
import util

const UserAgent = "Mozilla/5.0 (X11; Linux x86_64) 3code/web"
Expand Down
4 changes: 2 additions & 2 deletions threecode.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ srcDir = "src"
namedBin["threecode"] = "3code"

requires "nim >= 2.0.0"
requires "streamhttp >= 0.2.0"
requires "ttty >= 0.2.0"
requires "https://github.com/capocasa/streamhttp >= 0.2.0"
requires "https://github.com/capocasa/ttty >= 0.2.0"
requires "unicodedb >= 0.13.0"
requires "https://github.com/capocasa/tinotify >= 0.1.0"

Expand Down