Skip to content

Some input gets forwarded to program while in normal mode #1468

@0x5c

Description

@0x5c

Contour Terminal version

Contour Terminal Emulator 0.4.3

Installer source

something else (please specify below)

Operating System

VoidLinux

Architecture

x86-64

Other Software

No response

Steps to reproduce

  1. Open program that can print inputs received (ie: micro's raw mode, could even be a program that responds to those inputs)
  2. Go in normal mode
    separate bug can be seen imemdiately: the space of [Ctrl+Shift+Space] gets forwarded immediately at the same time contour switches to normal mode, but without any modifiers
  3. Some inputs are forwarded

Expected Behavior

Nothing gets forwarded outside insert mode

Actual Behavior

Input Forwarded on modifiers
Escape no
Enter no
Tab no
Backspace no
F1~12 no
Mouse click (all 3) yes, [Shift] is intercepted by contour's UI and places the normal mode cursor.
([Ctrl] modifier is forwarded)
Scroll (all directions) yes (except [Shift])
([Ctrl] modifier is forwarded)

Additional notes

This happens seemingly regardless of the input protocol used and normal/alternate buffer; this reproduces in zsh, micro (neither modifyOtherKeys nor CSLu), and nvim (CSLu)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfrontendContour Terminal Emulator (GUI frontend)vi-modeVi/Vim movement and operation mode

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions