Skip to content

Commit

Permalink
style: added type info to variable declaration
Browse files Browse the repository at this point in the history
FossilOrigin-Name: cea0fb7a62a0671ad54f26abfa6b575311a7eed68dc91b3c154cc3c823349a6e
  • Loading branch information
thindil committed Dec 13, 2023
1 parent d177041 commit 7549da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/themeinit.nim
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ proc editTheme*(db): ResultCode {.sideEffect, raises: [], tags: [
const colorsOptions: Table[char, string] = {'b': "black", 'r': "red",
'g': "green", 'y': "yellow", 'l': "blue", 'm': "magenta", 'c': "cyan",
'w': "white", 'd': "default color", 'q': "quit"}.toTable
var inputChar = selectOption(options = colorsOptions, default = 'd',
var inputChar: char = selectOption(options = colorsOptions, default = 'd',
prompt = "Color", db = db)
try:
case inputChar
Expand Down

0 comments on commit 7549da4

Please sign in to comment.