Skip to content

Commit

Permalink
flush after replying to DECRQM
Browse files Browse the repository at this point in the history
refs: #1950
  • Loading branch information
wez committed May 4, 2022
1 parent e078531 commit cee50ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ As features stabilize some brief notes about them will accumulate here.
* Windows: wezterm will now read the default environment variables from the `HKLM\System\CurrentControlSet\Control\Session Manager\Environment` and `HKCU\Environment` and apply those to the base environment prior to applying `set_environment_variables`. [#1848](https://github.com/wez/wezterm/issues/1848)

#### Fixed
* Flush after replying to XTGETTCAP. [#1850](https://github.com/wez/wezterm/issues/1850)
* Flush after replying to XTGETTCAP and DECRQM. [#1850](https://github.com/wez/wezterm/issues/1850) [#1950](https://github.com/wez/wezterm/issues/1950)
* macOS: CMD-. was treated as CTRL-ESC [#1867](https://github.com/wez/wezterm/issues/1867)
* macOS: CTRL-Backslash on German layouts was incorrect [#1891](https://github.com/wez/wezterm/issues/1891)
* `nf-mdi-contacts` nerdfont symbol treated as zero-width [#1864](https://github.com/wez/wezterm/issues/1864)
Expand Down
1 change: 1 addition & 0 deletions term/src/terminalstate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1321,6 +1321,7 @@ impl TerminalState {

log::trace!("{:?} -> recognized={} status={}", mode, recognized, status);
write!(self.writer, "\x1b[{}{};{}$y", prefix, number, status).ok();
self.writer.flush().ok();
}

fn perform_csi_mode(&mut self, mode: Mode) {
Expand Down

0 comments on commit cee50ff

Please sign in to comment.