about summary refs log tree commit diff stats
path: root/src/io/lineedit.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/lineedit.nim')
-rw-r--r--src/io/lineedit.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/lineedit.nim b/src/io/lineedit.nim
index 7b822d1c..83f98ccb 100644
--- a/src/io/lineedit.nim
+++ b/src/io/lineedit.nim
@@ -43,7 +43,7 @@ func newLineHistory*(): LineHistory =
 
 const colorFormat = (func(): Format =
   result = newFormat()
-  result.fgcolor = ColorsANSIFg[4] # blue
+  result.fgcolor = cellColor(ANSI_BLUE)
 )()
 const defaultFormat = newFormat()
 proc printesc(edit: LineEdit, rs: seq[Rune]) =