mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 20:51:52 -07:00
Merge branch 'master' into bracket-prompt-resources
This commit is contained in:
@@ -39,6 +39,10 @@
|
|||||||
leave the window open and keep the keyboard grabbed. See issue
|
leave the window open and keep the keyboard grabbed. See issue
|
||||||
[#180](https://github.com/xmonad/xmonad-contrib/issues/180).
|
[#180](https://github.com/xmonad/xmonad-contrib/issues/180).
|
||||||
|
|
||||||
|
Fixes [issue #217](https://github.com/xmonad/xmonad-contrib/issues/217), where
|
||||||
|
using tab to wrap around the completion rows would fail when maxComplRows is
|
||||||
|
restricting the number of rows of output.
|
||||||
|
|
||||||
## 0.15
|
## 0.15
|
||||||
|
|
||||||
### Breaking Changes
|
### Breaking Changes
|
||||||
|
@@ -852,8 +852,8 @@ bufferOne xs x = (null xs && null x,True)
|
|||||||
nextComplIndex :: XPState -> Int -> (Int,Int)
|
nextComplIndex :: XPState -> Int -> (Int,Int)
|
||||||
nextComplIndex st nitems = case complWinDim st of
|
nextComplIndex st nitems = case complWinDim st of
|
||||||
Nothing -> (0,0) --no window dims (just destroyed or not created)
|
Nothing -> (0,0) --no window dims (just destroyed or not created)
|
||||||
Just (_,_,_,_,_,yy) -> let
|
Just (_,_,_,_,xx,yy) -> let
|
||||||
(ncols,nrows) = (nitems `div` length yy + if (nitems `mod` length yy > 0) then 1 else 0, length yy)
|
(ncols,nrows) = (length xx, length yy)
|
||||||
(currentcol,currentrow) = complIndex st
|
(currentcol,currentrow) = complIndex st
|
||||||
in if (currentcol + 1 >= ncols) then --hlight is in the last column
|
in if (currentcol + 1 >= ncols) then --hlight is in the last column
|
||||||
if (currentrow + 1 < nrows ) then --hlight is still not at the last row
|
if (currentrow + 1 < nrows ) then --hlight is still not at the last row
|
||||||
|
Reference in New Issue
Block a user