Skip to content

Commit 30aafaf

Browse files
committed
Fix various typos
Thanks to @fluesvamp for bringing these to my attention.
1 parent f04f689 commit 30aafaf

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Changelog

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Changed in version 0.7.2.1:
8989
* Fix build on Windows.
9090

9191
Changed in version 0.7.2.0:
92-
* Bump upper-bound on base and filepath libraries to accomodate GHC HEAD (7.10)
92+
* Bump upper-bound on base and filepath libraries to accommodate GHC HEAD (7.10)
9393
* Drop Cabal dependency to 1.10
9494
* Use explicit forall syntax to avoid warning
9595
* Support Applicative/Monad proposal in Win32/Draw backend

System/Console/Haskeline/Backend/Posix.hsc

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ ansiKeys = [("\ESC[D", simpleKey LeftKey)
141141
-- Terminal.app:
142142
,("\ESC[5D", ctrlKey $ simpleKey LeftKey)
143143
,("\ESC[5C", ctrlKey $ simpleKey RightKey)
144-
-- rxvt: (Note: these will be superceded by e.g. xterm-color,
144+
-- rxvt: (Note: these will be superseded by e.g. xterm-color,
145145
-- which uses them as regular arrow keys.)
146146
,("\ESC[OD", ctrlKey $ simpleKey LeftKey)
147147
,("\ESC[OC", ctrlKey $ simpleKey RightKey)

System/Console/Haskeline/Backend/Win32.hsc

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ data InputEvent = KeyEvent {keyDown :: BOOL,
144144
unicodeChar :: Char,
145145
controlKeyState :: DWORD}
146146
-- TODO: WINDOW_BUFFER_SIZE_RECORD
147-
-- I cant figure out how the user generates them.
147+
-- I can't figure out how the user generates them.
148148
| WindowEvent
149149
| OtherEvent
150150
deriving Show

System/Console/Haskeline/Vi.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ insertChars = useChar $ loop []
8181
>|> return . Left
8282

8383
-- If we receive a ^D and the line is empty, return Nothing
84-
-- otherwise, act like '\n' (mimicing how Readline behaves)
84+
-- otherwise, act like '\n' (mimicking how Readline behaves)
8585
eofIfEmpty :: (Monad m, Save s, Result s) => Command m s (Maybe String)
8686
eofIfEmpty s
8787
| save s == emptyIM = return Nothing

0 commit comments

Comments
 (0)