mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 04:31:52 -07:00
Prompt: comment only (remove confusing remarks about commandToComplete)
This commit is contained in:
@@ -135,10 +135,8 @@ class XPrompt t where
|
|||||||
nextCompletion :: t -> String -> [String] -> String
|
nextCompletion :: t -> String -> [String] -> String
|
||||||
nextCompletion t c l = getNextOfLastWord t c l
|
nextCompletion t c l = getNextOfLastWord t c l
|
||||||
|
|
||||||
-- | If the prompt is using 'getNextOfLastWord' for implementing
|
-- | This method is used to generate the string to be passed to
|
||||||
-- 'nextCompletion' (the default implementation), this method is
|
-- the completion function.
|
||||||
-- used to generate the string to be passed to the completion
|
|
||||||
-- function.
|
|
||||||
commandToComplete :: t -> String -> String
|
commandToComplete :: t -> String -> String
|
||||||
commandToComplete _ c = getLastWord c
|
commandToComplete _ c = getLastWord c
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user