memd-cli 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.js CHANGED
@@ -241,7 +241,7 @@ function shouldUsePager(text, options) {
241
241
  function spawnPager(text, options) {
242
242
  // Respect $PAGER environment variable (like glow, bat, mdcat)
243
243
  const pagerCmd = process.env.PAGER || 'less';
244
- const pagerArgs = pagerCmd === 'less' ? ['-R', ...(options.mouse !== false ? ['--mouse'] : [])] : [];
244
+ const pagerArgs = pagerCmd === 'less' ? ['-R', ...(options.mouse !== false ? ['--mouse', '--wheel-lines=5'] : [])] : [];
245
245
 
246
246
  const pager = spawn(pagerCmd, pagerArgs, {
247
247
  stdio: ['pipe', 'inherit', 'inherit']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memd-cli",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "type": "module",
5
5
  "main": "main.js",
6
6
  "bin": {
package/test/memd.test.js CHANGED
@@ -22,7 +22,7 @@ async function run(args, { waitFor = null } = {}) {
22
22
  describe('memd CLI', () => {
23
23
  it('--version', async () => {
24
24
  const output = await run(['-v'])
25
- expect(output).toContain('1.5.0')
25
+ expect(output).toContain('1.5.1')
26
26
  })
27
27
 
28
28
  it('--help', async () => {