Skip to content

Commit

Permalink
Merge pull request #17 from rly0nheart/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rly0nheart authored Aug 23, 2023
2 parents 3199299 + caf19fd commit 8dad392
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion glyphoji/data/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"program": {
"name": "Glyphoji",
"about": "Modern hieroglyphs in the terminal.",
"version": "0.2.10",
"version": "0.2.11",
"author": {
"name": "Richard Mwewa",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion glyphoji/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def search(self, query: str) -> str:
result = {}
suggestions = []
for glyph, data in self.__glyph_dictionary.items():
if query in data["aliases"] or query in data["description"]:
if query.lower() in data["aliases"] or query.lower() in data["description"].lower():
result[glyph] = data

if not result:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "glyphoji"
version = "0.2.10"
version = "0.2.11"
description = "Modern hieroglyphs in the terminal."
authors = ["Richard Mwewa <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 8dad392

Please sign in to comment.