aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-05-27 17:05:01 +0800
committerMistivia <i@mistivia.com>2025-05-27 17:05:12 +0800
commitda3ab0a0092f9433c0b6a88666881355c240914b (patch)
tree6717ad7eecbe5b8726ad4db38cf31b24d29d087d /lib
parent59c9eb8aa1ab307be30d73073ad4431c65554c28 (diff)
use dot for filling spacesHEADmaster
Diffstat (limited to 'lib')
-rw-r--r--lib/Shupai.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Shupai.hs b/lib/Shupai.hs
index b92b950..cca8f30 100644
--- a/lib/Shupai.hs
+++ b/lib/Shupai.hs
@@ -54,7 +54,7 @@ fillSpace [x] = [x]
fillSpace ls = go ls $ length (head ls) where
go :: [String] -> Int -> [String]
go [] _ = []
- go [x] len = [x ++ replicate (len - length x) 'ㅤ']
+ go [x] len = [x ++ replicate (len - length x) '・']
go (x:xs) len = x : go xs len
@@ -76,7 +76,7 @@ fullWidthMap = Map.fromList
, ('+', '+')
, (',', ',')
, ('-', '-')
- , ('.', '.')
+ , ('.', '。')
, ('/', '/')
, ('0', '0')
, ('1', '1')
@@ -157,5 +157,5 @@ fullWidthMap = Map.fromList
, ('|', '|')
, ('}', '}')
, ('~', '~')
- , (' ', 'ㅤ')
+ , (' ', '・')
]